From 76470b1dadb13f4a0c1785a5446a0b4ba2e1d5f1 Mon Sep 17 00:00:00 2001 From: Franklyn Tackitt Date: Tue, 29 Apr 2025 08:51:22 -0700 Subject: [PATCH] partitioning: Rely on the btrfs default subvolume for remounting This allows changes to the default subvolume in `btrfs_root_add_subvolumes` to propagate as needed into the final image. --- lib/functions/image/partitioning.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/image/partitioning.sh b/lib/functions/image/partitioning.sh index ae84c35581..12b9cb84eb 100644 --- a/lib/functions/image/partitioning.sh +++ b/lib/functions/image/partitioning.sh @@ -353,7 +353,7 @@ function prepare_partitions() { run_host_command_logged umount $rootdevice display_alert "Remounting rootfs" "$rootdevice (UUID=${ROOT_PART_UUID})" - run_host_command_logged mount -odefaults,${mountopts[$ROOTFS_TYPE]},subvol=$btrfs_root_subvolume $rootdevice $MOUNT/ + run_host_command_logged mount -odefaults,${mountopts[$ROOTFS_TYPE]} $rootdevice $MOUNT/ fi rootfs="UUID=$(blkid -s UUID -o value $rootdevice)" echo "$rootfs / ${mkfs[$ROOTFS_TYPE]} defaults,${mountopts[$ROOTFS_TYPE]} 0 1" >> $SDCARD/etc/fstab