summaryrefslogtreecommitdiff
path: root/configs/syslinux-iso
diff options
context:
space:
mode:
Diffstat (limited to 'configs/syslinux-iso')
-rw-r--r--configs/syslinux-iso/Makefile5
-rw-r--r--configs/syslinux-iso/boot-files/isolinux/isolinux.cfg6
2 files changed, 10 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
diff --git a/configs/syslinux-iso/boot-files/isolinux/isolinux.cfg b/configs/syslinux-iso/boot-files/isolinux/isolinux.cfg
index 3cac5da..a0d258e 100644
--- a/configs/syslinux-iso/boot-files/isolinux/isolinux.cfg
+++ b/configs/syslinux-iso/boot-files/isolinux/isolinux.cfg
@@ -56,6 +56,12 @@ LABEL memtest
MENU LABEL Run Memtest86+ (RAM test)
KERNEL /boot/memtest
+# http://hdt-project.org/
+LABEL hdt
+MENU LABEL Hardware Information (HDT)
+KERNEL hdt.c32
+APPEND modules_alias=hdt/modalias.gz pciids=hdt/pciids.gz
+
# http://www.vortex.prodigynet.co.uk/x86test/
LABEL x86test
MENU LABEL Run x86test (CPU test)