X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=prep.sh;h=e1164aa67bc9a5778da25eebd2bbc649e1183624;hb=refs%2Fheads%2Fmyplc-0_4-branch;hp=e6904225ad337f7cb928ff0d4d77040559b47d02;hpb=ee2fead28290709aca85d40dddb93290afc047ef;p=bootcd.git diff --git a/prep.sh b/prep.sh index e690422..e1164aa 100755 --- a/prep.sh +++ b/prep.sh @@ -8,7 +8,7 @@ # Mark Huang # Copyright (C) 2004-2006 The Trustees of Princeton University # -# $Id: prep.sh,v 1.7 2006/05/18 22:30:22 mlhuang Exp $ +# $Id: prep.sh,v 1.13 2006/08/21 20:45:23 mlhuang Exp $ # PATH=/sbin:/bin:/usr/sbin:/usr/bin @@ -32,7 +32,7 @@ basearch=i386 # Packages to install packagelist=( -dev +udev dhclient bash coreutils @@ -73,6 +73,7 @@ dosfstools dos2unix bind-utils sharutils +vconfig ) # Unnecessary junk @@ -93,6 +94,8 @@ usr/sbin/tcpslice usr/lib/perl* usr/lib/locale usr/lib/sasl* +usr/lib/gconv +usr/lib/tls ) precious=( @@ -165,6 +168,10 @@ popd # Disable all services in reference image chroot $bootcd sh -c "/sbin/chkconfig --list | awk '{ print \$1 }' | xargs -i /sbin/chkconfig {} off" +# Install ipnmac (for SuperMicro machines with IPMI) +echo "* Installing IPMI utilities" +install -D -m 755 ipnmac/ipnmac.x86 $bootcd/usr/sbin/ipnmac + # Install configuration files echo "* Installing configuration files" for file in fstab mtab modprobe.conf inittab hosts sysctl.conf ; do @@ -203,6 +210,9 @@ for kernel in $bootcd/boot/vmlinuz-* ; do fi done +# Don't need /boot anymore +rm -rf $bootcd/boot + # initramfs requires that /init be present ln -sf /sbin/init $bootcd/init