[OE-core] [PATCH 4/4] base-files: create typical merged /usr symlinks if the "merged-usr" distro feature is set

Roman Khimov roman at khimov.ru
Wed Dec 16 19:46:51 UTC 2015


В письме от 16 декабря 2015 19:12:00 пользователь Matthias Schiffer написал:
> The following options in a distro configuration create a full Fedora-style
> merged /usr:
> 
>   DISTRO_FEATURES_DEFAULT += "merged-usr"
>   base_bindir = "${exec_prefix}/bin"
>   base_sbindir = "${exec_prefix}/bin"
>   sbindir = "${exec_prefix}/bin"
>   base_libdir = "${exec_prefix}/${baselib}"
>   nonarch_base_libdir = "${exec_prefix}/lib"

Hmm. Why not just change the base_prefix? We've done it this way (not merging 
bin with sbin, but that's a separate thing):

+base_prefix = "/usr"
+sysconfdir = "/etc"
+localstatedir = "/var"

Also, you probably want to add this symlinks to fs-perms.txt. I don't quite 
remember which packages failed for me without it, but there were some.

-- 
 http://roman.khimov.ru
mailto: roman at khimov.ru
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3



More information about the Openembedded-core mailing list