diff options
author | Phil Blundell <philb@gnu.org> | 2012-09-09 11:48:45 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-12 15:13:37 +0100 |
commit | 69c4ddf1387f125b2a96259955df19f86d4b505a (patch) | |
tree | 9def69f350468f78d4e9fb5cd3f1d3c840d2cd36 /meta/recipes-extended | |
parent | 02cc31e7fe6bf65af69dea6505d44d5f8f120384 (diff) | |
download | poky-69c4ddf1387f125b2a96259955df19f86d4b505a.tar.gz |
shadow-native: Ensure that ${sbindir} and ${base_sbindir} are respected
These values need to be passed on the command line to "make install" otherwise
shadow will use its own built-in idea of where those directories are located.
(From OE-Core rev: 2b4b5f3259be4b790c098fc98cae0275ac6804a0)
Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/shadow/shadow-native_4.1.4.3.bb | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/meta/recipes-extended/shadow/shadow-native_4.1.4.3.bb b/meta/recipes-extended/shadow/shadow-native_4.1.4.3.bb index cd5605f81c..0469306ab0 100644 --- a/meta/recipes-extended/shadow/shadow-native_4.1.4.3.bb +++ b/meta/recipes-extended/shadow/shadow-native_4.1.4.3.bb | |||
@@ -7,7 +7,7 @@ LICENSE = "BSD | Artistic-1.0" | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=08c553a87d4e51bbed50b20e0adcaede \ | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=08c553a87d4e51bbed50b20e0adcaede \ |
8 | file://src/passwd.c;firstline=8;endline=30;md5=2899a045e90511d0e043b85a7db7e2fe" | 8 | file://src/passwd.c;firstline=8;endline=30;md5=2899a045e90511d0e043b85a7db7e2fe" |
9 | 9 | ||
10 | PR = "r7" | 10 | PR = "r8" |
11 | 11 | ||
12 | SRC_URI = "http://pkg-shadow.alioth.debian.org/releases/${BPN}-${PV}.tar.bz2 \ | 12 | SRC_URI = "http://pkg-shadow.alioth.debian.org/releases/${BPN}-${PV}.tar.bz2 \ |
13 | file://shadow.automake-1.11.patch \ | 13 | file://shadow.automake-1.11.patch \ |
@@ -30,7 +30,14 @@ EXTRA_OECONF += "--without-audit \ | |||
30 | --without-selinux \ | 30 | --without-selinux \ |
31 | --without-nscd" | 31 | --without-nscd" |
32 | 32 | ||
33 | do_install_append() { | 33 | do_install() { |
34 | oe_runmake DESTDIR="${D}" sbindir="${base_sbindir}" usbindir="${sbindir}" install | ||
35 | |||
36 | # Info dir listing isn't interesting at this point so remove it if it exists. | ||
37 | if [ -e "${D}${infodir}/dir" ]; then | ||
38 | rm -f ${D}${infodir}/dir | ||
39 | fi | ||
40 | |||
34 | # Enable CREATE_HOME by default. | 41 | # Enable CREATE_HOME by default. |
35 | sed -i 's/#CREATE_HOME/CREATE_HOME/g' ${D}${sysconfdir}/login.defs | 42 | sed -i 's/#CREATE_HOME/CREATE_HOME/g' ${D}${sysconfdir}/login.defs |
36 | 43 | ||