From 58d9422afe0191276109e2ecaeaec721d8816a88 Mon Sep 17 00:00:00 2001
From: Sam Thursfield <sam.thursfield@codethink.co.uk>
Date: Wed, 8 Nov 2017 17:52:41 +0000
Subject: Add support for building an initramfs

The scripts are taken from
https://gitlab.com/BuildStream/buildstream-tests (branch build-gnome).

Those in turn were taken from
http://git.baserock.org/baserock/baserock/initramfs-scripts.git

We manually set the executable permissions in the init scripts
using chmod, because
https://gitlab.com/BuildStream/buildstream/issues/84
---
 elements/initramfs/initramfs.bst | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 elements/initramfs/initramfs.bst

(limited to 'elements/initramfs/initramfs.bst')

diff --git a/elements/initramfs/initramfs.bst b/elements/initramfs/initramfs.bst
new file mode 100644
index 00000000..15ef4c0d
--- /dev/null
+++ b/elements/initramfs/initramfs.bst
@@ -0,0 +1,12 @@
+kind: compose
+description: Initramfs composition
+
+depends:
+- filename: gnu-toolchain.bst
+  type: build
+- filename: initramfs/initramfs-scripts.bst
+  type: build
+
+config:
+  include:
+  - runtime
-- 
cgit v1.2.1

