Complete KUbuntu support

This commit is contained in:
Saverio Miroddi 2021-04-29 00:12:11 +02:00
parent 584946c3d0
commit 4fd8ee1c8a

View File

@ -89,6 +89,7 @@ c_dataset_options_help='# The defaults create a root pool similar to the Ubuntu
# Parameters and command substitutions are applied; useful variables are $c_zfs_mount_dir and $v_rpool_name. # Parameters and command substitutions are applied; useful variables are $c_zfs_mount_dir and $v_rpool_name.
' '
# Can't include double quotes, due to the templating logic. # Can't include double quotes, due to the templating logic.
# KUbuntu has a /home/.directory, which must not be a separate dataset (it's a symlink).
# #
c_default_dataset_create_options=' c_default_dataset_create_options='
ROOT mountpoint=/ com.ubuntu.zsys:bootfs=yes com.ubuntu.zsys:last-used=$(date +%s) ROOT mountpoint=/ com.ubuntu.zsys:bootfs=yes com.ubuntu.zsys:last-used=$(date +%s)
@ -112,7 +113,7 @@ ROOT/tmp com.ubuntu.zsys:bootfs=no
USERDATA mountpoint=/ canmount=off USERDATA mountpoint=/ canmount=off
USERDATA/root mountpoint=/root canmount=on com.ubuntu.zsys:bootfs-datasets=$v_rpool_name/ROOT USERDATA/root mountpoint=/root canmount=on com.ubuntu.zsys:bootfs-datasets=$v_rpool_name/ROOT
$(find $c_installed_os_mount_dir/home -mindepth 1 -maxdepth 1 -printf '\'' $(find $c_installed_os_mount_dir/home -mindepth 1 -maxdepth 1 -not -name '\''.*'\'' -printf '\''
USERDATA/%P mountpoint=/home/%P canmount=on com.ubuntu.zsys:bootfs-datasets=$v_rpool_name/%P USERDATA/%P mountpoint=/home/%P canmount=on com.ubuntu.zsys:bootfs-datasets=$v_rpool_name/%P
'\'') '\'')
' '