mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
partresize: remove buggy code
DRV is not defined so this code is useless. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
94820d5062
commit
36a19f2b39
@@ -112,11 +112,6 @@ case "${1}" in
|
|||||||
boot_mesg "Growing root partition to maximum size..."
|
boot_mesg "Growing root partition to maximum size..."
|
||||||
echo -e ',+' | sfdisk --no-reread -f -N${part_num} "${root_dev}" 2>/dev/null
|
echo -e ',+' | sfdisk --no-reread -f -N${part_num} "${root_dev}" 2>/dev/null
|
||||||
|
|
||||||
# Update c,h,s values of the boot partition...
|
|
||||||
if [ ${part_num} -ne 1 -a -b "${root_dev}1" ]; then
|
|
||||||
echo -e ',' | sfdisk --no-reread -f -N1 ${DRV} &> /dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
# The filesystem should be resized after
|
# The filesystem should be resized after
|
||||||
# this operation
|
# this operation
|
||||||
touch /.resizefs
|
touch /.resizefs
|
||||||
|
|||||||
Reference in New Issue
Block a user