public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] meta/rootfs: remove isar-apt preferences when removing .list
@ 2019-10-30 14:54 Henning Schild
  2019-11-12  5:14 ` Baurzhan Ismagulov
  0 siblings, 1 reply; 2+ messages in thread
From: Henning Schild @ 2019-10-30 14:54 UTC (permalink / raw)
  To: isar-users; +Cc: Henning Schild

From: Henning Schild <henning.schild@siemens.com>

To truly roll back rootfs_configure_isar_apt we need to also get rid of
the preferences file connected to that repository.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
---
 meta/classes/rootfs.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/rootfs.bbclass b/meta/classes/rootfs.bbclass
index 1da27ff..3f13c8d 100644
--- a/meta/classes/rootfs.bbclass
+++ b/meta/classes/rootfs.bbclass
@@ -223,6 +223,7 @@ rootfs_postprocess_finalize() {
         rm -f "${ROOTFSDIR}/etc/apt/apt.conf.d/55isar-fallback.conf"
 
         rm -f "${ROOTFSDIR}/etc/apt/sources.list.d/isar-apt.list"
+        rm -f "${ROOTFSDIR}/etc/apt/preferences.d/isar-apt"
         rm -f "${ROOTFSDIR}/etc/apt/sources.list.d/base-apt.list"
 
         mv "${ROOTFSDIR}/etc/apt/sources-list" \
-- 
2.23.0


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

* Re: [PATCH] meta/rootfs: remove isar-apt preferences when removing .list
  2019-10-30 14:54 [PATCH] meta/rootfs: remove isar-apt preferences when removing .list Henning Schild
@ 2019-11-12  5:14 ` Baurzhan Ismagulov
  0 siblings, 0 replies; 2+ messages in thread
From: Baurzhan Ismagulov @ 2019-11-12  5:14 UTC (permalink / raw)
  To: isar-users

On Wed, Oct 30, 2019 at 03:54:01PM +0100, Henning Schild wrote:
> To truly roll back rootfs_configure_isar_apt we need to also get rid of
> the preferences file connected to that repository.

Applied to next, thanks.

With kind regards,
Baurzhan.

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

end of thread, other threads:[~2019-11-12  5:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-30 14:54 [PATCH] meta/rootfs: remove isar-apt preferences when removing .list Henning Schild
2019-11-12  5:14 ` Baurzhan Ismagulov

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