public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: isar-users <isar-users@googlegroups.com>
Subject: Re: [PATCH] Forward proxy settings to dpkg build
Date: Mon, 5 Feb 2018 18:41:16 +0100	[thread overview]
Message-ID: <e57a2b4c-627d-ee1d-3022-ae9ecc8a9a11@siemens.com> (raw)
In-Reply-To: <8a3e76f7-63c6-8c05-4163-9fb034a2f07f@siemens.com>

On 2018-02-05 12:49, [ext] Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> Required when the package needs to install build dependencies.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>  meta/classes/dpkg.bbclass | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/classes/dpkg.bbclass b/meta/classes/dpkg.bbclass
> index 4dda7d8..06f0579 100644
> --- a/meta/classes/dpkg.bbclass
> +++ b/meta/classes/dpkg.bbclass
> @@ -5,5 +5,6 @@ inherit dpkg-base
>  
>  # Build package from sources using build script
>  dpkg_runbuild() {
> -    sudo chroot ${BUILDCHROOT_DIR} /build.sh ${PP}/${S}
> +    E="${@ bb.utils.export_proxies(d)}"
> +    sudo -E chroot ${BUILDCHROOT_DIR} /build.sh ${PP}/${S}
>  }
> 

Sorry, that was based off some other, not yet published changes. Will
include it in a larger series so that things fit, stay tuned.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

      reply	other threads:[~2018-02-05 17:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-05 11:49 Jan Kiszka
2018-02-05 17:41 ` Jan Kiszka [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=e57a2b4c-627d-ee1d-3022-ae9ecc8a9a11@siemens.com \
    --to=jan.kiszka@siemens.com \
    --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