From: Claudius Heine <ch@denx.de>
To: Vijai Kumar K <vijaikumar.kanagarajan@gmail.com>,
isar-users@googlegroups.com
Cc: henning.schild@siemens.com, claudius.heine.ext@siemens.com,
jan.kiszka@siemens.com, ibr@radix50.net
Subject: Re: Discussion: Base-apt features
Date: Wed, 25 Sep 2019 12:14:19 +0200 [thread overview]
Message-ID: <d402e690-3dbb-72c7-d0f4-3043ddca6762@denx.de> (raw)
In-Reply-To: <20190925074122.GA12490@lightning>
[-- Attachment #1.1: Type: text/plain, Size: 2722 bytes --]
Hi Vijai,
On 25/09/2019 09.41, Vijai Kumar K wrote:
> Hi All,
>
> Starting this thread to discuss the base-apt features and limitations.
>
> Here I am listing down some of the issues/features and possibly the
> need for them.
>
>
> 1. Support for adding source packages.
>
> Currently we have support only for binaries. The corresponding source
> files could also be added.
Yes. That would be required (AFAIK, but INAL) if the base-apt should be
used to distribute packages to the end-user as per GPL.
>
>
> 2. Support for using password protected keys.
>
> It is a good practice to have the gpg key protected to have an additional
> level of security. Right now ISAR does not have provisions to use password
> protected keys.
There are two use-cases for base-apt AFAIK: Use it to distribute a
repository to the end user and for reproducible/offline build.
I agree that for the former having a password protected key for signing
the repo would be good. For the latter use-case though that might get
cumbersome.
Maybe we should split this use-case and have something different for
reproducible/offline build?
Also 'base-apt' is a bad name...
>
>
> 3. Support for specifying the signing key.
>
> Right now, the signing mechanism uses the default gpg key of the system.
> This is problematic in many ways. Especially for CI. In the current
> implementation, eventhough we specify the key, we are not really using it.
Right, that needs to be fixed.
>
>
> 4. Support for adding packages only to base-apt.
>
> Sometimes, we might need a package to be present in base-apt but not in
> the target yet. Things like dev & dbg packages. It would be good if we
> have something like BASE_APT_INSTALL which contains the list which would
> be populated only in base-apt.
If the base-apt should be used for distributing packages to the
end-user, it might also be useful to exclude certain packages.
>
>
> 5. Refactoring code to consolidate reprepro calls.
>
> Right now, reprepro calls are spread across the build system. Its dependencies
> are spread across too(Handling envs like GNUPGHOME, distributions file etc).
> My first thought is to have a seperate module implemented to handle these
> calls.
Yes, that would be a good refactoring idea.
regards,
Claudius
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de
PGP key: 6FF2 E59F 00C6 BC28 31D8 64C1 1173 CB19 9808 B153
Keyserver: hkp://pool.sks-keyservers.net
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2019-09-25 10:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-25 7:41 Vijai Kumar K
2019-09-25 8:12 ` Baurzhan Ismagulov
2019-09-25 9:02 ` Vijai Kumar K
2019-09-25 9:51 ` Baurzhan Ismagulov
2019-09-25 10:14 ` Claudius Heine [this message]
2019-09-25 10:26 ` Baurzhan Ismagulov
2019-09-25 11:56 ` Claudius Heine
2019-09-25 12:19 ` Baurzhan Ismagulov
2019-09-25 12:29 ` Jan Kiszka
2019-09-25 12:39 ` Claudius Heine
2019-09-26 9:40 ` Henning Schild
2019-09-26 11:02 ` Vijai Kumar K
2019-09-26 11:30 ` Henning Schild
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=d402e690-3dbb-72c7-d0f4-3043ddca6762@denx.de \
--to=ch@denx.de \
--cc=claudius.heine.ext@siemens.com \
--cc=henning.schild@siemens.com \
--cc=ibr@radix50.net \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.com \
--cc=vijaikumar.kanagarajan@gmail.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