]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
e2fsprogs: add alternatives handling of lsattr as well
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Wed, 8 Jun 2022 13:12:05 +0000 (15:12 +0200)
committerSteve Sakoman <steve@sakoman.com>
Wed, 15 Jun 2022 14:33:06 +0000 (04:33 -1000)
commit8876f33f08e07480c93803c19b517b2bed4dfe4c
treef5686ea6ea8cceba8c29c18bb203f4da50ec1c42
parent8c74bca4d652af93c7e36a2a8847d8010b8cc009
e2fsprogs: add alternatives handling of lsattr as well

Building busybox with CONFIG_LSATTR=y and installing that in the same
filesystem as e2fsprogs breaks:

  ERROR: ... do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
  then please place them into pkg_postinst_ontarget:${PN} ().
  Deferring to first boot via 'exit 1' is no longer supported.

Fix that by also alternatifying lsattr just as chattr already is.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 96703961eeb3460e9da26503d7942cc965d1e573)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.46.5.bb