From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vicente Olivert Riera Date: Thu, 3 Sep 2015 16:12:16 +0100 Subject: [Buildroot] [PATCH] system: add options for /bin /sbin and /lib to be symlinks into /usr In-Reply-To: References: <1441148113-4894-1-git-send-email-yann.morin.1998@free.fr> <55E76348.3020509@mind.be> <55E76775.8030200@mind.be> <20150902220923.GD7845@free.fr> Message-ID: <55E86350.9070603@imgtec.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Yann E. MORIN, On 09/03/2015 03:46 PM, Mike Williams wrote: > Yann, > > On Wed, Sep 2, 2015 at 6:09 PM, Yann E. MORIN wrote: >> >> Arnout, All, >> >> On 2015-09-02 23:17 +0200, Arnout Vandecappelle spake thusly: >>> On 02-09-15 22:59, Arnout Vandecappelle wrote: >>>> On 02-09-15 00:55, Yann E. MORIN wrote: >>>>> systemd is incresaingly expected things to live in /usr/bin or >>>>> /usr/sbin. >>>>> >>>>> However, a lot of packages stil install stuff directly into /bin or >>>>> /sbin. >>>>> >>>>> Add an option so that /bin and /sbin be symlinks to /usr/bin and >>>>> /usr/sbin. Ditto for .lib for consistency. >>> >>> One more thing: it would be good to mention explicitly in the commit log that >>> /lib64 (or /lib32 or /libx32) doesn't need to be handled because that is already >>> a symlink to lib. >> >> Yeah, I almost mentionned them, but refrained from doing so, as I thought >> it was already well-known that they were synlinks already. >> >> But I'll add this before I resubmit. > > > The systemd build failed for me unless I modified systemd.mk as such: same problem here: mv: `/home/ldap/vriera/git-clones/buildroot-1/output/target/usr/lib/libsystemd.so.0' and `/home/ldap/vriera/git-clones/buildroot-1/output/target/lib/libsystemd.so.0' are the same file mv: `/home/ldap/vriera/git-clones/buildroot-1/output/target/usr/lib/libsystemd.so.0.8.0' and `/home/ldap/vriera/git-clones/buildroot-1/output/target/lib/libsystemd.so.0.8.0' are the same file make[5]: *** [libsystemd-install-hook] Error 1 > -- a/package/systemd/systemd.mk > +++ b/package/systemd/systemd.mk > @@ -28,7 +28,6 @@ endif > > SYSTEMD_CONF_OPTS += \ > --with-rootprefix= \ > - --with-rootlibdir=/lib \ > --enable-static=no \ > --disable-manpages \ > --disable-selinux \ > @@ -37,7 +36,6 @@ SYSTEMD_CONF_OPTS += \ > --with-dbuspolicydir=/etc/dbus-1/system.d \ > --with-dbussessionservicedir=/usr/share/dbus-1/services \ > --with-dbussystemservicedir=/usr/share/dbus-1/system-services \ > - --enable-split-usr \ > --disable-efi \ > --disable-gnuefi \ > --disable-tests \ > > Once those changes were made everything worked fine so feel free to > add my Tested-by: Mike Williams if your next > patch spin includes them. But I only needed to remove the "--with-rootlibdir=/lib \" line to make it build fine. Regards, Vincent. > Mike > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot >