public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] mmdebstrap: Fix overly strict overrides for MMHOOKS
@ 2024-11-20 22:22 'Jan Kiszka' via isar-users
  2024-11-27  7:10 ` Uladzimir Bely
  0 siblings, 1 reply; 2+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2024-11-20 22:22 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

From: Jan Kiszka <jan.kiszka@siemens.com>

Using DISTROOVERRIDE breaks downstream when it sets own DISTRO values.
Use BASE_DISTRO_CODENAME, just like elsewhere.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc b/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc
index 1043f2d1..9a27851d 100644
--- a/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc
+++ b/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc
@@ -19,8 +19,8 @@ MM_HOOK_JESSIE = "/usr/share/mmdebstrap/hooks/jessie-or-older"
 DPKG_HOOKS ?= "${@'--hook-dir='+d.getVar('MM_HOOK_JESSIE') \
               if os.path.isdir(d.getVar('MM_HOOK_JESSIE')) \
               else '--customize-hook=\'touch /var/lib/dpkg/available\''}"
-MMHOOKS:ubuntu-focal ?= "${DPKG_HOOKS}"
-MMHOOKS:debian-buster ?= "${DPKG_HOOKS}"
+MMHOOKS:focal ?= "${DPKG_HOOKS}"
+MMHOOKS:buster ?= "${DPKG_HOOKS}"
 
 DISTRO_BOOTSTRAP_KEYRING = "${WORKDIR}/distro-keyring.gpg"
 
-- 
2.43.0

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/4a12af7a-11ab-40dd-b5aa-b7b7efa87507%40siemens.com.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] mmdebstrap: Fix overly strict overrides for MMHOOKS
  2024-11-20 22:22 [PATCH] mmdebstrap: Fix overly strict overrides for MMHOOKS 'Jan Kiszka' via isar-users
@ 2024-11-27  7:10 ` Uladzimir Bely
  0 siblings, 0 replies; 2+ messages in thread
From: Uladzimir Bely @ 2024-11-27  7:10 UTC (permalink / raw)
  To: Jan Kiszka, isar-users

On Wed, 2024-11-20 at 23:22 +0100, 'Jan Kiszka' via isar-users wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> Using DISTROOVERRIDE breaks downstream when it sets own DISTRO
> values.
> Use BASE_DISTRO_CODENAME, just like elsewhere.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>  meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc
> b/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc
> index 1043f2d1..9a27851d 100644
> --- a/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc
> +++ b/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc
> @@ -19,8 +19,8 @@ MM_HOOK_JESSIE =
> "/usr/share/mmdebstrap/hooks/jessie-or-older"
>  DPKG_HOOKS ?= "${@'--hook-dir='+d.getVar('MM_HOOK_JESSIE') \
>                if os.path.isdir(d.getVar('MM_HOOK_JESSIE')) \
>                else '--customize-hook=\'touch
> /var/lib/dpkg/available\''}"
> -MMHOOKS:ubuntu-focal ?= "${DPKG_HOOKS}"
> -MMHOOKS:debian-buster ?= "${DPKG_HOOKS}"
> +MMHOOKS:focal ?= "${DPKG_HOOKS}"
> +MMHOOKS:buster ?= "${DPKG_HOOKS}"
>  
>  DISTRO_BOOTSTRAP_KEYRING = "${WORKDIR}/distro-keyring.gpg"
>  
> -- 
> 2.43.0
> 

Applied to next, thanks.

-- 
Best regards,
Uladzimir.

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/180b0855765efe4a5387f83062b0b420f16bb69f.camel%40ilbers.de.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-27  7:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-20 22:22 [PATCH] mmdebstrap: Fix overly strict overrides for MMHOOKS 'Jan Kiszka' via isar-users
2024-11-27  7:10 ` Uladzimir Bely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox