diff options
author | Stéphane Veyret <sveyret@gmail.com> | 2023-08-28 19:52:56 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-30 08:50:46 +0000 |
commit | 494a25d861d72c662c25cfee3a388ead71992bdf (patch) | |
tree | a617982cea2012471d0924996d4bea229c97425b /scripts/lib/checklayer | |
parent | d6134c9f97d9ac062471a870c70a3f1d1f3a5959 (diff) | |
download | poky-494a25d861d72c662c25cfee3a388ead71992bdf.tar.gz |
volatile-binds: Calculate the name of the /var/lib service
By default, /var/lib is bind mounted on /var/volatile/lib. If this is
the case, the recipe adds conditions on systemd-random-seed in the
service file mounting it. But as the VOLATILE_BINDS may be modified,
/var/lib may be mounted elsewhere, for example in /persistent/var/lib.
In this case, the conditions are not set because the service file name
does not match expected one.
This patch automatically records the name of the service mounting
/var/lib, if any, in order to set the condition in the appropriate file.
(From OE-Core rev: 66f0c2a1678cb69cf8d50372b0592c55e2dc3e3c)
Signed-off-by: Stéphane Veyret <sveyret@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/checklayer')
0 files changed, 0 insertions, 0 deletions