* [PATCH 0/1] buildchroot: allow unauthenticated sources for mk-build-deps
@ 2018-02-04 9:40 Cedric_Hombourger
2018-02-04 9:40 ` [PATCH 1/1] buildchroot: allow unauthenticated sources when installing dependencies Cedric_Hombourger
0 siblings, 1 reply; 5+ messages in thread
From: Cedric_Hombourger @ 2018-02-04 9:40 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
From: Cedric Hombourger <Cedric_Hombourger@mentor.com>
While multistrap would accept unauthenticated sources (with a warning),
mk-build-deps (called while building custom packages) would not. This
change may be required to support the on-going apt-isar efforts but
also anyone trying to use the repository built by isar (deploy/apt) as
a source feed.
Cedric Hombourger (1):
buildchroot: allow unauthenticated sources when installing
dependencies
meta/recipes-devtools/buildchroot/files/build.sh | 3 +++
1 file changed, 3 insertions(+)
--
2.11.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/1] buildchroot: allow unauthenticated sources when installing dependencies
2018-02-04 9:40 [PATCH 0/1] buildchroot: allow unauthenticated sources for mk-build-deps Cedric_Hombourger
@ 2018-02-04 9:40 ` Cedric_Hombourger
2018-02-04 12:04 ` Jan Kiszka
0 siblings, 1 reply; 5+ messages in thread
From: Cedric_Hombourger @ 2018-02-04 9:40 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
From: Cedric Hombourger <Cedric_Hombourger@mentor.com>
While multistrap would accept unauthenticated sources (with a warning),
mk-build-deps (called while building custom packages) would not.
Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
---
meta/recipes-devtools/buildchroot/files/build.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-devtools/buildchroot/files/build.sh b/meta/recipes-devtools/buildchroot/files/build.sh
index 760ebc8..b6075b3 100644
--- a/meta/recipes-devtools/buildchroot/files/build.sh
+++ b/meta/recipes-devtools/buildchroot/files/build.sh
@@ -9,6 +9,9 @@ cd $1
# Install command to be used by mk-build-deps
install_cmd="apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends -y"
+# Allow unauthenticated feeds
+install_cmd="${install_cmd} --allow-unauthenticated"
+
# Install all build deps
mk-build-deps -t "${install_cmd}" -i -r debian/control
--
2.11.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] buildchroot: allow unauthenticated sources when installing dependencies
2018-02-04 9:40 ` [PATCH 1/1] buildchroot: allow unauthenticated sources when installing dependencies Cedric_Hombourger
@ 2018-02-04 12:04 ` Jan Kiszka
2018-02-04 15:42 ` Hombourger, Cedric
0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2018-02-04 12:04 UTC (permalink / raw)
To: Cedric_Hombourger, isar-users
On 2018-02-04 10:40, Cedric_Hombourger@mentor.com wrote:
> From: Cedric Hombourger <Cedric_Hombourger@mentor.com>
>
> While multistrap would accept unauthenticated sources (with a warning),
> mk-build-deps (called while building custom packages) would not.
>
Strangely, I was already doing that successfully, without the change below.
Jan
> Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
> ---
> meta/recipes-devtools/buildchroot/files/build.sh | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/meta/recipes-devtools/buildchroot/files/build.sh b/meta/recipes-devtools/buildchroot/files/build.sh
> index 760ebc8..b6075b3 100644
> --- a/meta/recipes-devtools/buildchroot/files/build.sh
> +++ b/meta/recipes-devtools/buildchroot/files/build.sh
> @@ -9,6 +9,9 @@ cd $1
> # Install command to be used by mk-build-deps
> install_cmd="apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends -y"
>
> +# Allow unauthenticated feeds
> +install_cmd="${install_cmd} --allow-unauthenticated"
> +
> # Install all build deps
> mk-build-deps -t "${install_cmd}" -i -r debian/control
>
>
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] buildchroot: allow unauthenticated sources when installing dependencies
2018-02-04 12:04 ` Jan Kiszka
@ 2018-02-04 15:42 ` Hombourger, Cedric
2018-02-05 7:02 ` Jan Kiszka
0 siblings, 1 reply; 5+ messages in thread
From: Hombourger, Cedric @ 2018-02-04 15:42 UTC (permalink / raw)
To: isar-users, Jan Kiszka
[-- Attachment #1: Type: text/plain, Size: 1520 bytes --]
Hi Jan,
Do you have any build deps pulling from the unauthenticated repo? There are no issues with packages to be installed into the image (or buildchroot when pulled explicitly) ; only with dependencies
On Sun, Feb 4, 2018 at 1:04 PM +0100, "Jan Kiszka" <jan.kiszka@siemens.com<mailto:jan.kiszka@siemens.com>> wrote:
On 2018-02-04 10:40, Cedric_Hombourger@mentor.com wrote:
> From: Cedric Hombourger
>
> While multistrap would accept unauthenticated sources (with a warning),
> mk-build-deps (called while building custom packages) would not.
>
Strangely, I was already doing that successfully, without the change below.
Jan
> Signed-off-by: Cedric Hombourger
> ---
> meta/recipes-devtools/buildchroot/files/build.sh | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/meta/recipes-devtools/buildchroot/files/build.sh b/meta/recipes-devtools/buildchroot/files/build.sh
> index 760ebc8..b6075b3 100644
> --- a/meta/recipes-devtools/buildchroot/files/build.sh
> +++ b/meta/recipes-devtools/buildchroot/files/build.sh
> @@ -9,6 +9,9 @@ cd $1
> # Install command to be used by mk-build-deps
> install_cmd="apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends -y"
>
> +# Allow unauthenticated feeds
> +install_cmd="${install_cmd} --allow-unauthenticated"
> +
> # Install all build deps
> mk-build-deps -t "${install_cmd}" -i -r debian/control
>
>
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
[-- Attachment #2: Type: text/html, Size: 2490 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] buildchroot: allow unauthenticated sources when installing dependencies
2018-02-04 15:42 ` Hombourger, Cedric
@ 2018-02-05 7:02 ` Jan Kiszka
0 siblings, 0 replies; 5+ messages in thread
From: Jan Kiszka @ 2018-02-05 7:02 UTC (permalink / raw)
To: Hombourger, Cedric, isar-users
On 2018-02-04 16:42, Hombourger, Cedric wrote:
> Hi Jan,
>
> Do you have any build deps pulling from the unauthenticated repo? There
> are no issues with packages to be installed into the image (or
> buildchroot when pulled explicitly) ; only with dependencies
>
Yes, I do (jailhouse kernel driver depending on custom kernel-headers).
The difference is that I have Alex' "build.sh: Force 'yes' for apt"
patch applied.
Please make sure to check the list for pending patching and clarify in
the cover letter e.g. how yours relate to them. Also your reproducible
build series seems to have some overlap.
Thanks,
Jan
>
>
> On Sun, Feb 4, 2018 at 1:04 PM +0100, "Jan Kiszka"
> <jan.kiszka@siemens.com <mailto:jan.kiszka@siemens.com>> wrote:
>
> On 2018-02-04 10:40, Cedric_Hombourger@mentor.com wrote:
> > From: Cedric Hombourger > > While multistrap would accept unauthenticated sources (with a
> warning), > mk-build-deps (called while building custom packages)
> would not. > Strangely, I was already doing that successfully,
> without the change below. Jan > Signed-off-by: Cedric Hombourger >
> --- > meta/recipes-devtools/buildchroot/files/build.sh | 3 +++ > 1
> file changed, 3 insertions(+) > > diff --git
> a/meta/recipes-devtools/buildchroot/files/build.sh
> b/meta/recipes-devtools/buildchroot/files/build.sh > index
> 760ebc8..b6075b3 100644 > ---
> a/meta/recipes-devtools/buildchroot/files/build.sh > +++
> b/meta/recipes-devtools/buildchroot/files/build.sh > @@ -9,6 +9,9 @@
> cd $1 > # Install command to be used by mk-build-deps >
> install_cmd="apt-get -o Debug::pkgProblemResolver=yes
> --no-install-recommends -y" > > +# Allow unauthenticated feeds >
> +install_cmd="${install_cmd} --allow-unauthenticated" > + > #
> Install all build deps > mk-build-deps -t "${install_cmd}" -i -r
> debian/control > > -- Siemens AG, Corporate Technology, CT RDA IOT
> SES-DE Corporate Competence Center Embedded Linux
>
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-02-05 7:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-04 9:40 [PATCH 0/1] buildchroot: allow unauthenticated sources for mk-build-deps Cedric_Hombourger
2018-02-04 9:40 ` [PATCH 1/1] buildchroot: allow unauthenticated sources when installing dependencies Cedric_Hombourger
2018-02-04 12:04 ` Jan Kiszka
2018-02-04 15:42 ` Hombourger, Cedric
2018-02-05 7:02 ` Jan Kiszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox