public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: cedric_hombourger@mentor.com, isar-users <isar-users@googlegroups.com>
Subject: Re: [PATCH] dpkg: acquire a read (shared) locks while building packages
Date: Fri, 8 Mar 2019 16:27:39 +0100	[thread overview]
Message-ID: <97148d8a-edea-f4c3-d35d-f538512b7c38@siemens.com> (raw)
In-Reply-To: <6cd427c7-087d-44e5-9dcc-082b97eeb0bb@googlegroups.com>

On 08.03.19 16:24, cedric_hombourger@mentor.com wrote:
>     Then let's also patch meta/recipes-kernel/linux/linux-custom.inc analogously
>     and
>     leave external dpkg_runbuild to downstream.
> 
> 
> it should be noted that "make dpkg-deb" does not use debhelper (as I recently 
> found while modifying the kernel builddep script to also package perf and
> wondering why my shlibs variables were not parsed)
> 
> So, to the best of my knowledge, the current (mainline) package scripts from the 
> kernel will not access the dpkg database. so are we wanting to be
> extra safe and grab a shared lock anyway (which will block other bitbake threads 
> from running do_install_deps or do_deploy_deb while the kernel
> builds since bitbake grabs an exclusive lock for these tasks) OR use this 
> "knowledge" to keep some parallelism.
> 
> I am fine either way - just wanted to expose both options :)

Indeed, then we are safe at this point. If you sent v2, please add this reason 
to the changelog. Hopefully, the person will read that who adds kernel tool 
packaging via debhelpers one day. ;)

Thanks,
Jan

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

  reply	other threads:[~2019-03-08 15:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-08  9:57 Cedric Hombourger
2019-03-08 10:04 ` Jan Kiszka
2019-03-08 13:33   ` cedric_hombourger
2019-03-08 15:13     ` Jan Kiszka
2019-03-08 15:24       ` cedric_hombourger
2019-03-08 15:27         ` Jan Kiszka [this message]
2019-03-08 15:49           ` [PATCH v2] " Cedric Hombourger
2019-03-08 16:38             ` Jan Kiszka
2019-03-14  6:21               ` cedric_hombourger
2019-03-15  4:47             ` Maxim Yu. Osipov

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=97148d8a-edea-f4c3-d35d-f538512b7c38@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=cedric_hombourger@mentor.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