[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
Thu Dec 17 11:49:13 UTC 2015
В письме от 17 декабря 2015 10:47:28 пользователь Matthias Schiffer написал:
> On 12/16/2015 08:46 PM, Roman Khimov wrote:
> > В письме от 16 декабря 2015 19:12:00 пользователь Matthias Schiffer
> > написал:
> > 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.
>
> Is it even possible to have fs-perms.txt entries depending on a
> DISTRO_FEATURE?
Probably not.
> And can fs-perms.txt move files from one directory to
> another (as you suggested in your reply for PATCH 2)?
IIRC, yes.
> AFAICT, fs-perms.txt is only there to fix some common issues with
> directory permissions. Most packages already respect base_libdir etc.
> just fine, so in my opinion it would be preferable to just fix the
> packages which don't if adding such things to fs-perms.txt is non-trivial.
fs-perms can fix things automatically, with no additional code in recipes (and
that's a nice thing IMO), but, yes, at the moment it probably can't do or
don't do things based on DISTRO_FEATURE settings. Maybe using
FILESYSTEM_PERMS_TABLES can help or even generating fs-perms on the fly taking
into account real ${somedir} values.
More information about the Openembedded-core
mailing list