diff options
| -rw-r--r-- | meta/conf/layer.conf | 4 | ||||
| -rw-r--r-- | meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb | 20 |
2 files changed, 24 insertions, 0 deletions
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf index 034232474f..67820588d3 100644 --- a/meta/conf/layer.conf +++ b/meta/conf/layer.conf | |||
| @@ -57,6 +57,10 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ | |||
| 57 | initramfs-module-install-efi->e2fsprogs \ | 57 | initramfs-module-install-efi->e2fsprogs \ |
| 58 | initramfs-module-install-efi->parted \ | 58 | initramfs-module-install-efi->parted \ |
| 59 | initramfs-module-install-efi->util-linux \ | 59 | initramfs-module-install-efi->util-linux \ |
| 60 | initramfs-module-install->e2fsprogs \ | ||
| 61 | initramfs-module-install->grub \ | ||
| 62 | initramfs-module-install->parted \ | ||
| 63 | initramfs-module-install->util-linux \ | ||
| 60 | liberation-fonts->fontconfig \ | 64 | liberation-fonts->fontconfig \ |
| 61 | cantarell-fonts->fontconfig \ | 65 | cantarell-fonts->fontconfig \ |
| 62 | gnome-icon-theme->librsvg \ | 66 | gnome-icon-theme->librsvg \ |
diff --git a/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb new file mode 100644 index 0000000000..ce7f165bfe --- /dev/null +++ b/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | SUMMARY = "initramfs-framework module for installation option" | ||
| 2 | LICENSE = "MIT" | ||
| 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 4 | RDEPENDS_${PN} = "initramfs-framework-base grub parted e2fsprogs-mke2fs util-linux-blkid" | ||
| 5 | |||
| 6 | PR = "r1" | ||
| 7 | |||
| 8 | inherit allarch | ||
| 9 | |||
| 10 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
| 11 | SRC_URI = "file://init-install.sh" | ||
| 12 | |||
| 13 | S = "${WORKDIR}" | ||
| 14 | |||
| 15 | do_install() { | ||
| 16 | install -d ${D}/init.d | ||
| 17 | install -m 0755 ${WORKDIR}/init-install.sh ${D}/init.d/install.sh | ||
| 18 | } | ||
| 19 | |||
| 20 | FILES_${PN} = "/init.d/install.sh" | ||
