[arch-releng] [PATCH 07/10] Use pci.ids from the host instead of downloading it every time

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Sat Jun 23 19:06:12 EDT 2012


On 06/23/2012 06:40 AM, Pierre Schmitz wrote:
> ---
>   configs/releng/build.sh | 2 +-
>   1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)
>
> diff --git a/configs/releng/build.sh b/configs/releng/build.sh
> index df5571a..2632323 100755
> --- a/configs/releng/build.sh
> +++ b/configs/releng/build.sh
> @@ -112,7 +112,7 @@ make_syslinux() {
>           cp ${_src_syslinux}/*.0 ${_dst_syslinux}
>           cp ${_src_syslinux}/memdisk ${_dst_syslinux}
>           mkdir -p ${_dst_syslinux}/hdt
> -        wget -O - http://pciids.sourceforge.net/v2.2/pci.ids | gzip -9 > ${_dst_syslinux}/hdt/pciids.gz
> +        cat /usr/share/hwdata/pci.ids | gzip -9 > ${_dst_syslinux}/hdt/pciids.gz
>           cat ${work_dir}/root-image/lib/modules/*-ARCH/modules.alias | gzip -9 > ${_dst_syslinux}/hdt/modalias.gz
>           : > ${work_dir}/build.${FUNCNAME}
>       fi

at this point: ${work_dir}/root-image/usr/share/hwdata/pci.ids exists, 
so should be used instead of getting from host.

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



More information about the arch-releng mailing list