From 5bca5fc3e8215601d1e2d33ce31f6a41c4bcfcc9 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Wed, 23 Dec 2015 14:31:52 +0000 Subject: Add ostree.write deployment extension 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: I8556139d118da759360cdc1ce998590b1f50b644 --- systems/minimal-system-x86_64-generic.morph | 1 + 1 file changed, 1 insertion(+) (limited to 'systems') diff --git a/systems/minimal-system-x86_64-generic.morph b/systems/minimal-system-x86_64-generic.morph index afd9460c..418c3ac3 100644 --- a/systems/minimal-system-x86_64-generic.morph +++ b/systems/minimal-system-x86_64-generic.morph @@ -19,3 +19,4 @@ configuration-extensions: - extensions/install-files - extensions/busybox-init - extensions/install-essential-files +- extensions/strip-device-nodes -- cgit v1.2.1