[arch-releng] [PATCH 1/3] Add HDT to the boot menu

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Wed Jul 21 14:34:52 EDT 2010


  On 07/20/2010 11:54 AM, Thomas Bächler wrote:
> 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.
> ---
>   configs/syslinux-iso/Makefile                      |    5 ++++-
>   .../syslinux-iso/boot-files/isolinux/isolinux.cfg  |    6 ++++++
>   2 files changed, 10 insertions(+), 1 deletions(-)
>
> diff --git a/configs/syslinux-iso/Makefile b/configs/syslinux-iso/Makefile
> index 8990f0f..a22e824 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-images/lib/modules/$(shell grep ^ALL_kver $(kver_FILE) | cut -d= -f2)/modules.alias | gzip -9>  $(WORKDIR)/iso/boot/isolinux/hdt/modalias.gz
>
oops! root-images -> root-image

-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1




More information about the arch-releng mailing list