summaryrefslogtreecommitdiff
path: root/strata/build-essential
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2016-03-08 16:16:54 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2016-03-20 20:21:20 +0900
commit7bf1a1e0acf60e487fd435cc89508d98179f6dcb (patch)
treeda4363836a1737ea5ca82e2abb61cbb4fc8214e5 /strata/build-essential
parent57f8793d546489831ca7ecf3c7101abca29eb07e (diff)
downloaddefinitions-7bf1a1e0acf60e487fd435cc89508d98179f6dcb.tar.gz
Adding fhs-dirs to new build-essentail
Diffstat (limited to 'strata/build-essential')
-rw-r--r--strata/build-essential/fhs-dirs.morph49
1 files changed, 49 insertions, 0 deletions
diff --git a/strata/build-essential/fhs-dirs.morph b/strata/build-essential/fhs-dirs.morph
new file mode 100644
index 00000000..f4a1b1e9
--- /dev/null
+++ b/strata/build-essential/fhs-dirs.morph
@@ -0,0 +1,49 @@
+name: fhs-dirs
+kind: chunk
+description: create the FHS 2.3 directory hierarchy and the usual files
+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 issue "$DESTDIR/etc/issue"
+- install -m 644 services "$DESTDIR/etc/services"
+- install -m 644 protocols "$DESTDIR/etc/protocols"
+- echo baserock > "$DESTDIR"/etc/hostname
+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