_umount: _img_mount _config _bootloader_pc
_mbr: _partcopy _bootloader_pc
+else ifdef subvol
+ SYSROOT := sys_root_${release}/
+ CFGROOT := cfg_root/
+
+ _target: _install _config ${subvol}
+
+ _bootstrap:
+ _install: _bootstrap
+ _copy: _install
+ _config: _copy
+
+ ${subvol}: _config
+ btrfs sub snap "${CFG_ROOT}" "$@"
+
else ifdef squash
SQUASH := ${squash}
SYSROOT := sys_root_${release}/
_copy: _install
_config: _copy _squash_modules
_isosquash: _config
-# ${PBOOT}: ${ISOROOT}
-# _format_boot: ${PBOOT}
-# _efi_mount: ${PBOOT} _format_boot
-# _efi_umount: _config
_bootloader_iso: _config
_iso_image: _bootloader_iso _isosquash # _efi_umount