diff options
| author | Changqing Li <changqing.li@windriver.com> | 2024-08-27 18:40:40 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-08-28 09:14:26 +0100 |
| commit | 2f8806deb7655b37d6f8d12ff54680d6acf7a298 (patch) | |
| tree | f4462922f87add9ab1736eb790e56840a7be01c8 /meta/recipes-core/initscripts | |
| parent | cd25fc78d8707d4c4481f08c83f4d6bbed45b5a4 (diff) | |
| download | poky-2f8806deb7655b37d6f8d12ff54680d6acf7a298.tar.gz | |
bitbake.conf: drop VOLATILE_LOG_DIR, use FILESYSTEM_PERMS_TABLES instead
Drop VOLATILE_LOG_DIR, use FILESYSTEM_PERMS_TABLES instead. By default,
it contains 'files/fs-perms-volatile-log.txt', which means volatile log
is enabled. User can disable volatile log by remove
'files/fs-perms-volatile-log.txt' from FILESYSTEM_PERMS_TABLES.
(From OE-Core rev: 91128c6517066715f2afe6b46aa3206c7cf3653e)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/initscripts')
| -rw-r--r-- | meta/recipes-core/initscripts/initscripts_1.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb index 65f97a0af2..0879b30623 100644 --- a/meta/recipes-core/initscripts/initscripts_1.0.bb +++ b/meta/recipes-core/initscripts/initscripts_1.0.bb | |||
| @@ -106,7 +106,7 @@ do_install () { | |||
| 106 | install -m 0755 ${S}/read-only-rootfs-hook.sh ${D}${sysconfdir}/init.d | 106 | install -m 0755 ${S}/read-only-rootfs-hook.sh ${D}${sysconfdir}/init.d |
| 107 | install -m 0755 ${S}/save-rtc.sh ${D}${sysconfdir}/init.d | 107 | install -m 0755 ${S}/save-rtc.sh ${D}${sysconfdir}/init.d |
| 108 | install -m 0644 ${S}/volatiles ${D}${sysconfdir}/default/volatiles/00_core | 108 | install -m 0644 ${S}/volatiles ${D}${sysconfdir}/default/volatiles/00_core |
| 109 | if [ ${@ oe.types.boolean('${VOLATILE_LOG_DIR}') } = True ]; then | 109 | if ${@bb.utils.contains('FILESYSTEM_PERMS_TABLES', 'files/fs-perms-volatile-log.txt', 'true', 'false', d)}; then |
| 110 | sed -i -e '\@^d root root 0755 /var/volatile/log none$@ a\l root root 0755 /var/log /var/volatile/log' \ | 110 | sed -i -e '\@^d root root 0755 /var/volatile/log none$@ a\l root root 0755 /var/log /var/volatile/log' \ |
| 111 | ${D}${sysconfdir}/default/volatiles/00_core | 111 | ${D}${sysconfdir}/default/volatiles/00_core |
| 112 | fi | 112 | fi |
