public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "MOESSBAUER, Felix" <felix.moessbauer@siemens.com>
To: "ubely@ilbers.de" <ubely@ilbers.de>,
	"Niedermayr, BENEDIKT" <benedikt.niedermayr@siemens.com>,
	"isar-users@googlegroups.com" <isar-users@googlegroups.com>
Cc: "quirin.gylstorff@siemens.com" <quirin.gylstorff@siemens.com>,
	"venkata.pyla@toshiba-tsip.com" <venkata.pyla@toshiba-tsip.com>
Subject: Re: [PATCH 1/2] remove conditional SDE paths
Date: Wed, 24 Apr 2024 07:24:01 +0000	[thread overview]
Message-ID: <dfaa5c886b88431edc08f07336226b29d7f36ee7.camel@siemens.com> (raw)
In-Reply-To: <2e3905fc81549945746982e8f7d45b6f612420e1.camel@ilbers.de>

On Tue, 2024-04-23 at 22:49 +0300, Uladzimir Bely wrote:
> On Mon, 2024-04-22 at 20:58 +0200, 'Felix Moessbauer' via isar-users
> wrote:
> > 
> >  
> >  ROOTFS_POSTPROCESS_COMMAND += "image_postprocess_accounts"
> >  python image_postprocess_accounts() {
> > -    import os
> > -    if d.getVar("SOURCE_DATE_EPOCH") != None:
> > -        os.environ["SOURCE_DATE_EPOCH"] =
> > d.getVar("SOURCE_DATE_EPOCH")
> > - 
> 
> During testing in CI together with other patches from the mailist,
> faced a small merge/logical conflict with patch "[v3] image-account-
> extenstion: rebuild on varflag changes" that adds line
> +image_postprocess_accounts[vardeps] += "USERS GROUPS
> SOURCE_DATE_EPOCH"
> 
> I guess, it should become now:
> +image_postprocess_accounts[vardeps] += "USERS GROUPS"
> , is not it?

Yes, correct. Can you fix this while merging, or shall I resend a v2?

Felix

> 
> >      image_create_groups(d)
> >      image_create_users(d)
> >  }
> > diff --git a/meta/classes/image.bbclass
> > b/meta/classes/image.bbclass
> > index 98741da0..34faa6af 100644
> > --- a/meta/classes/image.bbclass
> > +++ b/meta/classes/image.bbclass
> > @@ -289,18 +289,6 @@ python() {
> >      d.appendVar('IMAGER_BUILD_DEPS', ' ' + '
> > '.join(sorted(imager_build_deps)))
> >  }
> >  
> > -
> > -# make generation of initramfs reproducible
> > -# note: this function is shared across multiple rootfs, but we
> > only
> > want to make the
> > -#       image rootfs reproducible. Otherwise changes of
> > SOURCE_DATE_EPOCH would
> > -#       invalidate the SSTATE entries for most packages, even if
> > they don't use the
> > -#       global SOURCE_DATE_EPOCH variable.
> > -rootfs_install_pkgs_install:prepend() {
> > -    if [ ! -z "${SOURCE_DATE_EPOCH}" ]; then
> > -        export SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH}"
> > -    fi
> > -}
> > -
-- 
Siemens AG, Technology
Linux Expert Center



  reply	other threads:[~2024-04-24  7:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-22 18:58 Felix Moessbauer
2024-04-22 18:58 ` [PATCH 2/2] do not log clamped file mtimes Felix Moessbauer
2024-04-23 19:49 ` [PATCH 1/2] remove conditional SDE paths Uladzimir Bely
2024-04-24  7:24   ` MOESSBAUER, Felix [this message]
2024-04-24  7:51     ` Uladzimir Bely
2024-04-30  7:03 ` 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=dfaa5c886b88431edc08f07336226b29d7f36ee7.camel@siemens.com \
    --to=felix.moessbauer@siemens.com \
    --cc=benedikt.niedermayr@siemens.com \
    --cc=isar-users@googlegroups.com \
    --cc=quirin.gylstorff@siemens.com \
    --cc=ubely@ilbers.de \
    --cc=venkata.pyla@toshiba-tsip.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