Merge branch 'master' of square-r00t.net:bdisk
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
NAME='CentOS'
|
||||
# Currently fails on installing software *inside* the chroot. Will troubleshoot and restore when figured out.
|
||||
SUPPORTED='yes'
|
||||
CHECK_METHOD='egrep "^CentOS" /etc/redhat-release'
|
||||
PKG_MGR='yum -y install ${pkgname}'
|
||||
@@ -9,6 +10,7 @@ URL='http://centos.org/'
|
||||
function distro_specific_tweaks {
|
||||
# NOTE: we handle installing of squashfs-tools (maybe) and xorriso in centos_is_stupid function.
|
||||
# because they *suck*. Seriously. I need to install tk just to install xorriso. I mean, what?
|
||||
# You need EPEL enabled, by the way.
|
||||
|
||||
echo "No tweaks found."
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
NAME='Debian'
|
||||
SUPPORTED='yes'
|
||||
SUPPORTED='untested'
|
||||
CHECK_METHOD='egrep "^NAME=\"Debian\ GNU/Linux\"$" /etc/os-release'
|
||||
PKG_MGR='apt-get -y install ${pkgname}'
|
||||
PRE_RUN='apt-get update'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
NAME='Fedora'
|
||||
SUPPORTED='yes'
|
||||
SUPPORTED='untested'
|
||||
CHECK_METHOD='egrep '^Fedora' /etc/redhat-release'
|
||||
PKG_MGR='dnf -y install ${pkgname}'
|
||||
PRE_RUN='none'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
NAME='Gentoo'
|
||||
SUPPORTED='yes'
|
||||
SUPPORTED='untested'
|
||||
CHECK_METHOD='egrep "^Gentoo\ Base\ System" /etc/gentoo-release'
|
||||
PKG_MGR='emerge -q1Dn ${pkgname}'
|
||||
PRE_RUN='emerge -q --sync'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
NAME='Mageia'
|
||||
SUPPORTED='yes'
|
||||
SUPPORTED='untested'
|
||||
CHECK_METHOD='egrep "^Mageia\ release\ " /etc/mageia-release'
|
||||
PKG_MGR='urpmi --force --auto ${pkgname}'
|
||||
PRE_RUN='urpmi.update -a'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
NAME='Manjaro'
|
||||
SUPPORTED='yes'
|
||||
SUPPORTED='untested'
|
||||
CHECK_METHOD='egrep "^NAME=\"Manjaro Linux\"$" /etc/os-release'
|
||||
PKG_MGR='pacman -S --needed --noconfirm ${pkgname}'
|
||||
PRE_RUN='pacman -Syyyu'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
NAME='Mint'
|
||||
SUPPORTED='yes'
|
||||
SUPPORTED='untested'
|
||||
CHECK_METHOD='egrep "^DESCRIPTION=\"Linux\ Mint\"" /etc/linuxmint/info'
|
||||
PKG_MGR='apt-get -y install ${pkgname}'
|
||||
PRE_RUN='apt-get -y update'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
NAME=RHEL
|
||||
SUPPORTED=yes
|
||||
NAME='RHEL'
|
||||
SUPPORTED='untested'
|
||||
# Red Hat Enterprise Linux Server release 6.5 (Santiago)
|
||||
CHECK_METHOD='egrep "^Red\ Hat\ Enterprise\ Linux" /etc/redhat-release'
|
||||
PKG_MGR='yum -y install'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
NAME='SUSE'
|
||||
SUPPORTED='yes'
|
||||
SUPPORTED='untested'
|
||||
# Both SLED and SLES. We can probably safely combine them.
|
||||
CHECK_METHOD='egrep "^NAME=\"SLE(D|S)\"$" /etc/os-release'
|
||||
PKG_MGR='zypper install --no-confirm -l ${pkgname}'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
NAME='Ubuntu'
|
||||
SUPPORTED='yes'
|
||||
SUPPORTED='untested'
|
||||
CHECK_METHOD='egrep "^DISTRIB_ID=Ubuntu$" /etc/lsb-release'
|
||||
PKG_MGR='apt-get -y install ${pkgname}'
|
||||
PRE_RUN='apt-get -y update'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
NAME='elementaryOS'
|
||||
SUPPORTED='yes'
|
||||
SUPPORTED='untested'
|
||||
CHECK_METHOD='egrep "^DISTRIB_ID=\"elementary OS\"$" /etc/lsb-release'
|
||||
PKG_MGR='apt-get -y install ${pkgname}'
|
||||
PRE_RUN='apt-get -y update'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
NAME='openSUSE'
|
||||
SUPPORTED='yes'
|
||||
SUPPORTED='untested'
|
||||
# Default doesn't have the quotes around the value, but I have a feeling that's a bug that will get "fixed" soon.
|
||||
CHECK_METHOD='egrep "^NAME=\"?openSUSE\"?$" /etc/os-release'
|
||||
PKG_MGR='zypper install --no-confirm -l ${pkgname}'
|
||||
|
||||
Reference in New Issue
Block a user