main/posmarketos-mkinitfs: add -f parameter to parted (MR 3355)
[ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
2b37392456
commit
b341018d89
2 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
# Co-Maintainer: Clayton Craft <clayton@craftyguy.net>
|
||||
pkgname=postmarketos-mkinitfs
|
||||
pkgver=1.4.1
|
||||
pkgrel=11
|
||||
pkgrel=12
|
||||
pkgdesc="Tool to generate initramfs images for postmarketOS"
|
||||
url="https://postmarketos.org"
|
||||
depends="
|
||||
|
@ -72,5 +72,5 @@ sha512sums="
|
|||
f827acb0a10c0e5c1631f1b712e91fde7eb4ade0f1174eb2ef1754018bf4518ea1ad3229fd335c25fb0c6fe46ae20890f5cf43e58c8143ae17b5ab9bb36f0199 postmarketos-mkinitfs-1.4.1.tar.gz
|
||||
20f110337113e8de8999cf2a064a93fea36821d5c216bfa4ba46ec1f83825638262b92fd7be29eee0a85a54a108b7315a96cbe30da8ae4419f54c2ed53bb08c7 00-default.modules
|
||||
ccdceaa710d97d6f57d8d66bfcbec448486d08083341712303f62123039f729229b88528308e411a308a2b90b81b60de89fe91143a6facbb11cbc9b4055eeaec init.sh
|
||||
9425c9ae5bcef0f261751c4f0cd8fbd634b2f06aefd34c3f2e9a95ea50abaa65611f1cebc0d3533e721f7610f9b37a7f4c26aa7938a9880fcb8e9902839f0c84 init_functions.sh
|
||||
9de283415732dacf2ed95432df0c41702a75b3fa36bff5aa115f66e4b8e1278eb7454f0ab1e10dfee2523f8a89ceb8ebcb5d4c3f221a7a983fe17589e720a127 init_functions.sh
|
||||
"
|
||||
|
|
|
@ -336,7 +336,7 @@ resize_root_partition() {
|
|||
echo "Resize root partition ($partition)"
|
||||
# unmount subpartition, resize and remount it
|
||||
kpartx -d "$partition"
|
||||
parted -s "$partition_dev" resizepart 2 100%
|
||||
parted -f -s "$partition_dev" resizepart 2 100%
|
||||
kpartx -afs "$partition_dev"
|
||||
ROOT_PARTITION_RESIZED=1
|
||||
fi
|
||||
|
@ -350,7 +350,7 @@ resize_root_partition() {
|
|||
partition_dev="$(echo "$partition" | sed -E 's/p?2$//')"
|
||||
if has_unallocated_space "$partition_dev"; then
|
||||
echo "Resize root partition ($partition)"
|
||||
parted -s "$partition_dev" resizepart 2 100%
|
||||
parted -f -s "$partition_dev" resizepart 2 100%
|
||||
partprobe
|
||||
ROOT_PARTITION_RESIZED=1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue