mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
mingetty: use ${base_sbindir} instead of /sbin for packaging
It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. (From OE-Core rev: f8f33550f5cc263673cbd481a567116514603b8d) Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
72d697e56f
commit
940fc19538
@@ -2,7 +2,7 @@ DESCRIPTION = " A compact getty program for virtual consoles only"
|
|||||||
SECTION = "console/utils"
|
SECTION = "console/utils"
|
||||||
HOMEPAGE = "http://sourceforge.net/projects/mingetty/"
|
HOMEPAGE = "http://sourceforge.net/projects/mingetty/"
|
||||||
LICENSE = "GPLv2"
|
LICENSE = "GPLv2"
|
||||||
PR = "r1"
|
PR = "r2"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e"
|
||||||
SRC_URI = "http://cdnetworks-kr-1.dl.sourceforge.net/project/mingetty/mingetty/${PV}/mingetty-${PV}.tar.gz"
|
SRC_URI = "http://cdnetworks-kr-1.dl.sourceforge.net/project/mingetty/mingetty/${PV}/mingetty-${PV}.tar.gz"
|
||||||
@@ -14,7 +14,7 @@ EXTRA_OEMAKE = "CC='${CC}'"
|
|||||||
|
|
||||||
do_install(){
|
do_install(){
|
||||||
mkdir -p ${D}${mandir}/man8
|
mkdir -p ${D}${mandir}/man8
|
||||||
mkdir -p ${D}/sbin
|
mkdir -p ${D}${base_sbindir}
|
||||||
oe_runmake install DESTDIR=${D}
|
oe_runmake install DESTDIR=${D}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user