Skip to contentSkip to conversation

packagegroup-self-hosted: drop epiphany

PATCH New Alexander Kanavin 1 participant 3 messages May 14, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 packagegroup-self-hosted: drop epiphany

Originally a web browser was added to build-appliance-image to enable Hob's use cases that involve opening a URI; with Hob long gone, a web browser is no longer necessary to have in build-appliance-image.

This will also address the out-of-resources problem when build-appliance-image builds itself in a VM, as a test case.

---
 meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +0 -1
index b296db5457e..f206cee3731 100644
@@ -189,7 +189,6 @@ RDEPENDS_packagegroup-self-hosted-graphics = "\
     libx11-dev \
     adwaita-icon-theme \
     xdg-utils \
-    epiphany \
     l3afpad \
     pcmanfm \
     vte \
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/3 packagegroup-cross-canadian: repackage when TUNE_ARCH changes

---
 .../packagegroups/packagegroup-cross-canadian.bb            | 6 ++++++
 1 file changed, 6 insertions(+)
meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb +6 -0
index d551147b5a4..3b430c08148 100644
@@ -16,3 +16,9 @@ RDEPENDS_${PN} = "\
     ${@all_multilib_tune_values(d, 'GDB')} \
     meta-environment-${MACHINE} \
     "
+
+# When TUNE_ARCH changes but MACHINE does not (for example when a machine definition is updated), 
+# cross-canadian.bbclass prevents variable dependency propagation to TRANSLATED_TARGET_ARCH
+# This will result in erroneous reuse of previous sstate packages. The following line
+# establishes a direct dependency instead.
+do_package[vardeps] += "TUNE_ARCH"
Signature · 1 line
2.17.1
#2 lore raw

PATCH 3/3 qemux86: use a Core 2 Duo CPU instead of the original circa-1993 Pentium

In reply to Alexander Kanavin

This matches what the qemux86_64 is currently using, and will allow testing the instructions added in the meantime; particularly various SSE extensions are now enabled.

---
 meta/conf/machine/include/qemuboot-x86.inc | 4 ++--
 meta/conf/machine/qemux86.conf             | 3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)
meta/conf/machine/include/qemuboot-x86.inc +2 -2
index 5fdbe4df50e..82ce46d8604 100644
@@ -1,8 +1,8 @@
 # For runqemu
 IMAGE_CLASSES += "qemuboot"
 QB_SYSTEM_NAME_x86 = "qemu-system-i386"
-QB_CPU_x86 = "-cpu pentium2"
-QB_CPU_KVM_x86 = "-cpu pentium2"
+QB_CPU_x86 = "-cpu core2duo"
+QB_CPU_KVM_x86 = "-cpu core2duo"
 
 QB_SYSTEM_NAME_x86-64 = "qemu-system-x86_64"
 QB_CPU_x86-64 = "-cpu core2duo"
meta/conf/machine/qemux86.conf +1 -2
index f2434a4b5f5..272ad1e1870 100644
@@ -8,8 +8,7 @@ PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
 PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
 
 require conf/machine/include/qemu.inc
-DEFAULTTUNE ?= "i586"
-X86ARCH32 ?= "i586"
+DEFAULTTUNE ?= "core2-32"
 require conf/machine/include/tune-corei7.inc
 require conf/machine/include/qemuboot-x86.inc
 
Signature · 1 line
2.17.1