From 953e8486362e29f50ea4f640dfc9c52c73862e30 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 16 Oct 2014 16:28:16 +0000 Subject: x86_64: initial support for PARTUUID This change configures grub to mount the rootfs by PARTUUID instead of the device path if CONFIG_TARGET_ROOTFS_PARTNAME is unset. Signed-off-by: Jo-Philipp Wich git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42936 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/x86_64/image/gen_image_generic.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/x86_64/image/gen_image_generic.sh') diff --git a/target/linux/x86_64/image/gen_image_generic.sh b/target/linux/x86_64/image/gen_image_generic.sh index b4bf901fb4..711c755cf9 100755 --- a/target/linux/x86_64/image/gen_image_generic.sh +++ b/target/linux/x86_64/image/gen_image_generic.sh @@ -20,7 +20,7 @@ sect=63 cyl=$(( ($KERNELSIZE + $ROOTFSSIZE) * 1024 * 1024 / ($head * $sect * 512))) # create partition table -set `ptgen -o "$OUTPUT" -h $head -s $sect -p ${KERNELSIZE}m -p ${ROOTFSSIZE}m ${ALIGN:+-l $ALIGN}` +set `ptgen -o "$OUTPUT" -h $head -s $sect -p ${KERNELSIZE}m -p ${ROOTFSSIZE}m ${ALIGN:+-l $ALIGN} ${SIGNATURE:+-S 0x$SIGNATURE}` KERNELOFFSET="$(($1 / 512))" KERNELSIZE="$(($2 / 512))" -- cgit v1.2.3