diff options
author | Javier Martinez Canillas <javier@dowhile0.org> | 2012-08-05 21:48:40 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-06 15:18:48 +0100 |
commit | 940fc1953854ceb90e349dc9904cee7c7aa6fcc4 (patch) | |
tree | 38151bbed6e6e3ec5457a177a4afb15b9422827b /meta/recipes-extended | |
parent | 72d697e56f5e633699df553d79eda9504758631a (diff) | |
download | poky-940fc1953854ceb90e349dc9904cee7c7aa6fcc4.tar.gz |
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>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/mingetty/mingetty_1.08.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/mingetty/mingetty_1.08.bb b/meta/recipes-extended/mingetty/mingetty_1.08.bb index fed5dfdabb..a1f9eb287b 100644 --- a/meta/recipes-extended/mingetty/mingetty_1.08.bb +++ b/meta/recipes-extended/mingetty/mingetty_1.08.bb | |||
@@ -2,7 +2,7 @@ DESCRIPTION = " A compact getty program for virtual consoles only" | |||
2 | SECTION = "console/utils" | 2 | SECTION = "console/utils" |
3 | HOMEPAGE = "http://sourceforge.net/projects/mingetty/" | 3 | HOMEPAGE = "http://sourceforge.net/projects/mingetty/" |
4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
5 | PR = "r1" | 5 | PR = "r2" |
6 | 6 | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e" |
8 | SRC_URI = "http://cdnetworks-kr-1.dl.sourceforge.net/project/mingetty/mingetty/${PV}/mingetty-${PV}.tar.gz" | 8 | 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}'" | |||
14 | 14 | ||
15 | do_install(){ | 15 | do_install(){ |
16 | mkdir -p ${D}${mandir}/man8 | 16 | mkdir -p ${D}${mandir}/man8 |
17 | mkdir -p ${D}/sbin | 17 | mkdir -p ${D}${base_sbindir} |
18 | oe_runmake install DESTDIR=${D} | 18 | oe_runmake install DESTDIR=${D} |
19 | } | 19 | } |
20 | 20 | ||