public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Uladzimir Bely <ubely@ilbers.de>
To: "isar-users@googlegroups.com" <isar-users@googlegroups.com>
Cc: "Moessbauer, Felix" <felix.moessbauer@siemens.com>
Subject: Re: Rebuild issues in imaging steps with local packages
Date: Mon, 30 Jan 2023 09:43:27 +0300	[thread overview]
Message-ID: <25779249.1r3eYUQgxm@hp> (raw)
In-Reply-To: <9d1cf95e1c65bb75e691e88a425495fd969e30cd.camel@siemens.com>

In mail from Monday, 30 January 2023 06:24:37 +03 user Moessbauer, Felix 
wrote:
> Dear Devs,
> 
> I just observed a nasty rebuild issue in the imaging step:
> 
> When building a custom package that is later used in the IMAGER_INSTALL
> and IMAGER_BUILD_DEPS, this package does ONLY get updated on version
> changes. This can be checked by inspecting log.do_install_imager_deps
> and checking for a line "<package> is already the newest version".
> 
> I found this while debugging why a fresh build of the "Add BSP for
> StarFiveTech VisionFive2 Risc-V board" (v1) series on the ML is broken
> for another user. The reason was simply that I optimized it locally and
> made changes to the visionfive2-u-boot-firmware, which were not
> included in the final image.
> 
> This behavior is different from how packages in the rootfs are handled,
> but I did not debug yet why this is different. Maybe Adriaan can help.
> It could also well be, that this issue is automatically fixed when
> moving the imaging to the schroot.
> 
> Best regards,
> Felix


Hello.

We have a similar issue in our internal bug-tracking system, discovered 
recently. In short:

- Image is built 1st time.
- Some patch is applied to U-Boot
- Image is rebuilt but doesn't contain the _updated_ U-Boot package due to the 
same version number comparing to the 1st build.

It happend only with u-boot packages since it is not installed into the output 
rootfs (boot partition has another source), but is handled in buildchroot.

Quick fix with adding '--reinstall' in imager "apt-get install" routines 
worked well, so it may be used for debugging.

Moving imager to schroot (it's under development right now) should also help 
to solve the issue.




  reply	other threads:[~2023-01-30  6:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-30  3:24 Moessbauer, Felix
2023-01-30  6:43 ` Uladzimir Bely [this message]
2023-01-30  7:08   ` Moessbauer, Felix
2023-01-30  8:15     ` Uladzimir Bely

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=25779249.1r3eYUQgxm@hp \
    --to=ubely@ilbers.de \
    --cc=felix.moessbauer@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