diff options
| author | Changqing Li <changqing.li@windriver.com> | 2023-06-30 16:32:20 +0800 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-07-07 04:30:26 -1000 |
| commit | e7242a885beb052f72b65eddc21a58075d19eb89 (patch) | |
| tree | 35ac0fbff7faf6b1217d6ec743acaaa5ce0c1c16 /meta/recipes-devtools | |
| parent | d7a0eb9902ae93eb66019db2252e9e473c325ef5 (diff) | |
| download | poky-e7242a885beb052f72b65eddc21a58075d19eb89.tar.gz | |
dnf: only write the log lock to root for native dnf
From commit 742a1b7124, log_lock.pid is writen to root, but following
file is not changed, which will make it never deleted, and an unexpected
file exist in root dir after boot target.
$ tail -n 1 etc/tmpfiles.d/dnf.conf
r /var/log/log_lock.pid
Besides, root dir may be read-only, so it is better still
keep the log_lock.pid under /var/log, only write the log lock to root
for native dnf for fixing issue mentioned in 742a1b7124
(From OE-Core rev: 207cc7acef40f92b5de306aa6f035258c0eec828)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools')
| -rw-r--r-- | meta/recipes-devtools/dnf/dnf_4.14.0.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/dnf/dnf_4.14.0.bb b/meta/recipes-devtools/dnf/dnf_4.14.0.bb index 62df8c4ace..95007c9c4b 100644 --- a/meta/recipes-devtools/dnf/dnf_4.14.0.bb +++ b/meta/recipes-devtools/dnf/dnf_4.14.0.bb | |||
| @@ -15,9 +15,10 @@ SRC_URI = "git://github.com/rpm-software-management/dnf.git;branch=master;protoc | |||
| 15 | file://0029-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ | 15 | file://0029-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ |
| 16 | file://0030-Run-python-scripts-using-env.patch \ | 16 | file://0030-Run-python-scripts-using-env.patch \ |
| 17 | file://0001-set-python-path-for-completion_helper.patch \ | 17 | file://0001-set-python-path-for-completion_helper.patch \ |
| 18 | file://0001-dnf-write-the-log-lock-to-root.patch \ | ||
| 19 | " | 18 | " |
| 20 | 19 | ||
| 20 | SRC_URI:append:class-native = "file://0001-dnf-write-the-log-lock-to-root.patch" | ||
| 21 | |||
| 21 | SRCREV = "e50875b3f5790f70720bdb670e1dd2bf4d828744" | 22 | SRCREV = "e50875b3f5790f70720bdb670e1dd2bf4d828744" |
| 22 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" | 23 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" |
| 23 | 24 | ||
