From f501976babcc283c7d2ae4bea25e5feefc4b98c2 Mon Sep 17 00:00:00 2001
From: Tristan Van Berkom <tristan.vanberkom@codethink.co.uk>
Date: Wed, 22 Mar 2017 09:47:09 +0000
Subject: Moved all elements under the elements directory

---
 elements/gnu-toolchain/fhs-dirs.bst | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 elements/gnu-toolchain/fhs-dirs.bst

(limited to 'elements/gnu-toolchain/fhs-dirs.bst')

diff --git a/elements/gnu-toolchain/fhs-dirs.bst b/elements/gnu-toolchain/fhs-dirs.bst
new file mode 100644
index 00000000..df715755
--- /dev/null
+++ b/elements/gnu-toolchain/fhs-dirs.bst
@@ -0,0 +1,26 @@
+kind: manual
+
+sources:
+- kind: git
+  url: baserock:baserock/fhs-dirs
+  track: master
+  ref: 9fafca436000bb57ddd5c498f8a75ea7b274f6c5
+
+depends:
+- filename: gnu-toolchain/stage2.bst
+  type: build
+
+environment:
+  PATH: /usr/bin:/bin:/usr/sbin:/sbin:/tools/bin:/tools/sbin
+
+config:
+  install-commands:
+  - sh ./create-fhs-dirs "%{install-root}"
+  - install -m 644 passwd "%{install-root}/etc/passwd"
+  - install -m 600 shadow "%{install-root}/etc/shadow"
+  - install -m 644 interfaces "%{install-root}/etc/network/interfaces"
+  - install -m 644 group "%{install-root}/etc/group"
+  - install -m 644 issue "%{install-root}/etc/issue"
+  - install -m 644 services "%{install-root}/etc/services"
+  - install -m 644 protocols "%{install-root}/etc/protocols"
+  - echo baserock > "%{install-root}/etc/hostname"
-- 
cgit v1.2.1

