X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fdisk-image-builder%2Fnested%2Fbuild.sh;h=34b96bbf62e1c8f98db8e55cc2903fec9a3144d1;hp=9b02cfda87798012c75d98d28b87500f20e169ad;hb=2f27bac4fbc2a67ab5d58065990c6f6564a8a2d3;hpb=c4f32cdc7542941815a75a2de5a09ed9cc0de0d9 diff --git a/resources/tools/disk-image-builder/nested/build.sh b/resources/tools/disk-image-builder/nested/build.sh index 9b02cfda87..34b96bbf62 100755 --- a/resources/tools/disk-image-builder/nested/build.sh +++ b/resources/tools/disk-image-builder/nested/build.sh @@ -26,7 +26,7 @@ # BUILD_DIR="$(dirname $0)/build" -BUILDROOT_NAME='buildroot-2016.02' +BUILDROOT_NAME='buildroot-2017.05.2' BUILDROOT_DIR="${BUILD_DIR}/${BUILDROOT_NAME}" BUILDROOT_TARBALL="${BUILDROOT_NAME}.tar.gz" BUILDROOT_URL="https://buildroot.org/downloads/${BUILDROOT_TARBALL}" @@ -170,7 +170,7 @@ echo "Disk has ${disk_cylinders} cylinders" # Install GRUB bootloader on the disk image ${BUILDROOT_DIR}/output/host/sbin/grub --device-map=/dev/null <<_EOF device (hd0) ${img_name} -geometry (hd0) ${disk_cylinders} ${DISK_HEADS} ${DISK_SECT_PER_TRACK} +geometry (hd0) root (hd0,0) setup (hd0) quit