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