Skip to content

Fix fsck issues regarding merged /sbin and /usr/sbin

Carlos Santos buildroot 7 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 0 repliesNew
  2. v32 patches 0 repliesSuperseded
  3. v2 posting 4/41 patch 0 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v2 posting 3/41 patch0 repliesSuperseded
v2 posting 2/41 patch0 repliesSuperseded
v2 posting 1/41 patch0 repliesSuperseded
v12 patches0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2e2fsprogs: favor util-linux's fsck wrapper over e2fsprogs onepackage/e2fsprogs/Config.in package/e2fsprogs/e2fsprogs.mk+16 -50 replies
2/2systemd: select fsck wrapper from util-linuxpackage/systemd/Config.in+6 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchArnout Vandecappelle (Essensium/Mind)
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [Buildroot] [PATCH v4 0/2] Fix fsck issues regarding merged /sbin and /usr/sbin

Since e2fsprogs depends on util-linux, it's build after it. It means that if you want the fsck wrapper from util-linux (which is better maintained and you are sure that it's compatible with systemd) and you want e2fsck, it won't work. Because of the merge of /usr/bin and /bin, we end up deleting the fsck from util-linux.

In order to solve the problem we need to make two changes:

- Fix e2fsprogs to prevent removing/overriding the fsck from util-linux.
- Make systemd select util-linux/fsck to prevent ending up with the fsck from busybox, which is not compatible with systemd.

Carlos Santos (2):
e2fsprogs: favor util-linux's fsck wrapper over e2fsprogs one
systemd: select fsck wrapper from util-linux

 package/e2fsprogs/Config.in    |  4 ++++
 package/e2fsprogs/e2fsprogs.mk | 17 ++++++++++++-----
 package/systemd/Config.in      |  6 ++++++
 3 files changed, 22 insertions(+), 5 deletions(-)
Signature · 1 line
2.7.4