public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Uladzimir Bely <ubely@ilbers.de>
To: isar-users@googlegroups.com
Subject: [PATCH v3 5/5] draft: make isar-apt repo visible for base-apt
Date: Fri, 25 Mar 2022 11:32:26 +0100	[thread overview]
Message-ID: <20220325103226.27033-6-ubely@ilbers.de> (raw)
In-Reply-To: <20220325103226.27033-1-ubely@ilbers.de>

some packages in isar-apt (like sshd-regen-keys) may depend on debian
packages (openssh-server). So, base-apt need access to isar-apt repo
to be able to download these deps.

TODO: make it work in cross-build mode
---
 scripts/debrepo | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/debrepo b/scripts/debrepo
index fba8342e..f6e95cfe 100755
--- a/scripts/debrepo
+++ b/scripts/debrepo
@@ -91,6 +91,8 @@ class DebRepo(object):
         f = open(self.workdir + "/etc/apt/sources.list", "w")
         f.write("deb [arch=" + self.arch + "] " + self.mirror + " " + self.codename + " " + self.components + "\n")
         f.write("deb-src [arch=" + self.arch + "] " + self.mirror + " " + self.codename + " " + self.components + "\n")
+        f.write("deb [trusted=yes] file://" + self.workdir + "/../../deploy/isar-apt/" + self.distro + "-" + self.codename + "-" + self.arch + "/apt/" + self.distro + "-" + self.codename + " isar main\n")
+
         f.flush
         f.close
 
-- 
2.20.1


      parent reply	other threads:[~2022-03-25 10:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-25 10:32 [PATCH v3 0/5] Improving base-apt usage PoC Uladzimir Bely
2022-03-25 10:32 ` [PATCH v3 1/5] Add debrepo python script handling base-apt Uladzimir Bely
2022-03-25 10:32 ` [PATCH v3 2/5] meta: Use cached base-apt repo to debootstrap Uladzimir Bely
2022-03-25 10:32 ` [PATCH v3 3/5] meta: always use base-apt repo in local mode Uladzimir Bely
2022-03-25 10:32 ` [PATCH v3 4/5] base-apt: Predownload packages to base-apt before install Uladzimir Bely
2022-03-30 13:41   ` Moessbauer, Felix
2022-03-25 10:32 ` Uladzimir Bely [this message]

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=20220325103226.27033-6-ubely@ilbers.de \
    --to=ubely@ilbers.de \
    --cc=isar-users@googlegroups.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