All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rusty Howell <rustyhowell@gmail.com>
To: Ross Burton <ross.burton@arm.com>
Cc: "alex.kanavin@gmail.com" <alex.kanavin@gmail.com>,
	Luca Ceresoli <luca.ceresoli@bootlin.com>,
	OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH] debian packaging: set md5sums for conffiles
Date: Wed, 27 Jul 2022 08:32:17 -0600	[thread overview]
Message-ID: <CAE+BM3m3CvX=86M8FqodzNDS-5VoAVghMVYxeQovLvgxiJ3d1Q@mail.gmail.com> (raw)
In-Reply-To: <7536019F-34C9-44D8-9380-425C4FE67207@arm.com>

[-- Attachment #1: Type: text/plain, Size: 1746 bytes --]

Thanks for the quick responses.   It took us a while to figure out why we
were seeing weird behaviour with our products, and we ultimately figured
out the conffiles are being replaced during the update.   I am working off
of Hardknott currently, so that's my mistake not switching to master.  And
I guess I misunderstood who is allowed to "sign off" on patches. I assumed
I couldn't since I'm not a regular. But in any case, it looks like Ross
Burton may be on to a better solution than what I have to fix the issue.

Rusty

On Wed, Jul 27, 2022 at 8:09 AM Ross Burton <ross.burton@arm.com> wrote:

> > So we’re definitely not generating the DEBIAN/md5sums files that
> dpkg-deb likes to have. However, this file in proper Debian packages
> doesn’t contain hashes for the conffiles, so I can only imagine that dpkg
> generates them on install, which leads to the question of where that is
> meant to happen.
>
> dpkg —configure does this, but we’re neutering it by renaming all
> foo.dpkg-new files to foo in the deb install() function.
>
> If we’re going to rename foo.dpkg-new to foo, then that is where we go and
> update the status file.
>
> Alternatively, we don’t do that, and every package needs to run its
> configure step on first boot.
>
> Ross
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#168563):
> https://lists.openembedded.org/g/openembedded-core/message/168563
> Mute This Topic: https://lists.openembedded.org/mt/92637328/4800265
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> rustyhowell@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

[-- Attachment #2: Type: text/html, Size: 2556 bytes --]

  reply	other threads:[~2022-07-27 14:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-26 21:13 [PATCH] debian packaging: set md5sums for conffiles Rusty Howell
2022-07-27 10:53 ` [OE-core] " Luca Ceresoli
2022-07-27 11:48   ` Alexander Kanavin
2022-07-27 12:25     ` Ross Burton
2022-07-27 13:56       ` Ross Burton
2022-07-27 14:08         ` Ross Burton
2022-07-27 14:32           ` Rusty Howell [this message]
2022-07-27 14:35             ` Alexander Kanavin
2022-07-27 15:31               ` Rusty Howell

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='CAE+BM3m3CvX=86M8FqodzNDS-5VoAVghMVYxeQovLvgxiJ3d1Q@mail.gmail.com' \
    --to=rustyhowell@gmail.com \
    --cc=alex.kanavin@gmail.com \
    --cc=luca.ceresoli@bootlin.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@arm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.