public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "'MOESSBAUER, Felix' via isar-users" <isar-users@googlegroups.com>
To: "gcvidyasagar@gmail.com" <gcvidyasagar@gmail.com>,
	"isar-users@googlegroups.com" <isar-users@googlegroups.com>
Cc: "shrikant.bobade@siemens.com" <shrikant.bobade@siemens.com>,
	"cedric.hombourger@siemens.com" <cedric.hombourger@siemens.com>,
	"Kiszka, Jan" <jan.kiszka@siemens.com>,
	"vidyasagar.gc@siemens.com" <vidyasagar.gc@siemens.com>
Subject: Re: [PATCH] rootfs: fix base-apt.list cleanup
Date: Thu, 27 Feb 2025 16:10:56 +0000	[thread overview]
Message-ID: <718ae8e9938430d8cdfb7d63c0db694c407e00fb.camel@siemens.com> (raw)
In-Reply-To: <20250219195046.15038-1-vidyasagar.gc@siemens.com>

On Thu, 2025-02-20 at 01:20 +0530, Vidyasagar G C wrote:
> Ensure proper removal of all files matching *base-apt.list by
> removing incorrect quoting, which prevented wildcard expansion.
> 
> Signed-off-by: Vidyasagar G C <vidyasagar.gc@siemens.com>
> ---
>  meta/classes/rootfs.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/classes/rootfs.bbclass
> b/meta/classes/rootfs.bbclass
> index 205da640..2348e269 100644
> --- a/meta/classes/rootfs.bbclass
> +++ b/meta/classes/rootfs.bbclass
> @@ -368,7 +368,7 @@ rootfs_cleanup_base_apt[weight] = "2"
>  rootfs_cleanup_base_apt() {
>      sudo -s <<'EOSUDO'
>          set -e
> -        rm -f "${ROOTFSDIR}/etc/apt/sources.list.d/*base-apt.list"
> +        rm -f "${ROOTFSDIR}/etc/apt/sources.list.d/"*base-apt.list

Hi,

this only covers the base-apt part, but not the bootstrap part.
We also need to remove /etc/apt/sources.list.d/0000bootstrap.list.

In case of snapshot mirrors, this re-injects the snapshots into apt.

Felix

>  EOSUDO
>  }
>  
> -- 
> 2.39.5
> 

-- 
Siemens AG
Linux Expert Center
Friedrich-Ludwig-Bauer-Str. 3
85748 Garching, Germany


-- 
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/718ae8e9938430d8cdfb7d63c0db694c407e00fb.camel%40siemens.com.

  parent reply	other threads:[~2025-02-27 16:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-19 19:50 Vidyasagar G C
2025-02-27  7:49 ` Uladzimir Bely
2025-02-27 16:10 ` 'MOESSBAUER, Felix' via isar-users [this message]
2025-03-03 11:42 ` [PATCH v2 1/3] " Vidyasagar G C
2025-03-03 15:31   ` 'MOESSBAUER, Felix' via isar-users
2025-03-04  6:59 ` [PATCH v2 3/3] fix(rootfs): cleanup leftover 0000bootstrap.list Vidyasagar G C
2025-03-13  4:38   ` Uladzimir Bely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=718ae8e9938430d8cdfb7d63c0db694c407e00fb.camel@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=cedric.hombourger@siemens.com \
    --cc=felix.moessbauer@siemens.com \
    --cc=gcvidyasagar@gmail.com \
    --cc=jan.kiszka@siemens.com \
    --cc=shrikant.bobade@siemens.com \
    --cc=vidyasagar.gc@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox