Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v4 0/2] Fix fsck issues regarding merged /sbin and /usr/sbin
@ 2017-04-03 15:06 Carlos Santos
  2017-04-03 15:06 ` [Buildroot] [PATCH v4 1/2] e2fsprogs: favor util-linux's fsck wrapper over e2fsprogs one Carlos Santos
  2017-04-03 15:06 ` [Buildroot] [PATCH v4 2/2] systemd: select fsck wrapper from util-linux Carlos Santos
  0 siblings, 2 replies; 4+ messages in thread
From: Carlos Santos @ 2017-04-03 15:06 UTC (permalink / raw)
  To: buildroot

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(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-04-24 19:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-03 15:06 [Buildroot] [PATCH v4 0/2] Fix fsck issues regarding merged /sbin and /usr/sbin Carlos Santos
2017-04-03 15:06 ` [Buildroot] [PATCH v4 1/2] e2fsprogs: favor util-linux's fsck wrapper over e2fsprogs one Carlos Santos
2017-04-03 15:06 ` [Buildroot] [PATCH v4 2/2] systemd: select fsck wrapper from util-linux Carlos Santos
2017-04-24 19:22   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox