diff options
-rw-r--r-- | meta/recipes-core/util-linux/util-linux_2.37.1.bb | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/meta/recipes-core/util-linux/util-linux_2.37.1.bb b/meta/recipes-core/util-linux/util-linux_2.37.1.bb index b67c3dcb53..9351595144 100644 --- a/meta/recipes-core/util-linux/util-linux_2.37.1.bb +++ b/meta/recipes-core/util-linux/util-linux_2.37.1.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | require util-linux.inc | 1 | require util-linux.inc |
2 | 2 | ||
3 | #gtk-doc is not enabled as it requires xmlto which requires util-linux | 3 | #gtk-doc is not enabled as it requires xmlto which requires util-linux |
4 | inherit autotools gettext pkgconfig systemd update-alternatives python3-dir bash-completion ptest | 4 | inherit autotools gettext manpages pkgconfig systemd update-alternatives python3-dir bash-completion ptest |
5 | DEPENDS = "libcap-ng ncurses virtual/crypt zlib util-linux-libuuid" | 5 | DEPENDS = "libcap-ng ncurses virtual/crypt zlib util-linux-libuuid" |
6 | 6 | ||
7 | PACKAGES =+ "${PN}-swaponoff" | 7 | PACKAGES =+ "${PN}-swaponoff" |
@@ -92,6 +92,9 @@ EXTRA_OECONF:append = " --disable-hwclock-gplv3" | |||
92 | # | 92 | # |
93 | PACKAGECONFIG ?= "pcre2" | 93 | PACKAGECONFIG ?= "pcre2" |
94 | PACKAGECONFIG:class-target ?= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'chfn-chsh pam', '', d)}" | 94 | PACKAGECONFIG:class-target ?= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'chfn-chsh pam', '', d)}" |
95 | # inherit manpages requires this to be present, however util-linux does not have | ||
96 | # configuration options, and installs manpages always | ||
97 | PACKAGECONFIG[manpages] = "" | ||
95 | PACKAGECONFIG[pam] = "--enable-su --enable-runuser,--disable-su --disable-runuser, libpam," | 98 | PACKAGECONFIG[pam] = "--enable-su --enable-runuser,--disable-su --disable-runuser, libpam," |
96 | # Respect the systemd feature for uuidd | 99 | # Respect the systemd feature for uuidd |
97 | PACKAGECONFIG[systemd] = "--with-systemd --with-systemdsystemunitdir=${systemd_system_unitdir}, --without-systemd --without-systemdsystemunitdir,systemd" | 100 | PACKAGECONFIG[systemd] = "--with-systemd --with-systemdsystemunitdir=${systemd_system_unitdir}, --without-systemd --without-systemdsystemunitdir,systemd" |
@@ -263,6 +266,32 @@ ALTERNATIVE_LINK_NAME[utmpdump] = "${bindir}/utmpdump" | |||
263 | ALTERNATIVE_LINK_NAME[uuidgen] = "${bindir}/uuidgen" | 266 | ALTERNATIVE_LINK_NAME[uuidgen] = "${bindir}/uuidgen" |
264 | ALTERNATIVE_LINK_NAME[wall] = "${bindir}/wall" | 267 | ALTERNATIVE_LINK_NAME[wall] = "${bindir}/wall" |
265 | 268 | ||
269 | ALTERNATIVE:${PN}-doc = "\ | ||
270 | blkid.8 eject.1 findfs.8 fsck.8 kill.1 last.1 lastb.1 libblkid.3 logger.1 mesg.1 \ | ||
271 | mountpoint.1 nologin.8 rfkill.8 sulogin.8 utmpdump.1 uuid.3 wall.1\ | ||
272 | " | ||
273 | ALTERNATIVE:${PN}-doc += "${@bb.utils.contains('PACKAGECONFIG', 'pam', 'su.1', '', d)}" | ||
274 | |||
275 | ALTERNATIVE_LINK_NAME[blkid.8] = "${mandir}/man8/blkid.8" | ||
276 | ALTERNATIVE_LINK_NAME[eject.1] = "${mandir}/man1/eject.1" | ||
277 | ALTERNATIVE_LINK_NAME[findfs.8] = "${mandir}/man8/findfs.8" | ||
278 | ALTERNATIVE_LINK_NAME[fsck.8] = "${mandir}/man8/fsck.8" | ||
279 | ALTERNATIVE_LINK_NAME[kill.1] = "${mandir}/man1/kill.1" | ||
280 | ALTERNATIVE_LINK_NAME[last.1] = "${mandir}/man1/last.1" | ||
281 | ALTERNATIVE_LINK_NAME[lastb.1] = "${mandir}/man1/lastb.1" | ||
282 | ALTERNATIVE_LINK_NAME[libblkid.3] = "${mandir}/man3/libblkid.3" | ||
283 | ALTERNATIVE_LINK_NAME[logger.1] = "${mandir}/man1/logger.1" | ||
284 | ALTERNATIVE_LINK_NAME[mesg.1] = "${mandir}/man1/mesg.1" | ||
285 | ALTERNATIVE_LINK_NAME[mountpoint.1] = "${mandir}/man1/mountpoint.1" | ||
286 | ALTERNATIVE_LINK_NAME[nologin.8] = "${mandir}/man8/nologin.8" | ||
287 | ALTERNATIVE_LINK_NAME[rfkill.8] = "${mandir}/man8/rfkill.8" | ||
288 | ALTERNATIVE_LINK_NAME[setpriv.1] = "${mandir}/man1/setpriv.1" | ||
289 | ALTERNATIVE_LINK_NAME[su.1] = "${mandir}/man1/su.1" | ||
290 | ALTERNATIVE_LINK_NAME[sulogin.8] = "${mandir}/man8/sulogin.8" | ||
291 | ALTERNATIVE_LINK_NAME[utmpdump.1] = "${mandir}/man1/utmpdump.1" | ||
292 | ALTERNATIVE_LINK_NAME[uuid.3] = "${mandir}/man3/uuid.3" | ||
293 | ALTERNATIVE_LINK_NAME[wall.1] = "${mandir}/man1/wall.1" | ||
294 | |||
266 | BBCLASSEXTEND = "native nativesdk" | 295 | BBCLASSEXTEND = "native nativesdk" |
267 | 296 | ||
268 | PTEST_BINDIR = "1" | 297 | PTEST_BINDIR = "1" |