On Mon, 2021-03-22 at 16:45 +0100, Anton Kachalov via lists.openembedded.org wrote: > From: "Anton D. Kachalov" <gmo...@google.com> > > When running on read-only rootfs backed with overlayfs, the processed scripts > are being marked as deleted on upperdir of overlayfs. When it comes to > upgrade the main read-only image, it might contain new postinst scripts that > are different from the already processed. Introduced suffix (sha256 of > the content) allows to distinct updated scripts of the same package. > > Signed-off-by: Anton D. Kachalov <gmo...@google.com> > --- > meta/lib/oe/package_manager/deb/rootfs.py | 11 ++++++++++- > meta/lib/oe/package_manager/ipk/rootfs.py | 11 ++++++++++- > meta/lib/oe/package_manager/rpm/__init__.py | 4 +++- > 3 files changed, 23 insertions(+), 3 deletions(-)
Isn't this working around an issue with overlayfs? I'm a bit worried we're adding complexity to all users of the project for a very specific use case where the issue is really somewhere else? Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#149786): https://lists.openembedded.org/g/openembedded-core/message/149786 Mute This Topic: https://lists.openembedded.org/mt/81527936/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-