From 7c014711002146557bb773f61ecf4ad5e468be8e Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sun, 13 May 2007 17:50:46 +0000 Subject: [PATCH] 'upgpkg: update to duke release' --- etc/init | 2 +- etc/load-modules.sh | 2 +- etc/rc.shutdown | 2 +- etc/remote/rsync_xinetd | 11 ++++ etc/remote/rsyncd.conf | 16 ++++++ etc/udev.rules | 71 ++++++++++++++++-------- hooks/arch-acpi | 14 +++++ hooks/arch-encrypt | 118 ++++++++++++++++++++++++++++++---------- hooks/arch-filesystems | 2 +- hooks/arch-floppy | 2 +- hooks/arch-lvm2 | 2 +- hooks/arch-raid | 2 +- install.conf | 2 +- install/arch-acpi | 17 ++++++ install/arch-base | 6 +- install/arch-pacman | 4 +- install/arch-remote | 5 +- install/arch-rtc | 17 ++++++ install/arch-udev | 4 +- 19 files changed, 234 insertions(+), 65 deletions(-) create mode 100644 etc/remote/rsync_xinetd create mode 100644 etc/remote/rsyncd.conf create mode 100644 hooks/arch-acpi create mode 100644 install/arch-acpi create mode 100644 install/arch-rtc diff --git a/etc/init b/etc/init index 55a0c2f34..721c55dda 100755 --- a/etc/init +++ b/etc/init @@ -18,7 +18,7 @@ export CMDLINE # Used so hooks can override params to kinit export kinit_params="" export root="" -echo "/bin/modprobe" > /proc/sys/kernel/modprobe +echo "/sbin/modprobe" > /proc/sys/kernel/modprobe for cmd in $CMDLINE; do case "$cmd" in diff --git a/etc/load-modules.sh b/etc/load-modules.sh index 262946d5c..ed9d798cb 100755 --- a/etc/load-modules.sh +++ b/etc/load-modules.sh @@ -40,6 +40,6 @@ if [ "${j}" != "" ] ; then done done fi -/bin/modprobe $1 > /dev/null 2>&1 +/sbin/modprobe $1 > /dev/null 2>&1 # vim: set et ts=4: diff --git a/etc/rc.shutdown b/etc/rc.shutdown index 97eb3161b..a094ca1e2 100755 --- a/etc/rc.shutdown +++ b/etc/rc.shutdown @@ -39,7 +39,7 @@ echo "Deactivating Swap ..." /sbin/swapoff -a echo "Unmounting Filesystems ..." -/bin/umount -a +/bin/umount -a -t notmpfs,noramfs,nosysfs,noproc # Power off or reboot if [ "$RUNLEVEL" = "0" ]; then diff --git a/etc/remote/rsync_xinetd b/etc/remote/rsync_xinetd new file mode 100644 index 000000000..f5b6b1ed5 --- /dev/null +++ b/etc/remote/rsync_xinetd @@ -0,0 +1,11 @@ +service rsync +{ + socket_type = stream + wait = no + user = root + server = /usr/bin/rsync + server_args = --daemon + log_on_success += HOST DURATION + log_on_failure += HOST + disable = yes +} diff --git a/etc/remote/rsyncd.conf b/etc/remote/rsyncd.conf new file mode 100644 index 000000000..f7161f3f8 --- /dev/null +++ b/etc/remote/rsyncd.conf @@ -0,0 +1,16 @@ +uid = nobody +gid = nobody +use chroot = no +max connections = 4 +syslog facility = local5 +pid file = /var/run/rsyncd.pid + +[ftp] + path = /home/ftp + comment = ftp area + +#[cvs] +# path = /data/cvs +# comment = CVS repository (requires authentication) +# auth users = tridge, susan +# secrets file = /etc/rsyncd.secrets diff --git a/etc/udev.rules b/etc/udev.rules index c1f78a157..32781f071 100644 --- a/etc/udev.rules +++ b/etc/udev.rules @@ -199,7 +199,8 @@ KERNEL=="ram[0-9]*", NAME="rd/%n", SYMLINK+="%k" KERNEL=="fb[0-9]*", NAME="fb/%n", SYMLINK+="%k", GROUP="video" # misc -KERNEL=="rtc", NAME="misc/%k", SYMLINK+="%k", GROUP="audio", MODE="0664" +KERNEL=="rtc*", NAME="misc/%k", SYMLINK+="%k", GROUP="audio", MODE="0664" +KERNEL=="rtc0", SYMLINK+="rtc" KERNEL=="nvram", NAME="misc/%k", SYMLINK+="%k" KERNEL=="psaux", NAME="misc/%k", SYMLINK+="%k" KERNEL=="agpgart", NAME="misc/%k", SYMLINK+="%k" GROUP="video" @@ -309,18 +310,27 @@ SUBSYSTEM=="usb_device", ACTION=="add", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev # persistent storage links: /dev/{disk,tape}/{by-id,by-uuid,by-label,by-path,by-name} # scheme based on "Linux persistent device names", 2004, Hannes Reinecke -ACTION=="add|change", SUBSYSTEM=="block", GOTO="persistent_do" -GOTO="persistent_end" -LABEL="persistent_do" +# do not change that !!! +ACTION!="add|change", GOTO="persistent_storage_end" + +KERNEL=="nst[0-9]", SUBSYSTEMS=="scsi", ENV{ID_SERIAL}=="", IMPORT{program}="/lib/udev/scsi_id -g -x -s %p -d $tempnode" +KERNEL=="nst[0-9]", SUBSYSTEMS=="scsi", ENV{ID_SERIAL}=="", IMPORT{program}="/lib/udev/scsi_id -g -x -a -s %p -d $tempnode" +KERNEL=="nst[0-9]", SUBSYSTEMS=="scsi", ENV{ID_SERIAL}=="?*", SYMLINK+="tape/by-id/$env{ID_BUS}-$env{ID_SERIAL}-nst" + +# type 8 devices are "Medium Changers" +KERNEL=="sg*", SUBSYSTEMS=="scsi", ATTRS{type}=="8", ENV{ID_SERIAL}=="", IMPORT{program}="/lib/udev/scsi_id -g -x -s %p -d $tempnode" +KERNEL=="sg*", SUBSYSTEMS=="scsi", ATTRS{type}=="8", ENV{ID_SERIAL}=="", IMPORT{program}="/lib/udev/scsi_id -g -x -a -s %p -d $tempnode" +KERNEL=="sg*", SUBSYSTEMS=="scsi", ATTRS{type}=="8", ENV{ID_SERIAL}=="?*", SYMLINK+="tape/by-id/$env{ID_BUS}-$env{ID_SERIAL}" + +SUBSYSTEM!="block", GOTO="persistent_storage_end" # skip rules for inappropriate block devices -KERNEL=="ram*|loop*|fd*|nbd*|gnbd*|md*", GOTO="persistent_end" +# do not add dm-* !!! +KERNEL=="ram*|loop*|fd*|nbd*|gnbd*|md*", GOTO="persistent_storage_end" # never access non-cdrom removable ide devices, the drivers are causing event loops on open() - -KERNEL=="hd*[!0-9]", ATTRS{removable}=="1", DRIVERS=="ide-cs", GOTO="persistent_end" -KERNEL=="hd*[!0-9]", ATTRS{removable}=="1", DRIVERS=="ide-floppy", GOTO="persistent_end" -KERNEL=="hd*[0-9]", ATTRS{removable}=="1", GOTO="persistent_end" +KERNEL=="hd*[!0-9]", ATTR{removable}=="1", DRIVERS=="ide-cs|ide-floppy", GOTO="persistent_storage_end" +KERNEL=="hd*[0-9]", ATTRS{removable}=="1", GOTO="persistent_storage_end" # for partitions import parent information KERNEL=="*[0-9]", IMPORT{parent}="ID_*" @@ -334,33 +344,48 @@ KERNEL=="sd*[!0-9]|sr*|st*", ATTRS{ieee1394_id}=="?*", ENV{ID_SERIAL}="$attr{iee KERNEL=="sd*[!0-9]|sr*|st*", ENV{ID_SERIAL}=="", IMPORT{program}="/lib/udev/usb_id -x" KERNEL=="sd*[!0-9]|sr*|st*", ENV{ID_SERIAL}=="", IMPORT{program}="/lib/udev/scsi_id -g -x -s %p -d $tempnode" KERNEL=="sd*[!0-9]|sr*|st*", ENV{ID_SERIAL}=="", IMPORT{program}="/lib/udev/scsi_id -g -x -a -s %p -d $tempnode" -KERNEL=="sd*[!0-9]|sr*|dasd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_SUBSYSTEMS}-$env{ID_SERIAL}" -KERNEL=="sd*[0-9]|dasd*[0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_SUBSYSTEMS}-$env{ID_SERIAL}-part%n" -KERNEL=="st*", ENV{ID_SERIAL}=="?*", SYMLINK+="tape/by-id/$env{ID_SUBSYSTEMS}-$env{ID_SERIAL}" +KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_SUBSYSTEMS}-$env{ID_SERIAL}" +KERNEL=="sd*[0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_SUBSYSTEMS}-$env{ID_SERIAL}-part%n" + +# libata compat (links like hd*) +KERNEL=="sd*[!0-9]|sr*", ENV{ID_VENDOR}=="ATA", PROGRAM="/lib/udev/ata_id $tempnode", ENV{ID_ATA_COMPAT}="$result" +KERNEL=="sd*[!0-9]|sr*", ENV{ID_ATA_COMPAT}=="?*", SYMLINK+="disk/by-id/ata-$env{ID_ATA_COMPAT}" +KERNEL=="sd*[0-9]", ENV{ID_ATA_COMPAT}=="?*", SYMLINK+="disk/by-id/ata-$env{ID_ATA_COMPAT}-part%n" + KERNEL=="mmcblk[0-9]", ATTR{name}=="?*", ATTR{serial}=="?*", ENV{ID_NAME}="$attr{name}", ENV{ID_SERIAL}="$attr{serial}", SYMLINK+="disk/by-id/mmc-$env{ID_NAME}_$env{ID_SERIAL}" KERNEL=="mmcblk[0-9]p[0-9]", ATTR{name}=="?*", ATTR{serial}=="?*", ENV{ID_NAME}="$attr{name}", ENV{ID_SERIAL}="$attr{serial}", SYMLINK+="disk/by-id/mmc-$env{ID_NAME}_$env{ID_SERIAL}-part%n" - # by-path (shortest physical path) -### Broken at the moment -#KERNEL=="*[!0-9]|sr*|st*", ENV{ID_TYPE}=="?*", IMPORT{program}="/lib/udev/path_id %p", #SYMLINK+="disk/by-path/$env{ID_PATH}" -#KERNEL=="st*", ENV{ID_PATH}=="?*", SYMLINK+="tape/by-path/$env{ID_PATH}" -#KERNEL=="sr*|st*", GOTO="persistent_end" -#KERNEL=="*[0-9]", IMPORT{parent}=="ID_*" -#KERNEL=="*[0-9]", ENV{ID_PATH}=="?*", SYMLINK+="disk/by-path/$env{ID_PATH}-part%n" +KERNEL=="*[!0-9]|sr*", IMPORT{program}="/lib/udev/path_id %p", SYMLINK+="disk/by-path/$env{ID_PATH}" +KERNEL=="st*", IMPORT{program}="/lib/udev/path_id %p", SYMLINK+="tape/by-path/$env{ID_PATH}" +KERNEL=="sr*|st*", GOTO="persistent_storage_end" +KERNEL=="*[0-9]", ENV{ID_PATH}=="?*", SYMLINK+="disk/by-path/$env{ID_PATH}-part%n" # by-label/by-uuid (filesystem properties) -KERNEL=="*[!0-9]", ATTR{removable}=="1", GOTO="persistent_end" +KERNEL=="*[!0-9]", ATTR{removable}=="1", GOTO="persistent_storage_end" IMPORT{program}="/lib/udev/vol_id --export $tempnode" -ENV{ID_FS_UUID}=="?*", ENV{ID_FS_USAGE}=="filesystem|other|crypto", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID}" -ENV{ID_FS_LABEL_SAFE}=="?*", ENV{ID_FS_USAGE}=="filesystem|other", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_SAFE}" +ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID}" +ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_SAFE}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_SAFE}" # BIOS Enhanced Disk Device KERNEL=="*[!0-9]", IMPORT{program}="/lib/udev/edd_id --export $tempnode" KERNEL=="*[!0-9]", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}" KERNEL=="*[0-9]", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}-part%n" -LABEL="persistent_end" +LABEL="persistent_storage_end" + +# md links hook into "change" events, when the array becomes available +KERNEL!="md[0-9]*", GOTO="md_end" +ACTION!="add|change", GOTO="md_end" + +ATTR{md/array_state}=="|clear|inactive", GOTO="md_end" +IMPORT{program}="/lib/udev/vol_id --export $tempnode" +OPTIONS="link_priority=100" +ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID}" +ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_SAFE}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_SAFE}" + +LABEL="md_end" +# Persistant block device stuff - end ##################################### # Persistant block device stuff - end ##################################### diff --git a/hooks/arch-acpi b/hooks/arch-acpi new file mode 100644 index 000000000..c57e72a41 --- /dev/null +++ b/hooks/arch-acpi @@ -0,0 +1,14 @@ +run_hook () +{ + if [ -d /proc/acpi ]; then + echo "Loading standard ACPI modules" + ACPI_MODULES="ac battery button fan processor thermal" + # add disablemodules= from commandline to blacklist + k="${k} $(echo ${disablemodules} | sed 's|-|_|g' | sed 's|,| |g')" + for n in ${ACPI_MODULES}; do + if ! echo ${k} | /bin/grep "\<$n\>" 2>&1 >/dev/null; then + /sbin/modprobe $n > /dev/null 2>&1 + fi + done + fi +} diff --git a/hooks/arch-encrypt b/hooks/arch-encrypt index 70bb559c7..ea8cbc15b 100644 --- a/hooks/arch-encrypt +++ b/hooks/arch-encrypt @@ -1,24 +1,79 @@ +# vim: set ft=sh: # TODO this one needs some work to work with lots of different # encryption schemes run_hook () { - /bin/modprobe -a -q dm-crypt >/dev/null 2>&1 + /sbin/modprobe -a -q dm-crypt >/dev/null 2>&1 if [ -e "/sys/class/misc/device-mapper" ]; then - read dev_t < /sys/class/misc/device-mapper/dev - /bin/mknod "/dev/mapper/control" c $(/bin/replace "${dev_t}" ':') + if [ ! -c "/dev/mapper/control" ]; then + read dev_t < /sys/class/misc/device-mapper/dev + /bin/mknod "/dev/mapper/control" c $(/bin/replace "${dev_t}" ':') + fi + [ "${quiet}" = "y" ] && CSQUIET=">/dev/null" - if /usr/sbin/cryptsetup isLuks ${root} >/dev/null 2>&1; then - echo "" - echo "A password is required to access the root filesystem:" - - #loop until we get a real password - while ! /usr/sbin/cryptsetup luksOpen ${root} root; do - sleep 2; + # Get keyfile if specified + ckeyfile="/crypto_keyfile.bin" + if [ "x${cryptkey}" != "x" ]; then + set -- $(/bin/replace "${cryptkey}" ':'); ckdev=$1; ckarg1=$2; ckarg2=$3 + try=10 + echo "Waiting for ${ckdev} ..." + while [ ! -b ${ckdev} -a ${try} -gt 0 ]; do + sleep 1 + try=$((${try}-1)) done - if [ -e "/dev/mapper/root" ]; then - export root="/dev/mapper/root" + if [ -b ${ckdev} ]; then + case ${ckarg1} in + *[!0-9]*) + # Use a file on the device + # ckarg1 is not numeric: ckarg1=filesystem, ckarg2=path + mkdir /ckey + mount -r -t ${ckarg1} ${ckdev} /ckey + dd if=/ckey/${ckarg2} of=${ckeyfile} >/dev/null 2>&1 + umount /ckey + ;; + *) + # Read raw data from the block device + # ckarg1 is numeric: ckarg1=offset, ckarg2=length + dd if=${ckdev} of=${ckeyfile} bs=1 skip=${ckarg1} count=${ckarg2} >/dev/null 2>&1 + ;; + esac + fi + [ ! -f ${ckeyfile} ] && echo "Keyfile could not be opened. Reverting to passphrase." + fi + + if [ -n "${cryptdevice}" ]; then + set -- $(/bin/replace "${cryptdevice}" ':'); cryptdev="$1"; cryptname="$2"; + else + cryptdev="${root}" + cryptname="root" + fi + + if /usr/sbin/cryptsetup isLuks ${cryptdev} >/dev/null 2>&1; then + dopassphrase=1 + # If keyfile exists, try to use that + if [ -f ${ckeyfile} ]; then + if eval /usr/sbin/cryptsetup --key-file ${ckeyfile} luksOpen ${cryptdev} ${cryptname} ${CSQUIET}; then + dopassphrase=0 + else + echo "Invalid keyfile. Reverting to passphrase." + fi + fi + # Ask for a passphrase + if [ ${dopassphrase} -gt 0 ]; then + echo "" + echo "A password is required to access the ${cryptname} volume:" + + #loop until we get a real password + while ! eval /usr/sbin/cryptsetup luksOpen ${cryptdev} ${cryptname} ${CSQUIET}; do + sleep 2; + done + fi + if [ -e "/dev/mapper/${cryptname}" ]; then + if [ "${cryptname}" = "root" ]; then + export root="/dev/mapper/root" + fi else - err "Password succeeded, but root creation failed, aborting..." + err "Password succeeded, but ${cryptname} creation failed, aborting..." exit 1 fi elif [ "x${crypto}" != "x" ]; then @@ -27,17 +82,22 @@ run_hook () if [ $# -ne 5 ]; then err "Verify parameter format: crypto=hash:cipher:keysize:offset:skip" err "Non-LUKS decryption not attempted..." - else - exe="/usr/sbin/cryptsetup create root ${root}" - [ "x$(eval echo ${1})" != "x" ] && exe="$exe --hash \"$(eval echo ${1})\"" - [ "x$(eval echo ${2})" != "x" ] && exe="$exe --cipher \"$(eval echo ${2})\"" - [ "x$(eval echo ${3})" != "x" ] && exe="$exe --key-size \"$(eval echo ${3})\"" - [ "x$(eval echo ${4})" != "x" ] && exe="$exe --offset \"$(eval echo ${4})\"" - [ "x$(eval echo ${5})" != "x" ] && exe="$exe --skip \"$(eval echo ${5})\"" - echo "" - echo "A password is required to access the root filesystem:" - eval "${exe}" + return 1 fi + exe="/usr/sbin/cryptsetup create ${cryptname} ${cryptdev}" + [ "x$(eval echo ${1})" != "x" ] && exe="${exe} --hash \"$(eval echo ${1})\"" + [ "x$(eval echo ${2})" != "x" ] && exe="${exe} --cipher \"$(eval echo ${2})\"" + [ "x$(eval echo ${3})" != "x" ] && exe="${exe} --key-size \"$(eval echo ${3})\"" + [ "x$(eval echo ${4})" != "x" ] && exe="${exe} --offset \"$(eval echo ${4})\"" + [ "x$(eval echo ${5})" != "x" ] && exe="${exe} --skip \"$(eval echo ${5})\"" + if [ -f ${ckeyfile} ]; then + exe="${exe} --key-file ${ckeyfile}" + else + exe="${exe} --verify-passphrase" + echo "" + echo "A password is required to access the ${cryptname} volume:" + fi + eval "${exe} ${CSQUIET}" } msg "Non-LUKS encrypted device found..." @@ -47,14 +107,16 @@ run_hook () err "Non-LUKS device decryption failed. verify format: " err " crypto=hash:cipher:keysize:offset:skip" exit 1 - else - if [ -e "/dev/mapper/root" ]; then + fi + if [ -e "/dev/mapper/${cryptname}" ]; then + if [ "${cryptname}" = "root" ]; then export root="/dev/mapper/root" - else - err "Password succeeded, but root creation failed, aborting..." - exit 1 fi + else + err "Password succeeded, but ${cryptname} creation failed, aborting..." + exit 1 fi fi + nuke ${ckeyfile} fi } diff --git a/hooks/arch-filesystems b/hooks/arch-filesystems index e829fc08b..277ca10e3 100644 --- a/hooks/arch-filesystems +++ b/hooks/arch-filesystems @@ -52,7 +52,7 @@ run_hook () echo "ERROR: root fs cannot be detected. Try using the rootfstype= kernel parameter." else kinit_params="${kinit_params} rootfstype=${FSTYPE}" - /bin/modprobe -q "${FSTYPE}" >/dev/null 2>&1 + /sbin/modprobe -q "${FSTYPE}" >/dev/null 2>&1 fi fi } diff --git a/hooks/arch-floppy b/hooks/arch-floppy index d0f39b252..aab4d9a95 100644 --- a/hooks/arch-floppy +++ b/hooks/arch-floppy @@ -1,4 +1,4 @@ run_hook () { - /bin/modprobe -aq floppy>/dev/null 2>&1 + /sbin/modprobe -aq floppy>/dev/null 2>&1 } diff --git a/hooks/arch-lvm2 b/hooks/arch-lvm2 index 9fe9254a1..cecb8988c 100644 --- a/hooks/arch-lvm2 +++ b/hooks/arch-lvm2 @@ -1,6 +1,6 @@ run_hook () { - /bin/modprobe -q dm-mod >/dev/null 2>&1 + /sbin/modprobe -q dm-mod >/dev/null 2>&1 if [ -e "/sys/class/misc/device-mapper" ]; then read dev_t < /sys/class/misc/device-mapper/dev /bin/mknod "/dev/mapper/control" c $(/bin/replace "${dev_t}" ':') diff --git a/hooks/arch-raid b/hooks/arch-raid index 29fe8de11..198e78b76 100644 --- a/hooks/arch-raid +++ b/hooks/arch-raid @@ -1,7 +1,7 @@ run_hook () { #TODO scan for these somehow... - /bin/modprobe -aq linear multipath raid0 raid1 raid456 raid10>/dev/null 2>&1 + /sbin/modprobe -aq linear multipath raid0 raid1 raid456 raid10>/dev/null 2>&1 # md= can be specified multiple times. The simplistic commandline # parsing does not handle this, so we will let mdassemble parse it # create md devices for installation diff --git a/install.conf b/install.conf index 9846d8864..b096aaacc 100644 --- a/install.conf +++ b/install.conf @@ -14,7 +14,7 @@ FILES="" # default is set to ftp install media # # Please change the other hooks only if you know what you are doing. -HOOKS="arch-ftp-install arch-bootmessage arch-motd arch-memtest arch-pam arch-shadow arch-base arch-hwdetect arch-udev ide pata scsi sata arch-net arch-isdn arch-pcmcia usb usbinput fw arch-floppy arch-raid arch-lvm2 arch-encrypt arch-filesystems arch-keymap arch-remote arch-cpufreq arch-fb arch-links arch-naim arch-pacman arch-addons arch-kexec arch-ppp arch-pppoe arch-lilo arch-grub arch-iptables arch-capi4k arch-pciutils arch-usbutils arch-openvpn arch-vpnc" +HOOKS="arch-ftp-install arch-acpi arch-bootmessage arch-motd arch-memtest arch-pam arch-shadow arch-base arch-hwdetect arch-udev ide pata scsi sata arch-net arch-isdn arch-pcmcia arch-rtc arch-sound usb usbinput fw arch-floppy arch-raid arch-lvm2 arch-encrypt arch-filesystems arch-keymap arch-remote arch-cpufreq arch-fb arch-links arch-naim arch-pacman arch-addons arch-kexec arch-ppp arch-pppoe arch-lilo arch-grub arch-iptables arch-capi4k arch-pciutils arch-usbutils arch-openvpn arch-vpnc" # # adding pxelinux hook if mkpxelinux is used. if [ "${RUNPROGRAM}" = "mkpxelinux" ]; then diff --git a/install/arch-acpi b/install/arch-acpi new file mode 100644 index 000000000..a43a8d3c2 --- /dev/null +++ b/install/arch-acpi @@ -0,0 +1,17 @@ +# Created by Tobias Powalowski + +install () +{ + MODULES=" $(checked_modules "/acpi/")" + + BINARIES="" + FILES="" + SCRIPT="arch-acpi" +} + +help () +{ +cat< + +install () +{ + MODULES=" $(checked_modules "drivers/rtc/")" + + BINARIES="" + FILES="" + SCRIPT="" +} + +help () +{ +cat<