Compare commits

..

3 Commits
v2.00 ... v2.01

Author SHA1 Message Date
71e9d7be5d adding some backup packages, disabling untested distros 2015-07-24 04:50:51 -04:00
b36ef29900 some minor modifications.. 2015-07-23 03:49:14 -04:00
f4c8f45ee3 oops. forgot the noconfirm for haveged. 2015-07-22 22:21:57 -04:00
18 changed files with 39 additions and 21 deletions

View File

@@ -12,14 +12,19 @@ asciidoc
atop
autopsy
autossh
backuppc
#bacula ## TODO: grab all the bacula packages in here
beep
bin86
bind-tools
binutils
bluez-utils
bonnie++
boxbackup-client
boxbackup-server
bozocrack-git
bridge-utils
burp-backup-git
btrfs-progs
cabextract
cdrtools
@@ -30,6 +35,7 @@ chntpw
cifs-utils
ckermit
clamav
clonezilla
cmospwd
colordiff
cowpatty
@@ -39,6 +45,7 @@ cpupower
crackpkcs12
#cryptcat
cryptsetup
csync2
customizepkg-scripting
dar
dcfldd
@@ -156,6 +163,7 @@ megaraid-cli
memtester
mfoc
minicom
mondo
mtd-utils
mtr
mtree
@@ -177,6 +185,7 @@ nmon
ntfs-3g
ntfsfixboot
nwipe
obnam
open-iscsi
openipmi
ophcrack
@@ -184,6 +193,8 @@ os-prober
p7zip
pack
par2cmdline
partclone
partclone-utils
parted
partimage
pax-utils
@@ -207,7 +218,7 @@ procps-ng
progsreiserfs
psmisc
pwgen
pxz
pixz
pyrit-svn
python2-gnuplot
python2-pyx
@@ -241,7 +252,7 @@ smartmontools
smbclient
s-nail
socat
#star
#star ## do people even USE tape packups anymore?
strace
stress
sucrack
@@ -263,6 +274,7 @@ tor
udftools
#udpcast
unace
unison
unrar
unshield
unzip
@@ -295,6 +307,7 @@ xfsprogs
xmlto
xorg
xorg-drivers
xorg-xinit
zerofree
zip
zsh

View File

@@ -31,8 +31,8 @@ function so_check_me_out {
break 2
fi
done
set -e
fi
set -e
# Sanity is important.
if [[ -z "${HOST_DIST}" ]];
@@ -64,8 +64,10 @@ function so_check_me_out {
echo "Please ensure you are connected to the Internet/have repositories configured correctly."
exit 1
fi
set -e
fi
set +e
while read pkgname;
do
eval "${PKG_CHK}" >> "${LOGFILE}.${FUNCNAME}" 2>&1
@@ -83,8 +85,8 @@ function so_check_me_out {
fi
fi
done < ${PKGLIST}
set -e
rm -f "${LOCKFILE}"
}

View File

@@ -359,7 +359,7 @@ EOF
echo "Done."
rm -f ${LOCKFILE}
#rm -f ${LOCKFILE}
echo "Chroot setup complete."

View File

@@ -10,7 +10,7 @@ function distro_specific_tweaks {
# For some reason, I can't get "yes y | " to parse correctly with eval. And Arch isn't smart enough
# to figure out that if I enable the multilib repos, *I want multilib gcc*. Fuck it. We'll just remove it first.
pacman -S --needed haveged >> "${LOGFILE}.${FUNCNAME}" 2>&1
pacman -S --needed --noconfirm haveged >> "${LOGFILE}.${FUNCNAME}" 2>&1
haveged
set +e

View File

@@ -10,7 +10,7 @@ function distro_specific_tweaks {
# For some reason, I can't get "yes y | " to parse correctly with eval. And Arch isn't smart enough
# to figure out that if I enable the multilib repos, *I want multilib gcc*. Fuck it. We'll just remove it first.
pacman -S --needed haveged >> "${LOGFILE}.${FUNCNAME}" 2>&1
pacman -S --needed --noconfirm haveged >> "${LOGFILE}.${FUNCNAME}" 2>&1
haveged
set +e

View File

@@ -1,5 +1,6 @@
binutils
curl
dosfstools
findutils
gcc-libs-multilib
gcc-multilib

View File

@@ -1,5 +1,6 @@
NAME='CentOS'
SUPPORTED='yes'
# Currently fails on installing software *inside* the chroot. Will troubleshoot and restore when figured out.
SUPPORTED='untested'
CHECK_METHOD='egrep "^CentOS" /etc/redhat-release'
PKG_MGR='yum -y install ${pkgname}'
PRE_RUN='none'
@@ -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."

View File

@@ -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'

View File

@@ -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'

View File

@@ -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'

View File

@@ -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'

View File

@@ -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'
@@ -10,7 +10,7 @@ function distro_specific_tweaks {
# For some reason, I can't get "yes y | " to parse correctly with eval. And Arch isn't smart enough
# to figure out that if I enable the multilib repos, *I want multilib gcc*. Fuck it. We'll just remove it first.
pacman -S --needed haveged >> "${LOGFILE}.${FUNCNAME}" 2>&1
pacman -S --needed --noconfirm haveged >> "${LOGFILE}.${FUNCNAME}" 2>&1
haveged
set +e

View File

@@ -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'

View File

@@ -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'

View File

@@ -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}'

View File

@@ -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'

View File

@@ -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'

View File

@@ -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}'