summaryrefslogtreecommitdiff
path: root/systems/minimal-system-x86_64-generic.morph
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-10-17 08:10:28 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-10-17 08:10:28 +0000
commit3b387c376c813d611df05667e8f3490678ef5ba4 (patch)
tree57dc868983c639f8c3e53c0e1c5dac25d35ccf2b /systems/minimal-system-x86_64-generic.morph
parent36f7e4923ae5d03dd345d74f7fcade48c99a498d (diff)
downloaddefinitions-3b387c376c813d611df05667e8f3490678ef5ba4.tar.gz
Add ostree.write deployment extensionstaging/jjardon/ostree.writejjardon/ostree.write
Reverts commit 36f7e4923ae5d03dd345d74f7fcade48c99a498d 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
Diffstat (limited to 'systems/minimal-system-x86_64-generic.morph')
-rw-r--r--systems/minimal-system-x86_64-generic.morph1
1 files changed, 1 insertions, 0 deletions
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