public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: Cedric Hombourger <chombourger@gmail.com>
Cc: isar-users <isar-users@googlegroups.com>,
	Maksim Osipov <mosipov@ilbers.de>
Subject: Re: [PATCH v3 1/3] dpkg: move installation of dependencies into dpkg_prepare
Date: Sat, 1 Sep 2018 11:31:05 +0200	[thread overview]
Message-ID: <c386a3c6-b954-126a-76ad-454337eab06f@web.de> (raw)
In-Reply-To: <C011FCA7-16A1-4661-A276-55EB16667565@gmail.com>

Hi Cedric,

On 2018-09-01 10:44, Cedric Hombourger wrote:
> Hi Jan,
> 
> Please let me know if there is anything that I can help you with
> I was going to review existing documentation and propose updates around 
> recipe creation / APIs
> 

Thanks a lot, I would specifically appreciate your review. I've written 
some changes already and also started a RECIPE-API-CHANGELOG.md from the 
last release onward. Series is currently in CI, I will send later.

Jan

>> On Sep 1, 2018, at 8:58 AM, Jan Kiszka <jan.kiszka@web.de 
>> <mailto:jan.kiszka@web.de>> wrote:
>>
>> On 2018-08-31 11:05, [ext] Jan Kiszka wrote:
>>> On 2018-08-31 10:41, Jan Kiszka wrote:
>>>> On 2018-08-31 10:33, chombourger@gmail.com 
>>>> <mailto:chombourger@gmail.com> wrote:
>>>>>
>>>>>
>>>>> On Friday, August 31, 2018 at 10:28:51 AM UTC+2, Jan Kiszka wrote:
>>>>>
>>>>> Re-reading the patch with my new knowledge:
>>>>>
>>>>> On 2018-08-26 08:21, Cedric Hombourger wrote:
>>>>> > diff --git a/meta/recipes-kernel/linux-module/module.inc
>>>>> b/meta/recipes-kernel/linux-module/module.inc
>>>>> > index 3075f44..3a3cab1 100644
>>>>> > --- a/meta/recipes-kernel/linux-module/module.inc
>>>>> > +++ b/meta/recipes-kernel/linux-module/module.inc
>>>>> > @@ -17,7 +17,7 @@ AUTOLOAD ?= "0"
>>>>> >
>>>>> > � inherit dpkg
>>>>> >
>>>>> > -dpkg_runbuild_prepend() {
>>>>> > +do_prepare_prepend() {
>>>>>
>>>>> Shouldn't that be dpgk_prepare_append()?
>>>>>
>>>>>
>>>>> Wouldn't it be too late?
>>>>> I am afraid that debian/control wouldn't be complete and prevent 
>>>>> installation of build dependencies
>>>>>
>>>>
>>>> Right, we need that for the installation...
>>>>
>>>> I was wondering, though, if it wouldn't be cleaner to hook additions 
>>>> to the inner handler.
>>>>
>>>> Anyway, all this is not mature yet:
>>>>
>>>> - debianization does not require locking, only the dependency
>>>> installation does
>>>>
>>>> - I'm quite sure something is broken now with dpkg-raw, because there is
>>>> no lock involved, but we can pull packages that way as well
>>>>
>>> Yep, confirmed: We so far installed the dependencies of both regular 
>>> and raw packages in the build script under the lock. Now you pulled 
>>> that installation into deps.sh, but that script is not executed by 
>>> dpkg-raw, nor is there any lock on the related prepare step.
>>> Can we fix this quickly? Or better revert and redo the series (given 
>>> the other issues)?
>>
>> I have to correct myself: dpkg-raw packages only have runtime 
>> dependencies, no Build-Depends. Thus they never installed anything 
>> into the buildchroot and also never used the build script - we are 
>> fine in this regard.
>>
>> I'll write a few patches to address the other issues.
>>
>> Jan
>>
>>> Jan
>>>> - we should cleanly name the steps, as you suggested, so that users know
>>>> what to overwrite / append /prepend
>>>>
>>>> Jan
> 


  reply	other threads:[~2018-09-01  9:31 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-22 11:34 [PATCH 0/1] acquire database lock when calling reprepro Cedric Hombourger
2018-08-22 11:34 ` [PATCH 1/1] dpkg: acquire " Cedric Hombourger
2018-08-22 12:20   ` Jan Kiszka
2018-08-22 12:48     ` Hombourger, Cedric
2018-08-22 13:41       ` Henning Schild
2018-08-22 13:47         ` Hombourger, Cedric
2018-08-22 13:48         ` Jan Kiszka
2018-08-26  6:21         ` [PATCH v3 1/3] dpkg: move installation of dependencies into dpkg_prepare Cedric Hombourger
2018-08-26  6:21           ` [PATCH v3 2/3] linux: leverage dpkg_prepare to install build dependencies Cedric Hombourger
2018-08-26  6:21           ` [PATCH v3 3/3] dpkg+linux: use Isar's lock via do_prepare[lockfiles] instead of flock Cedric Hombourger
2018-08-28 12:12           ` [PATCH v3 1/3] dpkg: move installation of dependencies into dpkg_prepare Maxim Yu. Osipov
2018-08-31  8:10           ` Jan Kiszka
2018-08-31  8:15             ` chombourger
2018-08-31  8:21               ` Jan Kiszka
2018-08-31  8:28           ` Jan Kiszka
2018-08-31  8:33             ` chombourger
2018-08-31  8:41               ` Jan Kiszka
2018-08-31  9:05                 ` Jan Kiszka
2018-09-01  6:58                   ` Jan Kiszka
2018-09-01  8:44                     ` Cedric Hombourger
2018-09-01  9:31                       ` Jan Kiszka [this message]
2018-08-22 11:58 ` [PATCH 0/1] acquire database lock when calling reprepro Alexander Smirnov
2018-08-22 12:07   ` Hombourger, Cedric
2018-08-22 12:47 ` [PATCH v2] dpkg: acquire " Cedric Hombourger

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=c386a3c6-b954-126a-76ad-454337eab06f@web.de \
    --to=jan.kiszka@web.de \
    --cc=chombourger@gmail.com \
    --cc=isar-users@googlegroups.com \
    --cc=mosipov@ilbers.de \
    /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