Skip to contentSkip to conversation

initramfs-framework: Change recipe to be allarch

PATCH Superseded Otavio Salvador 2 participants 2 messages Aug 27, 2017 – Aug 29, 2017

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 initramfs-framework: Change recipe to be allarch

There is no COMPATIBLE_HOST in the recipe neither it makes sense for this to be machine specific.

Possibly, initramfs-framework's based modules may be machine specific but if there is the case they can just RDEPENDS on initramfs-framework-base and provide the specific module as another recipe.

---

Changes in v3:
- Add the new dependencies to the hash whitelist

 meta/conf/layer.conf                                       | 6 +++++-
 meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb | 8 +++-----
 2 files changed, 8 insertions(+), 6 deletions(-)
meta/conf/layer.conf +5 -1
index 38bec33197..04aa730160 100644
@@ -50,8 +50,12 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
   docbook-xsl-stylesheets->perl \
   ca-certificates->openssl \
   initramfs-framework->${VIRTUAL-RUNTIME_base-utils} \
-  initramfs-framework->systemd \
+  initramfs-framework->dosfstools \
+  initramfs-framework->e2fsprogs \
   initramfs-framework->eudev \
+  initramfs-framework->parted \
+  initramfs-framework->systemd \
+  initramfs-framework->util-linux \
   liberation-fonts->fontconfig \
   cantarell-fonts->fontconfig \
   gnome-icon-theme->librsvg \
meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb +3 -5
index 9d69a696f1..94bf1756e3 100644
@@ -3,12 +3,10 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 RDEPENDS_${PN} += "${VIRTUAL-RUNTIME_base-utils}"
 
-PR = "r2"
+PR = "r3"
+
+inherit allarch
 
-# While the packages maybe an allarch due to it being a
-# simple script, reality is that it is Host specific based
-# on the COMPATIBLE_HOST below, which needs to take precedence
-#inherit allarch
 INHIBIT_DEFAULT_DEPS = "1"
 
 SRC_URI = "file://init \
Signature · 1 line
2.14.1
#1 lore raw
Quoted 22 lines · Otavio Salvador

There is no COMPATIBLE_HOST in the recipe neither it makes sense for this to be machine specific.

Possibly, initramfs-framework's based modules may be machine specific but if there is the case they can just RDEPENDS on initramfs-framework-base and provide the specific module as another recipe.

---

Changes in v3:
- Add the new dependencies to the hash whitelist

meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb +0 -0
index 9d69a696f1..94bf1756e3 100644
@@ -3,12 +3,10 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 RDEPENDS_${PN} += "${VIRTUAL-RUNTIME_base-utils}"
 

meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb LICENSE = "MIT" · line 10

Quoted 10 lines
meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb +3 -5
-PR = "r2"
+PR = "r3"
+
+inherit allarch
 
-# While the packages maybe an allarch due to it being a
-# simple script, reality is that it is Host specific based
-# on the COMPATIBLE_HOST below, which needs to take precedence
-#inherit allarch
 INHIBIT_DEFAULT_DEPS = "1"

The allarch class sets INHIBIT_DEFAULT_DEPS, so that line could be removed.

Quoted 3 lines
meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb +0 -1
 SRC_URI = "file://init \
--

2.14.1