diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-02-18 14:58:24 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-03-04 15:17:03 +0000 |
commit | e279a9906a2ecf61384cad685cb62408cfd7a2d4 (patch) | |
tree | bb047cc83d2b2f0c23ba48b9c502cb8ee327de4c | |
parent | 396dd169bfd4a7766966827ca1063e527c9203f3 (diff) | |
download | fhs-dirs-e279a9906a2ecf61384cad685cb62408cfd7a2d4.tar.gz |
Add YAML versions of morphologies
JSON versions are generated from .yaml versions using the edit-morph
script in the Morph source tree:
'scripts/edit-morph to-json *.morph.yaml'
The .morph files themselves should be converted to YAML after the next
Baserock release.
-rw-r--r-- | fhs-dirs.morph.yaml | 14 | ||||
-rw-r--r-- | stage2-fhs-dirs.morph.yaml | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/fhs-dirs.morph.yaml b/fhs-dirs.morph.yaml new file mode 100644 index 0000000..c6235e8 --- /dev/null +++ b/fhs-dirs.morph.yaml @@ -0,0 +1,14 @@ +name: fhs-dirs +kind: chunk +decription: create the FHS 2.3 directory hierarchy and the usual files +install-commands: +- sh ./create-fhs-dirs "$DESTDIR" +- sh ./create-dev-nodes "$DESTDIR" +- install -m 644 passwd "$DESTDIR/etc/passwd" +- install -m 600 shadow "$DESTDIR/etc/shadow" +- install -m 644 interfaces "$DESTDIR/etc/network/interfaces" +- install -m 644 group "$DESTDIR/etc/group" +- install -m 644 ld.so.conf "$DESTDIR/etc/ld.so.conf" +- install -m 644 issue "$DESTDIR/etc/issue" +- install -m 644 services "$DESTDIR/etc/services" +- echo baserock > "$DESTDIR"/etc/hostname diff --git a/stage2-fhs-dirs.morph.yaml b/stage2-fhs-dirs.morph.yaml new file mode 100644 index 0000000..ab16542 --- /dev/null +++ b/stage2-fhs-dirs.morph.yaml @@ -0,0 +1,14 @@ +name: stage2-fhs-dirs +kind: chunk +decription: create the FHS 2.3 directory hierarchy and the usual files +install-commands: +- sh ./create-fhs-dirs "$DESTDIR" +- sh ./create-dev-nodes "$DESTDIR" +- install -m 644 passwd "$DESTDIR/etc/passwd" +- install -m 600 shadow "$DESTDIR/etc/shadow" +- install -m 644 interfaces "$DESTDIR/etc/network/interfaces" +- install -m 644 group "$DESTDIR/etc/group" +- install -m 644 ld.so.conf "$DESTDIR/etc/ld.so.conf" +- install -m 644 issue "$DESTDIR/etc/issue" +- install -m 644 services "$DESTDIR/etc/services" +- echo baserock > "$DESTDIR"/etc/hostname |