Skip to content

WIP: Add ostree.write deployment extension

Javier Jardón requested to merge 3-add-support-for-ostree-deployment into master

Reverts commit 36f7e492

This is a simple deployment extension to write the results of a Baserock build to an OSTree repo.

See ostree.write.help for more information.

The Baserock reference systems contain static device nodes, which are not supported by OSTree, and are obsolete on Linux systems. To work around this problem, I added a strip-device-nodes.configure extension. The systems should still work the same as devtmpfs will create the device nodes.

I've tested this by deploying minimal-system-x86_64 to an OSTree repo, then checking it out into a temporary directory, creating a read-only bind-mount of the temporary directory and chrooting then into it.

This is only going to be useful for containers systems and chroots for the time being. We would need to make some quite major changes to the Baserock reference systems to enable deployment to VMs or bare metal using OSTree.

Change-Id: Ic393bdec7b28341fc5dfa56bb684217d964be5ff

Closes #3

Merge request reports