Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/syslinux-iso/Makefile
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-07-21 23:54:05 +0200
committerThomas Bächler <thomas@archlinux.org>2010-07-21 23:54:05 +0200
commit3c7340c6aa30737fe04c9ea1ec8a5ea0a4f2e2a9 (patch)
tree67c21810a359dddf713fe998d54af6eb1a6f9d0f /configs/syslinux-iso/Makefile
parent7725dba216a8152ab77a1f16a68e1965875b6a72 (diff)
Add HDT to the boot menu
HDT is a hardware detection/info tool. It will show information about your hardware, including PCI devices. It will also show the names of the kernel modules that will support your devices.
Diffstat (limited to 'configs/syslinux-iso/Makefile')
-rw-r--r--configs/syslinux-iso/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/configs/syslinux-iso/Makefile b/configs/syslinux-iso/Makefile
index 8990f0f..5f0383f 100644
--- a/configs/syslinux-iso/Makefile
+++ b/configs/syslinux-iso/Makefile
@@ -46,7 +46,10 @@ bootfiles: root-image
cp $(WORKDIR)/root-image/usr/lib/syslinux/memdisk $(WORKDIR)/iso/boot/isolinux/
cp $(WORKDIR)/root-image/usr/lib/syslinux/pxelinux.0 $(WORKDIR)/iso/boot/isolinux/
cp $(WORKDIR)/root-image/usr/lib/syslinux/gpxelinux.0 $(WORKDIR)/iso/boot/isolinux/
-
+ # Add pci.ids and modules.alias for hdt
+ mkdir -p $(WORKDIR)/iso/boot/isolinux/hdt/
+ wget -O - http://pciids.sourceforge.net/v2.2/pci.ids | gzip -9 > $(WORKDIR)/iso/boot/isolinux/hdt/pciids.gz
+ cat $(WORKDIR)/root-image/lib/modules/$(shell grep ^ALL_kver $(kver_FILE) | cut -d= -f2)/modules.alias | gzip -9 > $(WORKDIR)/iso/boot/isolinux/hdt/modalias.gz
# Rules for initcpio images
initcpio: $(WORKDIR)/iso/boot/archiso.img