mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-13 12:32:59 +02:00
partresize: fix partresize for new arm image layout.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user