mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
5435d9552d
commit
edf19845f1
@@ -20,9 +20,9 @@ LIC_FILES_CHKSUM = "file://README;md5=72cff06b7954222c24d38bc2c41b234e \
|
||||
SRC_URI = "${KERNELORG_MIRROR}/linux/docs/${BPN}/${BP}.tar.gz \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "3ae3f8ad97487d2c1b14258231d97d03b4e569b915377f6dd4f6be7141c57ee0"
|
||||
SRC_URI[sha256sum] = "44c09f43ae7a0b327efef5285a30d56ecc5fd4a07056f77e806f6c65196ba7f3"
|
||||
|
||||
inherit manpages
|
||||
inherit manpages lib_package
|
||||
|
||||
MAN_PKG = "${PN}"
|
||||
|
||||
@@ -32,6 +32,7 @@ PACKAGECONFIG[manpages] = ""
|
||||
do_configure[noexec] = "1"
|
||||
do_compile[noexec] = "1"
|
||||
|
||||
EXTRA_OEMAKE += "-R"
|
||||
do_install() {
|
||||
oe_runmake install prefix=${prefix} DESTDIR=${D}
|
||||
rm -rf ${D}${mandir}/man3/crypt.3
|
||||
@@ -40,6 +41,10 @@ do_install() {
|
||||
rm -rf ${D}${mandir}/man5/passwd.5
|
||||
}
|
||||
|
||||
RDEPENDS:${PN}-bin += " \
|
||||
bash \
|
||||
"
|
||||
|
||||
# Only deliveres man-pages so FILES:${PN} gets everything
|
||||
FILES:${PN}-doc = ""
|
||||
FILES:${PN} = "${mandir}/*"
|
||||
Reference in New Issue
Block a user