public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] classes/image-tools-extension.bbclass: remove prepare isar-apt part
@ 2024-01-05 11:15 Srinuvasan Arjunan
  2024-01-05 12:51 ` Jan Kiszka
  0 siblings, 1 reply; 3+ messages in thread
From: Srinuvasan Arjunan @ 2024-01-05 11:15 UTC (permalink / raw)
  To: isar-users; +Cc: jan.kiszka, Srinuvasan

From: Srinuvasan <srinuvasan.a@siemens.com>

Now isar-apt configured during sbuildchroot generation, hence remove the prepare
isar-apt part from the imager_run method.

This changes depends on [1]

[1]: https://groups.google.com/g/isar-users/c/k8ZNw3OkWLw

Signed-off-by: Srinuvasan <srinuvasan.a@siemens.com>
---
 meta/classes/image-tools-extension.bbclass | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/meta/classes/image-tools-extension.bbclass b/meta/classes/image-tools-extension.bbclass
index 58799fcf..46bdf78b 100644
--- a/meta/classes/image-tools-extension.bbclass
+++ b/meta/classes/image-tools-extension.bbclass
@@ -44,19 +44,6 @@ imager_run() {
             distro="${HOST_BASE_DISTRO}-${BASE_DISTRO_CODENAME}"
         fi
 
-        # prepare isar-apt
-        schroot -r -c ${session_id} -d / -u root -- sh -c " \
-            mkdir -p '/etc/apt/sources.list.d'
-            echo 'deb [trusted=yes] file:///isar-apt ${DEBDISTRONAME} main' > \
-                '/etc/apt/sources.list.d/isar-apt.list'
-
-            mkdir -p '/etc/apt/preferences.d'
-            cat << EOF > '/etc/apt/preferences.d/isar-apt'
-Package: *
-Pin: release n=${DEBDISTRONAME}
-Pin-Priority: 1000
-EOF"
-
         E="${@ isar_export_proxies(d)}"
         deb_dl_dir_import ${schroot_dir} ${distro}
         schroot -r -c ${session_id} -d / -u root -- sh -c " \
-- 
2.34.1


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

end of thread, other threads:[~2024-01-08  4:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-05 11:15 [PATCH] classes/image-tools-extension.bbclass: remove prepare isar-apt part Srinuvasan Arjunan
2024-01-05 12:51 ` Jan Kiszka
2024-01-08  4:40   ` Srinuvasan Arjunan

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