# # Object: defined list of binary/tools you want on your diskless version # Author: Fulup Ar Foll # ------------------------------------------------------------- # Note: this config has been tested on Ubuntu it may # requirer adjustment to fit other distributions # Warning: ubuntu default busybox does not include "init" # and ubuntu's init does not handle /etc/inittab # either recompile busybox with "init" or make # distrib init to find startup script at /etc/evend.d/rcS # see hack in Template/standard/etc/init.d/S99done # ------------------------------------------------------------- # Config file to customize template (source -> destination) CONFIG=" config/network config/ubuntu " # Files should be searchable from $PATH BINLIST=" init runlevel ssh scp loadkeys strace tcpdump vi sshd /lib/security/pam_unix.so " # kernel module you want in initrd (don't forget to check dependancies) MODLIST=" e100.ko pcnet32.ko af_packet.ko " # Depending on final target we may need some extra binaries EXTRA_OPENVZ="bash chpasswd ifup" EXTRA_ISO="modprobe lsmod insmod rmmod depmod dhclient" EXTRA_XEN=$EXTRA_ISO # before removing those command you should think about it BASIC_CMD=" /lib/ld-linux.so.2 ldd halt shutdown ifconfig " # Ubuntu French MAP (must be before SHARELIST) FRENCHMAP=" /usr/share/kbd/keymaps/i386/azerty/fr-pc.map.gz /usr/share/kbd/keymaps/i386/include/azerty-layout.inc /usr/share/kbd/keymaps/i386/include/linux-with-alt-and-altgr.inc /usr/share/kbd/keymaps/i386/include/linux-keys-bare.inc " # Files must be an obsolute path # Note: libnss_files.so.2 is used by pam but not visible by ldd SHARELIST=" $FRENCHMAP /lib/libnss_files.so.2 /etc/networks /var/run/sshd /etc/event.d/rcS "