From 096c1e1f7f75ef707a426660f5a69bc4b809430b Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Wed, 16 May 2018 12:09:05 +0200 Subject: [PATCH] run/image/disk: omit * from GENODE partition label This way, the boot partition is not considered as default partition by Sculpt unless the user explicitly marks it as such. Issue #2778 --- tool/run/image/disk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/run/image/disk b/tool/run/image/disk index 408483de97..71b91b9eab 100644 --- a/tool/run/image/disk +++ b/tool/run/image/disk @@ -37,7 +37,7 @@ proc run_image { {unused ""} } { # setup partition with content exec dd if=/dev/zero of=[run_dir].partition bs=1k count=$disk_size_kb 2>/dev/null - exec mkfs.ext2 -L GENODE* -q -T default [run_dir].partition + exec mkfs.ext2 -L GENODE -q -T default [run_dir].partition # copy content to disk image foreach file [exec find [run_dir]] { @@ -74,7 +74,7 @@ proc run_image { {unused ""} } { exec rm [run_dir].partition # create partition table entry pointing to the content - catch { exec parted -a none [run_dir].img -- mkpart Fix GENODE* ext2 [expr $first_sector]s ${last_sector}s } + catch { exec parted -a none [run_dir].img -- mkpart Fix GENODE ext2 [expr $first_sector]s ${last_sector}s } # create hybrid MBR exec echo -e "r\no\nh\n1\nn\n\ny\nn\no\nw\ny\n" | gdisk [run_dir].img