public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Henning Schild <henning.schild@siemens.com>
Cc: isar-users <isar-users@googlegroups.com>
Subject: Re: [PATCH] linux-custom: skip linux-libc-dev deployment on downgrade
Date: Wed, 23 Jan 2019 18:43:08 +0100	[thread overview]
Message-ID: <471e7120-1541-5f07-1374-be86fc62d872@siemens.com> (raw)
In-Reply-To: <20190123183039.6b102065@md1za8fc.ad001.siemens.net>

On 23.01.19 18:30, Henning Schild wrote:
> Am Wed, 23 Jan 2019 18:26:08 +0100
> schrieb Jan Kiszka <jan.kiszka@siemens.com>:
> 
>> On 23.01.19 18:23, [ext] Henning Schild wrote:
>>> Ping
>>>    
>>
>> Looks good to me - what scenarios did you test?
> 
> I know the breakages of buildchroot from layers, and the not deploying
> the kernel downgrade helped fix the issues.
> In this repo i honestly only tested the logic and whether the warning
> will pop up. Tested a qemuamd64 with the cip kernel inside Isar.
> 

OK, but we also have a "should upgrade" kernel recipe in Isar: 
linux-mainline_4.19.0.

One question on second thought:

> +
> +# linux-libc-dev causes dependency problems if we downgrade
> +# remove it after the build so the downgraded version does not get deployed
> +LINUX_LIBC_DEV_V=`dpkg-query --show --showformat '${Version}' linux-libc-dev`
> +if dpkg --compare-versions $LINUX_LIBC_DEV_V gt $PV; then
> +	rm -f linux-libc-dev_${PV}*.deb
> +fi

Isn't this assuming we have linux-libc-dev from Debian installed? Is that always 
valid? Wouldn't it be better to query the Debian repo specifically?

Also: $(...) - `...` is old-style.

Jan

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

  reply	other threads:[~2019-01-23 17:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-17 13:03 Henning Schild
2019-01-23 17:23 ` Henning Schild
2019-01-23 17:26   ` Jan Kiszka
2019-01-23 17:30     ` Henning Schild
2019-01-23 17:43       ` Jan Kiszka [this message]
2019-01-23 18:03         ` Henning Schild
2019-01-23 18:13           ` Henning Schild
2019-01-28 11:51 ` [PATCHv2] " Henning Schild
2019-01-28 11:54   ` Jan Kiszka
2019-01-30 10:49   ` 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=471e7120-1541-5f07-1374-be86fc62d872@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=henning.schild@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