aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/disk-image-builder/nested/build.sh
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2017-08-14 08:09:12 +0200
committerDave Wallace <dwallacelf@gmail.com>2017-11-12 03:56:44 +0000
commit2f27bac4fbc2a67ab5d58065990c6f6564a8a2d3 (patch)
tree97eb6a54bd473129b8e5fb7e8e26a6e7197b72e4 /resources/tools/disk-image-builder/nested/build.sh
parentc4f32cdc7542941815a75a2de5a09ed9cc0de0d9 (diff)
Nested VM refresh
- add debug tools and packages - update buildroot to version 2017.05.2 Change-Id: I27458d12fb52244c952f2fbc46b38b72cf289fad Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/disk-image-builder/nested/build.sh')
-rwxr-xr-xresources/tools/disk-image-builder/nested/build.sh4
1 files changed, 2 insertions, 2 deletions
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