Skip to contentSkip to conversation

Remove BASE_DISTRO_CODENAME from OVERRIDES variable list

PATCH In review Srinuvasan A 2 participants 2 messages Oct 7, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove BASE_DISTRO_CODENAME from OVERRIDES variable list

From: Srinuvasan A <[email protected]>

In this commit "71039175" onwords ISAR supports additional overrides ie:
BASE_DISTRO_CODENAME, hence remove the local one.

---
 kas/opt/ebg-swu.yml                            | 4 +---
 recipes-core/images/cip-core-image-security.bb | 2 --
 recipes-core/swupdate/swupdate.inc             | 4 +---
 3 files changed, 2 insertions(+), 8 deletions(-)
kas/opt/ebg-swu.yml +1 -3
index b534c50..62889fb 100644
@@ -1,7 +1,7 @@
 #
 # CIP Core, generic profile
 #
-# Copyright (c) Siemens AG, 2021
+# Copyright (c) Siemens AG, 2022
 #
 # Authors:
 #  Quirin Gylstorff <[email protected]>
@@ -27,10 +27,8 @@ local_conf_header:
     # Add ovmf binaries for qemu
     IMAGER_BUILD_DEPS_append_qemu-amd64 += "ovmf-binaries"
     # not needed for Debian 11 and later
-    OVERRIDES_append_qemu-amd64 = ":${BASE_DISTRO_CODENAME}"
     DISTRO_APT_SOURCES_append_qemu-amd64_buster = " conf/distro/debian-buster-backports.list"
     DISTRO_APT_PREFERENCES_append_qemu-amd64_buster = " conf/distro/preferences.ovmf-snakeoil.conf"
     # Add U-Boot for qemu
     IMAGER_BUILD_DEPS_append_qemu-arm64 += "u-boot-qemu-arm64"
     IMAGER_BUILD_DEPS_append_qemu-arm += "u-boot-qemu-arm"
-
recipes-core/images/cip-core-image-security.bb +0 -2
index 8ea032c..58a0f98 100644
@@ -40,8 +40,6 @@ IMAGE_PREINSTALL += " \
 	util-linux \
 "
 
-OVERRIDES_append = ":${BASE_DISTRO_CODENAME}"
-
 # Package names based on the distro version
 IMAGE_PREINSTALL_append_buster = " libtss2-esys0"
 IMAGE_PREINSTALL_append_bullseye = " libtss2-esys-3.0.2-0"
recipes-core/swupdate/swupdate.inc +1 -3
index f2d478d..72c116a 100644
@@ -1,7 +1,7 @@
 #
 # CIP Core, generic profile
 #
-# Copyright (c) Siemens AG, 2021
+# Copyright (c) Siemens AG, 2022
 #
 # Authors:
 #  Quirin Gylstorff <[email protected]>
@@ -13,8 +13,6 @@ HOMEPAGE= "https://github.com/sbabic/swupdate"
 LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://${LAYERDIR_isar}/licenses/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe"
 
-OVERRIDES_append = ":${BASE_DISTRO_CODENAME}"
-
 def get_bootloader_build_profile(d):
     bootloader = d.getVar("SWUPDATE_BOOTLOADER") or ""
     if bootloader == "efibootguard":
Signature · 1 line
2.25.1
#1 lore raw
Quoted 5 lines · Srinuvasan A

From: Srinuvasan A <[email protected]>

In this commit "71039175" onwords ISAR supports additional overrides ie:
BASE_DISTRO_CODENAME, hence remove the local one.

Ah, good cleanup!

Quoted 12 lines
---
 kas/opt/ebg-swu.yml                            | 4 +---
 recipes-core/images/cip-core-image-security.bb | 2 --
 recipes-core/swupdate/swupdate.inc             | 4 +---
 3 files changed, 2 insertions(+), 8 deletions(-)
kas/opt/ebg-swu.yml +0 -0
index b534c50..62889fb 100644

kas/opt/ebg-swu.yml line 4

Quoted 5 lines
kas/opt/ebg-swu.yml +1 -1
@@ -1,7 +1,7 @@
 #
 # CIP Core, generic profile
 #
-# Copyright (c) Siemens AG, 2021
+# Copyright (c) Siemens AG, 2022

I prefer to convert this into "2021-2022". Will do that while merging.

Quoted 41 lines
kas/opt/ebg-swu.yml +0 -2
 #
 # Authors:
 #  Quirin Gylstorff <[email protected]>
@@ -27,10 +27,8 @@ local_conf_header:
     # Add ovmf binaries for qemu
     IMAGER_BUILD_DEPS_append_qemu-amd64 += "ovmf-binaries"
     # not needed for Debian 11 and later
-    OVERRIDES_append_qemu-amd64 = ":${BASE_DISTRO_CODENAME}"
     DISTRO_APT_SOURCES_append_qemu-amd64_buster = " conf/distro/debian-buster-backports.list"
     DISTRO_APT_PREFERENCES_append_qemu-amd64_buster = " conf/distro/preferences.ovmf-snakeoil.conf"
     # Add U-Boot for qemu
     IMAGER_BUILD_DEPS_append_qemu-arm64 += "u-boot-qemu-arm64"
     IMAGER_BUILD_DEPS_append_qemu-arm += "u-boot-qemu-arm"
-
recipes-core/images/cip-core-image-security.bb +0 -2
index 8ea032c..58a0f98 100644
@@ -40,8 +40,6 @@ IMAGE_PREINSTALL += " \
 	util-linux \
 "
 
-OVERRIDES_append = ":${BASE_DISTRO_CODENAME}"
-
 # Package names based on the distro version
 IMAGE_PREINSTALL_append_buster = " libtss2-esys0"
 IMAGE_PREINSTALL_append_bullseye = " libtss2-esys-3.0.2-0"
recipes-core/swupdate/swupdate.inc +1 -1
index f2d478d..72c116a 100644
@@ -1,7 +1,7 @@
 #
 # CIP Core, generic profile
 #
-# Copyright (c) Siemens AG, 2021
+# Copyright (c) Siemens AG, 2022
 #
 # Authors:
 #  Quirin Gylstorff <[email protected]>

recipes-core/swupdate/swupdate.inc HOMEPAGE= "https://github.com/sbabic/swupdate" · line 18

Quoted 8 lines
recipes-core/swupdate/swupdate.inc +0 -2
@@ -13,8 +13,6 @@ HOMEPAGE= "https://github.com/sbabic/swupdate"
 LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://${LAYERDIR_isar}/licenses/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe"
 
-OVERRIDES_append = ":${BASE_DISTRO_CODENAME}"
-
 def get_bootloader_build_profile(d):
     bootloader = d.getVar("SWUPDATE_BOOTLOADER") or ""
     if bootloader == "efibootguard":

Thanks, merged to next,
Jan

Signature · 2 lines
Siemens AG, Technology
Competence Center Embedded Linux