mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 11:30:37 +02:00
'upgpkg: added arch-pciutils hook'
This commit is contained in:
parent
211f514e5e
commit
456225eba0
3 changed files with 19 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
17
install/arch-pciutils
Normal file
17
install/arch-pciutils
Normal 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
|
||||
}
|
Loading…
Reference in a new issue