mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
partitioning: fix compressed BTRFS creation
This commit is contained in:
@@ -352,7 +352,7 @@ function prepare_partitions() {
|
|||||||
|
|
||||||
run_host_command_logged umount $rootdevice
|
run_host_command_logged umount $rootdevice
|
||||||
display_alert "Remounting rootfs" "$rootdevice (UUID=${ROOT_PART_UUID})"
|
display_alert "Remounting rootfs" "$rootdevice (UUID=${ROOT_PART_UUID})"
|
||||||
run_host_command_logged mount -odefaults,${mountopts[$ROOTFS_TYPE]} $rootdevice $MOUNT/
|
run_host_command_logged mount -odefaults,${mountopts[$ROOTFS_TYPE]} ${fscreateopt} $rootdevice $MOUNT/
|
||||||
fi
|
fi
|
||||||
rootfs="UUID=$(blkid -s UUID -o value $rootdevice)"
|
rootfs="UUID=$(blkid -s UUID -o value $rootdevice)"
|
||||||
echo "$rootfs / ${mkfs[$ROOTFS_TYPE]} defaults,${mountopts[$ROOTFS_TYPE]} 0 1" >> $SDCARD/etc/fstab
|
echo "$rootfs / ${mkfs[$ROOTFS_TYPE]} defaults,${mountopts[$ROOTFS_TYPE]} 0 1" >> $SDCARD/etc/fstab
|
||||||
|
|||||||
Reference in New Issue
Block a user