diff options
| -rw-r--r-- | meta/recipes-core/util-linux/util-linux_2.40.1.bb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/recipes-core/util-linux/util-linux_2.40.1.bb b/meta/recipes-core/util-linux/util-linux_2.40.1.bb index b70d97a934..a1aab94055 100644 --- a/meta/recipes-core/util-linux/util-linux_2.40.1.bb +++ b/meta/recipes-core/util-linux/util-linux_2.40.1.bb | |||
| @@ -118,7 +118,8 @@ FILES:${PN}-mount = "${sysconfdir}/default/mountall" | |||
| 118 | FILES:${PN}-runuser = "${sysconfdir}/pam.d/runuser*" | 118 | FILES:${PN}-runuser = "${sysconfdir}/pam.d/runuser*" |
| 119 | FILES:${PN}-su = "${sysconfdir}/pam.d/su-l" | 119 | FILES:${PN}-su = "${sysconfdir}/pam.d/su-l" |
| 120 | CONFFILES:${PN}-su = "${sysconfdir}/pam.d/su-l" | 120 | CONFFILES:${PN}-su = "${sysconfdir}/pam.d/su-l" |
| 121 | FILES:${PN}-lastlog2 += "${base_libdir}/security/pam_lastlog2.so" | 121 | FILES:${PN}-lastlog2 += "${base_libdir}/security/pam_lastlog2.so \ |
| 122 | ${nonarch_libdir}/tmpfiles.d/lastlog2.conf" | ||
| 122 | FILES:${PN}-pylibmount = "${PYTHON_SITEPACKAGES_DIR}/libmount/pylibmount.so \ | 123 | FILES:${PN}-pylibmount = "${PYTHON_SITEPACKAGES_DIR}/libmount/pylibmount.so \ |
| 123 | ${PYTHON_SITEPACKAGES_DIR}/libmount/__init__.* \ | 124 | ${PYTHON_SITEPACKAGES_DIR}/libmount/__init__.* \ |
| 124 | ${PYTHON_SITEPACKAGES_DIR}/libmount/__pycache__/*" | 125 | ${PYTHON_SITEPACKAGES_DIR}/libmount/__pycache__/*" |
| @@ -205,6 +206,12 @@ do_install:append:class-target () { | |||
| 205 | # otherwise it uses "other", which has "auth pam_deny.so" | 206 | # otherwise it uses "other", which has "auth pam_deny.so" |
| 206 | # and thus prevents the operation. | 207 | # and thus prevents the operation. |
| 207 | ln -s su ${D}${sysconfdir}/pam.d/su-l | 208 | ln -s su ${D}${sysconfdir}/pam.d/su-l |
| 209 | |||
| 210 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | ||
| 211 | install -d ${D}${nonarch_libdir}/tmpfiles.d | ||
| 212 | install -m 0644 ${S}/misc-utils/lastlog2-tmpfiles.conf.in \ | ||
| 213 | ${D}${nonarch_libdir}/tmpfiles.d/lastlog2.conf | ||
| 214 | fi | ||
| 208 | fi | 215 | fi |
| 209 | } | 216 | } |
| 210 | # nologin causes a conflict with shadow-native | 217 | # nologin causes a conflict with shadow-native |
