X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=build.sh;h=bc244061e30581423b4f97da876405c067f0595f;hb=250a597f521158242a65945bc5f0db38d8088587;hp=d71cd4533a733c84fdd8f87da4876e0aebddc952;hpb=4a00e7b3a9c3d5a28443f4a538bd9a64b8e76212;p=bootcd.git diff --git a/build.sh b/build.sh index d71cd45..bc24406 100755 --- a/build.sh +++ b/build.sh @@ -167,7 +167,10 @@ function build_initrd() echo "building pcitable for hardware detection" pci_map_file=`find $CD_ROOT/lib/modules/ -name modules.pcimap | head -1` - ./scripts/rewrite-pcitable.py $pci_map_file $CD_ROOT/etc/pl_pcitable + module_dep_file=`find $CD_ROOT/lib/modules/ -name modules.dep | head -1` + pci_table=$CD_ROOT/usr/share/hwdata/pcitable + ./scripts/rewrite-pcitable.py $module_dep_file $pci_map_file $pci_table \ + $CD_ROOT/etc/pl_pcitable dd if=/dev/zero of=$INITRD bs=1M count=$RAMDISK_SIZE mkfs.ext2 -F -m 0 -i $INITRD_BYTES_PER_INODE $INITRD