diff options
Diffstat (limited to 'morphology_examples.txt')
-rw-r--r-- | morphology_examples.txt | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/morphology_examples.txt b/morphology_examples.txt new file mode 100644 index 0000000..5cabeec --- /dev/null +++ b/morphology_examples.txt @@ -0,0 +1,59 @@ +Example chunk (simplified commands): + + { + "kind": "chunk", + "configure-commands": [ + "mkdir o", + "cd o && ../libc/configure --prefix=/usr" + ], + "build-commands": [ + "cd o && make" + ], + "install-commands": [ + "cd o && make install_root=\"$DESTDIR\" install" + ] + } + +Example stratum: + + { + "name": "foundation", + "kind": "stratum", + "chunks": [ + { + "ref": "baserock/bootstrap", + "build-depends": [], + }, + { + "repo": "linux", + "ref": "baserock/morph", + "build-depends": ["fhs-dirs"] + }, + { + "ref": "baserock/bootstrap", + "build-depends": [ + "linux-api-headers" + ] + }, + { + "ref": "baserock/bootstrap", + "build-depends": [ + "fhs-dirs", + "linux-api-headers" + ] + } + ] + } + +Example system: + + { + "kind": "system", + "arch": "arm", + "system-kind": "syslinux-disk", + "disk-size": "1G", + "strata": [ + "foundation", + "linux-stratum" + ] + } |