public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: <Venkata.Pyla@toshiba-tsip.com>
To: <cip-dev@lists.cip-project.org>
Cc: <henning.schild@siemens.com>, <jan.kiszka@siemens.com>,
	<dinesh.kumar@toshiba-tsip.com>,
	<kazuhiro3.hayashi@toshiba.co.jp>, <isar-users@googlegroups.com>
Subject: RE: Is it safe to remove debconf cache files in isar system
Date: Mon, 14 Feb 2022 19:35:19 +0000	[thread overview]
Message-ID: <OSYPR01MB55422F9AABFB4B49B632AFC5A4339@OSYPR01MB5542.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <OSYPR01MB554254B35D37230B04195ED4A4779@OSYPR01MB5542.jpnprd01.prod.outlook.com>

Hi,

Resending this question in cip-dev mailing list

Thanks,
Venkata.

>-----Original Message-----
>From: pyla venkata(TSIP)
>Sent: 16 December 2021 13:17
>To: isar-users@googlegroups.com
>Cc: henning.schild@siemens.com; Jan Kiszka <jan.kiszka@siemens.com>; dinesh
>kumar(TSIP) <dinesh.kumar@toshiba-tsip.com>; hayashi kazuhiro(林 和宏
>□SWC◯ACT) <kazuhiro3.hayashi@toshiba.co.jp>
>Subject: Is it safe to remove debconf cache files in isar system
>
>Hi,
>
>I am working to fix some reproducible build failures in isar system, as part of
>this I wanted to know some ideas to fix it.
>
>I am checking the reproducible failures as below:
> $ cd isar
> $ . isar-init-build-env build1 && bitbake mc:qemuamd64-buster-tgz:isar-image-
>base
> $ . isar-init-build-env build2 && bitbake mc:qemuamd64-buster-tgz:isar-image-
>base
> $ mkdir -p rootfs1 rootfs2
> $ tar -xzvf ./build1/tmp/deploy/images/qemuamd64/isar-image-base-debian-
>buster-qemuamd64.tar.gz -C ./rootfs1/  $ tar -xzvf
>./build2/tmp/deploy/images/qemuamd64/isar-image-base-debian-buster-
>qemuamd64.tar.gz -C ./rootfs2/  $ rsync -nrclv ./rootfs1/ ./rootfs2/ >
>difference.txt
>
>Below is one reproducible problem I picked:
>In debconf db file the contents were different after two subsequent builds,
>
>Part of the debconf db file where the difference is found
>(/var/cache/debconf/config.dat)
>Build1:
>Name: ucf/changeprompt
>Template: ucf/changeprompt
>Value: keep_current
>Owners: ucf
>Variables:
> BASENAME = locale.nopurge
> FILE = /etc/locale.nopurge
> NEW = /etc/locale.nopurge.29308
>
>Build2:
>Name: ucf/changeprompt
>Template: ucf/changeprompt
>Value: keep_current
>Owners: ucf
>Variables:
> BASENAME = locale.nopurge
> FILE = /etc/locale.nopurge
> NEW = /etc/locale.nopurge.19132
>
>The probable solution I am thinking of is:
>1. remove the debconf cache files (rm -f /var/cache/debconf/*)
>2. Fix the debconf in such a way it generates same package configuration on every build
>
>The first solution is easy, but I am worried if those package configuration files
>maybe required in future when the package is updating The second solution
>would need more investigation at debconf package side.
>
>Any ideas or suggestion would be very grateful.
>
>Thanks,
>Venkata.


  parent reply	other threads:[~2022-02-14 19:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-16  7:47 Venkata.Pyla
2021-12-17 16:56 ` Anton Mikanovich
2022-02-14 19:35 ` Venkata.Pyla [this message]
2022-02-15 16:13   ` Baurzhan Ismagulov

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=OSYPR01MB55422F9AABFB4B49B632AFC5A4339@OSYPR01MB5542.jpnprd01.prod.outlook.com \
    --to=venkata.pyla@toshiba-tsip.com \
    --cc=cip-dev@lists.cip-project.org \
    --cc=dinesh.kumar@toshiba-tsip.com \
    --cc=henning.schild@siemens.com \
    --cc=isar-users@googlegroups.com \
    --cc=jan.kiszka@siemens.com \
    --cc=kazuhiro3.hayashi@toshiba.co.jp \
    /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