summaryrefslogtreecommitdiff
path: root/chunks/fhs-dirs.morph
diff options
context:
space:
mode:
Diffstat (limited to 'chunks/fhs-dirs.morph')
-rw-r--r--chunks/fhs-dirs.morph52
1 files changed, 52 insertions, 0 deletions
diff --git a/chunks/fhs-dirs.morph b/chunks/fhs-dirs.morph
new file mode 100644
index 00000000..70bf702a
--- /dev/null
+++ b/chunks/fhs-dirs.morph
@@ -0,0 +1,52 @@
+name: fhs-dirs
+kind: chunk
+repo: baserock:baserock/fhs-dirs
+ref: 442e2a6453ec380bf9d64f6be50e57d54ddf93d3
+install-commands:
+- sh ./create-fhs-dirs "$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"
+- install -m 644 protocols "$DESTDIR/etc/protocols"
+- echo baserock > "$DESTDIR"/etc/hostname
+decription: create the FHS 2.3 directory hierarchy and the usual files
+devices:
+- type: c
+ filename: /dev/console
+ gid: 0
+ major: 5
+ minor: 1
+ permissions: '0600'
+ uid: 0
+- type: c
+ filename: /dev/full
+ gid: 0
+ major: 1
+ minor: 7
+ permissions: '0666'
+ uid: 0
+- type: c
+ filename: /dev/null
+ gid: 0
+ major: 1
+ minor: 3
+ permissions: '0666'
+ uid: 0
+- type: c
+ filename: /dev/urandom
+ gid: 0
+ major: 1
+ minor: 9
+ permissions: '0666'
+ uid: 0
+- type: c
+ filename: /dev/zero
+ gid: 0
+ major: 1
+ minor: 5
+ permissions: '0666'
+ uid: 0