All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <joerg.sommer@navimatix.de>,
	<openembedded-core@lists.openembedded.org>, <rs@ti.com>
Subject: Re: [OE-core] [PATCH v3] bitbake.conf: Extend distro feature usrmerge to merge bin+sbin
Date: Tue, 25 Aug 2026 09:33:49 +0200	[thread overview]
Message-ID: <DKXUMYGPD8SN.157ROYN12FNA7@bootlin.com> (raw)
In-Reply-To: <5fff22004037096d27276023cf29c473c8c8ce85.1787575546.git.joerg.sommer@navimatix.de>

On Mon Aug 24, 2026 at 2:48 PM CEST, Jörg Sommer via lists.openembedded.org wrote:
> From: Randolph Sapp <rs@ti.com>
>
> The split of bin and sbin became more artificial over time, and it is no
> longer clear why programmes goes into the one or the other directory; e.g.
> forever normal users have used sendmail in /usr/sbin, and fdisk and mkfs
> learned to operate on files to create images long ago.
>
> Because systemd drives this movement to have only /usr/bin and symlink /bin,
> /sbin and /usr/sbin to there, the usrmerge feature (started by systemd too)
> should be extended to include the binmerge. For a system with split bin/sbin
> `systemctl status` reports the system as tainted for *unmerged-bin.*
>
> Override most sbin variables to point to their bin equivalent when
> usermerge is enabled, with the exception being base_sbindir_native and
> sbindir_native. There is no guarantee the host machine is using this
> filesystem scheme.
>
> This check was added to systemd back in 2024 [2].
>
> [1] https://gitlab.archlinux.org/archlinux/packaging/packages/filesystem/-/blob/main/PKGBUILD
> [2] https://github.com/systemd/systemd/commit/844863c61e7b501097da84a1e4d1e4a6aa6d9f0d
>
> Signed-off-by: Randolph Sapp <rs@ti.com>
> Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
> ---

Hi Jörg,

I do note just one failure with this version, in two builds:

ERROR: lib32-inetutils-2.8-r0 do_install: Execution of '/srv/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/x86-pokymllib32-linux/lib32-inetutils/2.8/temp/run.do_install.4024907' failed with exit code 1
...
| mv: '/srv/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/x86-pokymllib32-linux/lib32-inetutils/2.8/image/usr/bin/ifconfig' and '/srv/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/x86-pokymllib32-linux/lib32-inetutils/2.8/image/usr/bin/ifconfig' are the same file
| WARNING: exit code 1 from a shell command.
NOTE: recipe lib32-inetutils-2.8-r0: task do_install: Failed

https://autobuilder.yoctoproject.org/valkyrie/#/builders/17/builds/4324
https://autobuilder.yoctoproject.org/valkyrie/#/builders/25/builds/4479

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



      parent reply	other threads:[~2026-08-25  7:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-24  9:00 [PATCH v2] bitbake.conf: Extend distro feature usrmerge to merge bin+sbin Jörg Sommer
2026-07-25  7:34 ` [OE-core] " Mathieu Dubois-Briand
2026-08-22  7:56 ` Jörg Sommer
2026-08-22 12:16   ` Mathieu Dubois-Briand
2026-08-22 14:09     ` Jörg Sommer
2026-08-24  6:30       ` Mathieu Dubois-Briand
2026-08-24  9:53         ` Jörg Sommer
2026-08-24 10:02           ` Mathieu Dubois-Briand
2026-08-24 12:43             ` Jörg Sommer
2026-08-24 13:10               ` Mathieu Dubois-Briand
2026-08-24 12:48 ` [PATCH v3] " Jörg Sommer
2026-08-24 13:11   ` [OE-core] " Marko, Peter
2026-08-24 15:17     ` joerg.sommer
2026-08-24 16:18       ` Marko, Peter
2026-08-24 17:10       ` Richard Purdie
2026-08-25  7:33   ` Mathieu Dubois-Briand [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DKXUMYGPD8SN.157ROYN12FNA7@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=joerg.sommer@navimatix.de \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=rs@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.