<div dir="ltr">Why does it inherit allarch when it depends on TUNE_PKGARCH grub and other packages?<div><br></div><div>Also it should repect the restrictions which are in grub recipe:</div><div><div><br></div><div>COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'</div><div>COMPATIBLE_HOST_armv7a = 'null'</div><div>COMPATIBLE_HOST_armv7ve = 'null'</div></div><div><br></div><div>because without it it adds new ERROR to "bitbake world":</div><div><div>ERROR: Nothing RPROVIDES 'grub' (but oe-core/meta/recipes-core/initrdscripts/<a href="http://initramfs-module-install_1.0.bb">initramfs-module-install_1.0.bb</a> RDEPENDS on or otherwise requires it)</div><div>grub was skipped: incompatible with host arm-oe-linux-gnueabi (not in COMPATIBLE_HOST)</div><div>grub was skipped: incompatible with host arm-oe-linux-gnueabi (not in COMPATIBLE_HOST)</div><div>NOTE: Runtime target 'grub' is unbuildable, removing...</div><div>Missing or unbuildable dependency chain was: ['grub']</div><div>ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 14, 2017 at 11:03 PM, California Sullivan <span dir="ltr"><<a href="mailto:california.l.sullivan@intel.com" target="_blank">california.l.sullivan@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">The non-EFI counterpart for installation was previously missing for<br>
initramfs-framework. This simply puts the normal install script in the<br>
correct location for initramfs-framework to make use of it.<br>
<br>
</span><span class="">Signed-off-by: California Sullivan <<a href="mailto:california.l.sullivan@intel.com">california.l.sullivan@intel.<wbr>com</a>><br>
---<br>
</span>V2 changes:<br>
* Add the module's dependencies to SIGGEN_EXCLUDE_SAFE_RECIPE_<wbr>DEPS, since<br>
its dependencies changing don't matter in regards building the package.<br>
* PR = "r1" since its a new recipe.<br>
<br>
meta/conf/layer.conf | 4 ++++<br>
.../initrdscripts/<a href="http://initramfs-module-install_1.0.bb" rel="noreferrer" target="_blank">initramfs-<wbr>module-install_1.0.bb</a> | 20 ++++++++++++++++++++<br>
2 files changed, 24 insertions(+)<br>
create mode 100644 meta/recipes-core/<wbr>initrdscripts/<a href="http://initramfs-module-install_1.0.bb" rel="noreferrer" target="_blank">initramfs-<wbr>module-install_1.0.bb</a><br>
<br>
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf<br>
index 0342324..6782058 100644<br>
--- a/meta/conf/layer.conf<br>
+++ b/meta/conf/layer.conf<br>
@@ -57,6 +57,10 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_<wbr>DEPS += " \<br>
initramfs-module-install-efi-><wbr>e2fsprogs \<br>
initramfs-module-install-efi-><wbr>parted \<br>
initramfs-module-install-efi-><wbr>util-linux \<br>
+ initramfs-module-install-><wbr>e2fsprogs \<br>
+ initramfs-module-install->grub \<br>
+ initramfs-module-install-><wbr>parted \<br>
+ initramfs-module-install-><wbr>util-linux \<br>
liberation-fonts->fontconfig \<br>
cantarell-fonts->fontconfig \<br>
gnome-icon-theme->librsvg \<br>
<span class="">diff --git a/meta/recipes-core/<wbr>initrdscripts/<a href="http://initramfs-module-install_1.0.bb" rel="noreferrer" target="_blank">initramfs-<wbr>module-install_1.0.bb</a> b/meta/recipes-core/<wbr>initrdscripts/<a href="http://initramfs-module-install_1.0.bb" rel="noreferrer" target="_blank">initramfs-<wbr>module-install_1.0.bb</a><br>
new file mode 100644<br>
</span>index 0000000..ce7f165<br>
<span class="">--- /dev/null<br>
+++ b/meta/recipes-core/<wbr>initrdscripts/<a href="http://initramfs-module-install_1.0.bb" rel="noreferrer" target="_blank">initramfs-<wbr>module-install_1.0.bb</a><br>
@@ -0,0 +1,20 @@<br>
+SUMMARY = "initramfs-framework module for installation option"<br>
+LICENSE = "MIT"<br>
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/<wbr>COPYING.MIT;md5=<wbr>3da9cfbcb788c80a0384361b4de204<wbr>20"<br>
+RDEPENDS_${PN} = "initramfs-framework-base grub parted e2fsprogs-mke2fs util-linux-blkid"<br>
+<br>
</span>+PR = "r1"<br>
<div class="HOEnZb"><div class="h5">+<br>
+inherit allarch<br>
+<br>
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"<br>
+SRC_URI = "file://init-install.sh"<br>
+<br>
+S = "${WORKDIR}"<br>
+<br>
+do_install() {<br>
+ install -d ${D}/init.d<br>
+ install -m 0755 ${WORKDIR}/init-install.sh ${D}/init.d/install.sh<br>
+}<br>
+<br>
+FILES_${PN} = "/init.d/install.sh"<br>
--<br>
2.9.5<br>
<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</div></div></blockquote></div><br></div>