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

Pierre Schmitz pierre at archlinux.de
Sun Jun 24 05:23:58 EDT 2012


Am 24.06.2012 01:06, schrieb Gerardo Exequiel Pozzi:
> 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.

fixed

-- 
Pierre Schmitz, https://pierre-schmitz.com


More information about the arch-releng mailing list