summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb')
-rw-r--r--meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
new file mode 100644
index 0000000..2d378e2
--- /dev/null
+++ b/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
@@ -0,0 +1,17 @@
1SUMMARY = "Live image init script"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
4DEPENDS = "virtual/kernel"
5RDEPENDS_${PN} = "udev udev-extraconf"
6SRC_URI = "file://init-live.sh"
7
8PR = "r11"
9
10do_install() {
11 install -m 0755 ${WORKDIR}/init-live.sh ${D}/init
12}
13
14FILES_${PN} += " /init "
15
16# Due to kernel depdendency
17PACKAGE_ARCH = "${MACHINE_ARCH}"