'upgpkg: added arch-pciutils hook'

This commit is contained in:
Tobias Powalowski 2007-02-27 21:21:22 +00:00
parent 211f514e5e
commit 456225eba0
3 changed files with 19 additions and 2 deletions

View file

@ -14,7 +14,7 @@ FILES=""
# default is set to ftp install media # default is set to ftp install media
# #
# Please change the other hooks only if you know what you are doing. # 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-links arch-naim arch-pacman arch-addons arch-kexec arch-ppp arch-pppoe arch-lilo arch-grub arch-iptables arch-capi4k" 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-links arch-naim arch-pacman arch-addons arch-kexec arch-ppp arch-pppoe arch-lilo arch-grub arch-iptables arch-capi4k arch-pciutils"
# #
# adding pxelinux hook if mkpxelinux is used. # adding pxelinux hook if mkpxelinux is used.
if [ "${RUNPROGRAM}" = "mkpxelinux" ]; then if [ "${RUNPROGRAM}" = "mkpxelinux" ]; then

View file

@ -29,7 +29,7 @@ install ()
### adding needed programs from running system ### adding needed programs from running system
add_file "${CONFIG}" "/config" add_file "${CONFIG}" "/config"
SCRIPT="arch-base" SCRIPT="arch-base"
BINARIES="init agetty mount modprobe modinfo umount basename du clear env head id md5sum nano nc printf tail tee test tr tty uptime wc which whoami xargs yes syslog-ng bash swapon uniq cut seq snarf find sort fdisk sfdisk cfdisk gawk cp mv shutdown free ls rm sed test less chgrp chmod chown date df dialog dmesg egrep fgrep grep hostname kill killall killall5 more ps pwd rmdir stty sync tar touch uname vim lsmod modinfo rmmod hdparm true mktemp chroot dirname expr bzip2 hwclock depmod su lspci" BINARIES="init agetty mount modprobe modinfo umount basename du clear env head id md5sum nano nc printf tail tee test tr tty uptime wc which whoami xargs yes syslog-ng bash swapon uniq cut seq snarf find sort fdisk sfdisk cfdisk gawk cp mv shutdown free ls rm sed test less chgrp chmod chown date df dialog dmesg egrep fgrep grep hostname kill killall killall5 more ps pwd rmdir stty sync tar touch uname vim lsmod modinfo rmmod hdparm true mktemp chroot dirname expr bzip2 hwclock depmod su"
add_file "/usr/bin/reset" add_file "/usr/bin/reset"
add_file "/sbin/swapoff" add_file "/sbin/swapoff"
add_file "/sbin/halt" add_file "/sbin/halt"

17
install/arch-pciutils Normal file
View file

@ -0,0 +1,17 @@
# Created by Tobias Powalowski <tpowa@archlinux.org>
install ()
{
MODULES=""
BINARIES="lspci setpci update-pciids"
FILES=""
SCRIPT=""
add_file "/usr/share/pci.ids"
}
help ()
{
cat<<HELPEOF
This hook includes pciutils on an arch boot image.
HELPEOF
}