initramfs-module-install_1.0.bb 724 B

123456789101112131415161718192021
  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 ${VIRTUAL-RUNTIME_base-utils}"
  5. RRECOMMENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}"
  6. # The same restriction as grub
  7. COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'
  8. COMPATIBLE_HOST:armv7a = 'null'
  9. COMPATIBLE_HOST:armv7ve = 'null'
  10. SRC_URI = "file://init-install.sh"
  11. S = "${UNPACKDIR}"
  12. do_install() {
  13. install -d ${D}/init.d
  14. install -m 0755 ${S}/init-install.sh ${D}/init.d/install.sh
  15. }
  16. FILES:${PN} = "/init.d/install.sh"