[oe-commits] Javier Martinez Canillas : mingetty: use ${base_sbindir} instead of / sbin for packaging
git at git.openembedded.org
git at git.openembedded.org
Mon Aug 6 14:22:44 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: f8f33550f5cc263673cbd481a567116514603b8d
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f8f33550f5cc263673cbd481a567116514603b8d
Author: Javier Martinez Canillas <javier at dowhile0.org>
Date: Sun Aug 5 21:48:40 2012 +0200
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.
Signed-off-by: Javier Martinez Canillas <javier at dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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 fed5dfd..a1f9eb2 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"
SECTION = "console/utils"
HOMEPAGE = "http://sourceforge.net/projects/mingetty/"
LICENSE = "GPLv2"
-PR = "r1"
+PR = "r2"
LIC_FILES_CHKSUM = "file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e"
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(){
mkdir -p ${D}${mandir}/man8
- mkdir -p ${D}/sbin
+ mkdir -p ${D}${base_sbindir}
oe_runmake install DESTDIR=${D}
}
More information about the Openembedded-commits
mailing list