Skip to content

Commit bde3329

Browse files
committed
scripts: Use "dmsetup create --concise" for setting up super partition
The newer dmsetup in Debian trixie allows for the "create --concise" command to be used. "parse-android-dynparts" from UBports' 24.04-1.x repo already returns a compatible concise specification, to hook those two together.
1 parent 7a1a2dd commit bde3329

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/halium

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ mountroot() {
495495
# setup super partition if exists
496496
if [ -b /dev/disk/by-partlabel/super ]; then
497497
tell_kmsg "trying to parse and dmsetup subpartitions from super partition"
498-
/sbin/parse-android-dynparts /dev/disk/by-partlabel/super | sh
498+
/sbin/dmsetup create --concise "$(/sbin/parse-android-dynparts /dev/disk/by-partlabel/super)"
499499
fi
500500

501501
# Set $_syspart if it is specified as systempart= on the command line

0 commit comments

Comments
 (0)