]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 Jun 2022 09:03:58 +0000 (10:03 +0100)
commit96703961eeb3460e9da26503d7942cc965d1e573
treecd60f05e1d22c5c6bc2a5b69597c6692a82c32e3
parent239f22847bcae0cb31769adb0a42b5440173a7c5
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>
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.46.5.bb