adding baseline pkgs

This commit is contained in:
brent s. 2015-07-16 12:48:35 -04:00
parent 6c4634a11d
commit eca04c2140
6 changed files with 77 additions and 40 deletions

View File

@ -7,8 +7,6 @@ afflib
aircrack-ng aircrack-ng
apr apr
apr-util apr-util
arch-install-scripts
archiso
arj arj
asciidoc asciidoc
atop atop
@ -23,7 +21,6 @@ bonnie++
bozocrack-git bozocrack-git
bridge-utils bridge-utils
btrfs-progs btrfs-progs
bzip2
cabextract cabextract
cdrtools cdrtools
cdw cdw
@ -35,13 +32,11 @@ ckermit
clamav clamav
cmospwd cmospwd
colordiff colordiff
coreutils
cowpatty cowpatty
cpio cpio
cpuburn cpuburn
cpupower cpupower
crackpkcs12 crackpkcs12
cronie
#cryptcat #cryptcat
cryptsetup cryptsetup
customizepkg-scripting customizepkg-scripting
@ -52,9 +47,6 @@ dd_rescue
dd_rhelp dd_rhelp
debianutils debianutils
debootstrap debootstrap
dhclient
dhcp
dhcpcd
dialog dialog
diffutils diffutils
djohn djohn
@ -63,7 +55,6 @@ dnssec-anchors
dnstracer dnstracer
#dnsutils #replaced by bind-tools, https://www.archlinux.org/packages/extra/x86_64/bind-tools/ #dnsutils #replaced by bind-tools, https://www.archlinux.org/packages/extra/x86_64/bind-tools/
dos2unix dos2unix
dosfstools
dropbear dropbear
dstat dstat
dump dump
@ -73,8 +64,6 @@ dvd+rw-tools
e2fsprogs e2fsprogs
ecryptfs-utils ecryptfs-utils
ed ed
efibootmgr
efivar
elfutils elfutils
#elilo-efi #elilo-efi
elinks elinks
@ -110,7 +99,6 @@ gpm
gptfdisk gptfdisk
gst-libav gst-libav
gst-plugins-ugly gst-plugins-ugly
gummiboot
hashcat hashcat
hddtemp hddtemp
hdparm hdparm
@ -132,10 +120,8 @@ iozone
ipcalc ipcalc
iperf iperf
iperf3 iperf3
iproute2
ipsec-tools ipsec-tools
iptraf-ng iptraf-ng
iputils
irssi irssi
iso-codes iso-codes
isomaster isomaster
@ -145,10 +131,8 @@ jfsutils
john john
keyutils keyutils
kismet-allplugins kismet-allplugins
libisoburn
lftp lftp
links links
localepurge
#logkeys #logkeys
logkeys-keymaps logkeys-keymaps
lm_sensors lm_sensors
@ -159,10 +143,7 @@ lsof
lsscsi lsscsi
lxde lxde
lynx lynx
lz4
#lzip #lzip
lzo
lzop
macchanger macchanger
magicrescue magicrescue
mbr mbr
@ -175,10 +156,7 @@ megaraid-cli
memtester memtester
mfoc mfoc
minicom minicom
mkinitcpio-nfs-utils
ms-sys
mtd-utils mtd-utils
mtools
mtr mtr
mtree mtree
#mtx #mtx
@ -189,11 +167,8 @@ ncftp
ncompress ncompress
ncrack ncrack
net-snmp net-snmp
net-tools
netctl
netselect netselect
nettle nettle
networkmanager
networkmanager-pptp networkmanager-pptp
nginx-devel nginx-devel
ngrep ngrep
@ -204,8 +179,6 @@ ntfsfixboot
nwipe nwipe
open-iscsi open-iscsi
openipmi openipmi
openssh
openvpn
ophcrack ophcrack
os-prober os-prober
p7zip p7zip
@ -233,7 +206,6 @@ procinfo-ng
procps-ng procps-ng
progsreiserfs progsreiserfs
psmisc psmisc
pv
pwgen pwgen
pxz pxz
pyrit-svn pyrit-svn
@ -251,7 +223,6 @@ rpcbind
rpmextract rpmextract
rp-pppoe rp-pppoe
rsnapshot rsnapshot
rsync
rygel rygel
safecopy safecopy
samba samba
@ -261,27 +232,20 @@ scrounge-ntfs
scrub scrub
scsiadd scsiadd
sdparm sdparm
sed
setserial setserial
sg3_utils sg3_utils
sharutils sharutils
shorewall
sipcalc sipcalc
sipcrack sipcrack
smartmontools smartmontools
smbclient smbclient
s-nail s-nail
socat socat
squashfs3-tools
squashfs-tools
#star #star
strace strace
stress stress
sucrack sucrack
sudo
symlinks symlinks
sysfsutils
syslinux
sysstat sysstat
tcpdump tcpdump
tcpslice tcpslice
@ -292,7 +256,6 @@ thin-provisioning-tools
thttpd thttpd
tmon tmon
tmux tmux
traceroute
tre tre
truecrack-svn truecrack-svn
truecrypt truecrypt

View File

