The snapm snapset create command currently fails on Image Mode systems due to attempting to create a default boom OsProfile when /boot is read-only:
# snapm snapset create --size-policy 80%FREE stssnapset1 /mnt/thinlvmntdir'
ERROR:root:Failed to create snapset: WARNING - No boom configuration found: attempting to generate defaults in /boot
Failed to create boom directory layout in /boot: [Errno 30] Read-only file system: '/boot/boom'
This happens regardless of whether the user requested a bootable/revert boot entry (-b/-r).
It would be simple to fix the boom OsProfile initialisation to only happen if needed (boot entries requested), but for the near term it would be better to just check for the deployment type and exit early if Image Mode / ostree is found:
# snapm snapset create --size-policy 80%FREE stssnapset1 /mnt/thinlvmntdir'
ERROR: Image Mode deployments are currently unsupported
Properly supporting Image Mode requires changes across snapm, boom-boot, and likely bootc: this is complicated (both to implement and document/explain), and the value of this is currently uncertain.
The
snapm snapset createcommand currently fails on Image Mode systems due to attempting to create a defaultboomOsProfilewhen/bootis read-only:This happens regardless of whether the user requested a bootable/revert boot entry (
-b/-r).It would be simple to fix the boom
OsProfileinitialisation to only happen if needed (boot entries requested), but for the near term it would be better to just check for the deployment type and exit early if Image Mode / ostree is found:Properly supporting Image Mode requires changes across
snapm, boom-boot, and likelybootc: this is complicated (both to implement and document/explain), and the value of this is currently uncertain.