Skip to contentSkip to conversation

initramfs-framework: Change recipe to be allarch

PATCH Superseded Otavio Salvador 3 participants 3 messages Aug 27, 2017

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 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 v2:
- Add the new dependencies to the hash whitelist

 meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
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 8 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.

Quoted 7 lines

---

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

 meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb | 8 +++

I think there may be something missing here as this looks like v1...

Cheers,

Richard

Quoted 30 lines

-----

 1 file changed, 3 insertions(+), 5 deletions(-)
(quoted diff) +0 -0

framework_1.0.bb b/meta/recipes-core/initrdscripts/initramfs- framework_1.0.bb
index 9d69a696f1..94bf1756e3 100644

meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb +0 -0
@@ -3,12 +3,10 @@ LICENSE = "MIT"

 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de2 0420"
 RDEPENDS_${PN} += "${VIRTUAL-RUNTIME_base-utils}"

meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb +3 -1
-PR = "r2"
+PR = "r3"
+
+inherit allarch

meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb +0 -4
-# 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 \
--
2.14.1

#2 lore raw
Quoted 12 lines · Richard Purdie
Quoted 11 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.

---

Quoted 6 lines
Quoted 4 lines

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

 meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb | 8 +++

I think there may be something missing here as this looks like v1...

My fault, v3 is on the way.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750