diff options
| author | Hongxu Jia <hongxu.jia@windriver.com> | 2025-02-17 15:14:32 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-02-27 10:55:16 +0000 |
| commit | edf19845f1009f449ab5d70c06f56971a33b95ca (patch) | |
| tree | 966da393c86d2e988d01c696878142b3974dc4f2 /meta | |
| parent | 5435d9552d20d57b6ab584631ff478a4473033c7 (diff) | |
| download | poky-edf19845f1009f449ab5d70c06f56971a33b95ca.tar.gz | |
man-pages: upgrade 6.9.1 -> 6.11
1. Due to upstream commit [GNUmakefile: Require the user to specify
'-R' if their make(1) is too old][1], add option -R to make
2. Due to upstream commit [src/bin/pdfman, scripts/bash_aliases,
pdfman.1: Make pdfman a standalone program, and add a manual page][2],
inherit bbclass lib_package to use package ${PN}-bin to collect newly
added scripts and runtime depends on bash
[1] https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=50c914d25b40ac6a4d63ce10ed146653098014a2
[2] https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=ed9bc1e3277befd6e165270f14e458a5ec4074f1
(From OE-Core rev: e1620f45f4c254f95881ccb9860b582ae7fbd1ed)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-extended/man-pages/man-pages_6.11.bb (renamed from meta/recipes-extended/man-pages/man-pages_6.9.1.bb) | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-extended/man-pages/man-pages_6.9.1.bb b/meta/recipes-extended/man-pages/man-pages_6.11.bb index 8258874dd7..52a1fbda14 100644 --- a/meta/recipes-extended/man-pages/man-pages_6.9.1.bb +++ b/meta/recipes-extended/man-pages/man-pages_6.11.bb | |||
| @@ -20,9 +20,9 @@ LIC_FILES_CHKSUM = "file://README;md5=72cff06b7954222c24d38bc2c41b234e \ | |||
| 20 | SRC_URI = "${KERNELORG_MIRROR}/linux/docs/${BPN}/${BP}.tar.gz \ | 20 | SRC_URI = "${KERNELORG_MIRROR}/linux/docs/${BPN}/${BP}.tar.gz \ |
| 21 | " | 21 | " |
| 22 | 22 | ||
| 23 | SRC_URI[sha256sum] = "3ae3f8ad97487d2c1b14258231d97d03b4e569b915377f6dd4f6be7141c57ee0" | 23 | SRC_URI[sha256sum] = "44c09f43ae7a0b327efef5285a30d56ecc5fd4a07056f77e806f6c65196ba7f3" |
| 24 | 24 | ||
| 25 | inherit manpages | 25 | inherit manpages lib_package |
| 26 | 26 | ||
| 27 | MAN_PKG = "${PN}" | 27 | MAN_PKG = "${PN}" |
| 28 | 28 | ||
| @@ -32,6 +32,7 @@ PACKAGECONFIG[manpages] = "" | |||
| 32 | do_configure[noexec] = "1" | 32 | do_configure[noexec] = "1" |
| 33 | do_compile[noexec] = "1" | 33 | do_compile[noexec] = "1" |
| 34 | 34 | ||
| 35 | EXTRA_OEMAKE += "-R" | ||
| 35 | do_install() { | 36 | do_install() { |
| 36 | oe_runmake install prefix=${prefix} DESTDIR=${D} | 37 | oe_runmake install prefix=${prefix} DESTDIR=${D} |
| 37 | rm -rf ${D}${mandir}/man3/crypt.3 | 38 | rm -rf ${D}${mandir}/man3/crypt.3 |
| @@ -40,6 +41,10 @@ do_install() { | |||
| 40 | rm -rf ${D}${mandir}/man5/passwd.5 | 41 | rm -rf ${D}${mandir}/man5/passwd.5 |
| 41 | } | 42 | } |
| 42 | 43 | ||
| 44 | RDEPENDS:${PN}-bin += " \ | ||
| 45 | bash \ | ||
| 46 | " | ||
| 47 | |||
| 43 | # Only deliveres man-pages so FILES:${PN} gets everything | 48 | # Only deliveres man-pages so FILES:${PN} gets everything |
| 44 | FILES:${PN}-doc = "" | 49 | FILES:${PN}-doc = "" |
| 45 | FILES:${PN} = "${mandir}/*" | 50 | FILES:${PN} = "${mandir}/*" |
