<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 = &#39;(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)&#39;</div><div>COMPATIBLE_HOST_armv7a = &#39;null&#39;</div><div>COMPATIBLE_HOST_armv7ve = &#39;null&#39;</div></div><div><br></div><div>because without it it adds new ERROR to &quot;bitbake world&quot;:</div><div><div>ERROR: Nothing RPROVIDES &#39;grub&#39; (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 &#39;grub&#39; is unbuildable, removing...</div><div>Missing or unbuildable dependency chain was: [&#39;grub&#39;]</div><div>ERROR: Required build target &#39;meta-world-pkgdata&#39; 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">&lt;<a href="mailto:california.l.sullivan@intel.com" target="_blank">california.l.sullivan@intel.com</a>&gt;</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 &lt;<a href="mailto:california.l.sullivan@intel.com">california.l.sullivan@intel.<wbr>com</a>&gt;<br>
---<br>
</span>V2 changes:<br>
* Add the module&#39;s dependencies to SIGGEN_EXCLUDE_SAFE_RECIPE_<wbr>DEPS, since<br>
  its dependencies changing don&#39;t matter in regards building the package.<br>
* PR = &quot;r1&quot; 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 += &quot; \<br>
   initramfs-module-install-efi-&gt;<wbr>e2fsprogs \<br>
   initramfs-module-install-efi-&gt;<wbr>parted \<br>
   initramfs-module-install-efi-&gt;<wbr>util-linux \<br>
+  initramfs-module-install-&gt;<wbr>e2fsprogs \<br>
+  initramfs-module-install-&gt;grub \<br>
+  initramfs-module-install-&gt;<wbr>parted \<br>
+  initramfs-module-install-&gt;<wbr>util-linux \<br>
   liberation-fonts-&gt;fontconfig \<br>
   cantarell-fonts-&gt;fontconfig \<br>
   gnome-icon-theme-&gt;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 = &quot;initramfs-framework module for installation option&quot;<br>
+LICENSE = &quot;MIT&quot;<br>
+LIC_FILES_CHKSUM = &quot;file://${COREBASE}/meta/<wbr>COPYING.MIT;md5=<wbr>3da9cfbcb788c80a0384361b4de204<wbr>20&quot;<br>
+RDEPENDS_${PN} = &quot;initramfs-framework-base grub parted e2fsprogs-mke2fs util-linux-blkid&quot;<br>
+<br>
</span>+PR = &quot;r1&quot;<br>
<div class="HOEnZb"><div class="h5">+<br>
+inherit allarch<br>
+<br>
+FILESEXTRAPATHS_prepend := &quot;${THISDIR}/files:&quot;<br>
+SRC_URI = &quot;file://init-install.sh&quot;<br>
+<br>
+S = &quot;${WORKDIR}&quot;<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} = &quot;/init.d/install.sh&quot;<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>