From 456225eba0bb03483b22a409e14444dc61c616af Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 27 Feb 2007 21:21:22 +0000 Subject: [PATCH] 'upgpkg: added arch-pciutils hook' --- install.conf | 2 +- install/arch-base | 2 +- install/arch-pciutils | 17 +++++++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 install/arch-pciutils diff --git a/install.conf b/install.conf index e1f90b0b7..ab8d4ddc3 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-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. if [ "${RUNPROGRAM}" = "mkpxelinux" ]; then diff --git a/install/arch-base b/install/arch-base index 568682668..dfc3d8bb9 100644 --- a/install/arch-base +++ b/install/arch-base @@ -29,7 +29,7 @@ install () ### adding needed programs from running system add_file "${CONFIG}" "/config" 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 "/sbin/swapoff" add_file "/sbin/halt" diff --git a/install/arch-pciutils b/install/arch-pciutils new file mode 100644 index 000000000..9830fa630 --- /dev/null +++ b/install/arch-pciutils @@ -0,0 +1,17 @@ +# Created by Tobias Powalowski + +install () +{ + MODULES="" + BINARIES="lspci setpci update-pciids" + FILES="" + SCRIPT="" + add_file "/usr/share/pci.ids" +} + +help () +{ +cat<