From bb234c63ef0fd15a68044db3b172247884cbaa34 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 23 Dec 2013 22:28:27 +0100 Subject: [PATCH] partresize: fix partresize for new arm image layout. --- src/initscripts/init.d/partresize | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/initscripts/init.d/partresize b/src/initscripts/init.d/partresize index d4e4db268..909d63f66 100644 --- a/src/initscripts/init.d/partresize +++ b/src/initscripts/init.d/partresize @@ -6,7 +6,7 @@ # # Authors : Arne Fitzenreiter - arne_f@ipfire.org # -# Version : 1.02 +# Version : 1.03 # # Notes : # @@ -37,7 +37,7 @@ case "${1}" in fi boot_mesg "Change Partition ${DRV}3 to all free space ..." - echo -e 'd\n3\nn\np\n3\n\n\nw\nq\n' | fdisk ${DRV} + echo -e ',+' | sfdisk --no-reread -N3 ${DRV} 2>/dev/null # Erase symlink, it should run only once rm -f /etc/rc.d/rcsysinit.d/S25partresize -- 2.39.2