@ -212,10 +212,42 @@ EOF
sed -i -e "/^[[:space:]]*#*MAKEFLAGS=.*$/aMAKEFLAGS=\"-j${CPUCNT}\"" ${CHROOTDIR32}/etc/makepkg.conf sed -i -e "/^[[:space:]]*#*MAKEFLAGS=.*$/aMAKEFLAGS=\"-j${CPUCNT}\"" ${CHROOTDIR32}/etc/makepkg.conf
fi fi
# Baseline packages
echo "Installing baseline packages..."
PKGLIST=$(sed -e '/^[[:space:]]*#/d ; /^[[:space:]]*$/d' ${BASEDIR}/lib/prereqs/iso.pkgs.lst | tr '\n' ' ')
for i in ${CHROOTDIR32} ${CHROOTDIR64};
do
set +e
for x in $(find ${i}/etc/ -type f -iname "*.pacorig");do mv -f ${x} ${x%%.pacorig} ; done
set -e
${CHROOTCMD} ${i}/ bash -c "yes '' | apacman --noconfirm --noedit --skipinteg -S --needed ${PKGLIST}" >> "${LOGFILE}.${FUNCNAME}" 2>&1
set +e
for x in $(find ${i}/etc/ -type f -iname "*.pacorig");do mv -f ${x} ${x%%.pacorig} ; done
set -e
done
# 32-bit
PKGLIST=$(sed -e '/^[[:space:]]*#/d ; /^[[:space:]]*$/d' ${BASEDIR}/lib/prereqs/iso.pkgs.lst.32 | tr '\n' ' ')
if [ -n "${PKGLIST}" ];
then
${CHROOTCMD} ${CHROOTDIR32}/ /usr/bin/bash -c "apacman --noconfirm --noedit --skipinteg -S --needed ${PKGLIST}" >> "${LOGFILE}.${FUNCNAME}" 2>&1
fi
set +e
for x in $(find ${CHROOTDIR32}/etc/ -type f -iname "*.pacorig");do mv -f ${x} ${x%.pacorig} ; done
set -e
# 64-bit
PKGLIST=$(sed -e '/^[[:space:]]*#/d ; /^[[:space:]]*$/d' ${BASEDIR}/lib/prereqs/iso.pkgs.lst.64 | tr '\n' ' ')
if [ -n "${PKGLIST}" ];
then
${CHROOTCMD} ${CHROOTDIR64}/ /usr/bin/bash -c "apacman --noconfirm --noedit --skipinteg -S --needed ${PKGLIST}" >> "${LOGFILE}.${FUNCNAME}" 2>&1
fi
set +e
for x in $(find ${CHROOTDIR64}/etc/ -type f -iname "*.pacorig");do mv -f ${x} ${x%.pacorig} ; done
set -e

# preprocessing # preprocessing
sed -i -e '/base-devel/d ; /multilib-devel/d' ${BASEDIR}/extra/packages.* sed -i -e '/base-devel/d ; /multilib-devel/d' ${BASEDIR}/extra/packages.*
# both # both
echo "Installing common packages..." echo "Installing extra common packages..."
PKGLIST=$(sed -e '/^[[:space:]]*#/d ; /^[[:space:]]*$/d' ${BASEDIR}/extra/packages.both | tr '\n' ' ') PKGLIST=$(sed -e '/^[[:space:]]*#/d ; /^[[:space:]]*$/d' ${BASEDIR}/extra/packages.both | tr '\n' ' ')
for i in ${CHROOTDIR32} ${CHROOTDIR64}; for i in ${CHROOTDIR32} ${CHROOTDIR64};
do do
@ -278,7 +310,7 @@ EOF
done done
# 32-bit # 32-bit
echo "Installing packages for 32-bit..." echo "Installing extra packages for 32-bit..."
PKGLIST=$(sed -e '/^[[:space:]]*#/d ; /^[[:space:]]*$/d' ${BASEDIR}/extra/packages.32 | tr '\n' ' ') PKGLIST=$(sed -e '/^[[:space:]]*#/d ; /^[[:space:]]*$/d' ${BASEDIR}/extra/packages.32 | tr '\n' ' ')
if [ -n "${PKGLIST}" ]; if [ -n "${PKGLIST}" ];
then then
@ -290,7 +322,7 @@ EOF
echo "Done." echo "Done."
# 64-bit # 64-bit
echo "Installing packages for 64-bit..." echo "Installing estra packages for 64-bit..."
PKGLIST=$(sed -e '/^[[:space:]]*#/d ; /^[[:space:]]*$/d' ${BASEDIR}/extra/packages.64 | tr '\n' ' ') PKGLIST=$(sed -e '/^[[:space:]]*#/d ; /^[[:space:]]*$/d' ${BASEDIR}/extra/packages.64 | tr '\n' ' ')
if [ -n "${PKGLIST}" ]; if [ -n "${PKGLIST}" ];
then then

View File

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

View File

@ -1 +1,40 @@
arch-install-scripts
archiso
bzip2
coreutils
cronie
dhclient
dhcp
dhcpcd
dosfstools
efibootmgr
efivar
ethtool
file
findutils
gummiboot
iproute2
iputils
libisoburn
localepurge
lz4
lzo
lzop
mkinitcpio-nfs-utils
ms-sys
mtools
net-tools
netctl
networkmanager
openssh
openvpn
pv
rsync
sed
shorewall
squashfs3-tools
squashfs-tools
sudo
sysfsutils
syslinux syslinux
traceroute

View File

@ -0,0 +1 @@
# This can be used for 32-bit only packages

View File

@ -0,0 +1 @@
# This can be used for 64-bit only packages