mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
02cc31e7fe
commit
69c4ddf138
@@ -7,7 +7,7 @@ LICENSE = "BSD | Artistic-1.0"
|
|||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=08c553a87d4e51bbed50b20e0adcaede \
|
LIC_FILES_CHKSUM = "file://COPYING;md5=08c553a87d4e51bbed50b20e0adcaede \
|
||||||
file://src/passwd.c;firstline=8;endline=30;md5=2899a045e90511d0e043b85a7db7e2fe"
|
file://src/passwd.c;firstline=8;endline=30;md5=2899a045e90511d0e043b85a7db7e2fe"
|
||||||
|
|
||||||
PR = "r7"
|
PR = "r8"
|
||||||
|
|
||||||
SRC_URI = "http://pkg-shadow.alioth.debian.org/releases/${BPN}-${PV}.tar.bz2 \
|
SRC_URI = "http://pkg-shadow.alioth.debian.org/releases/${BPN}-${PV}.tar.bz2 \
|
||||||
file://shadow.automake-1.11.patch \
|
file://shadow.automake-1.11.patch \
|
||||||
@@ -30,7 +30,14 @@ EXTRA_OECONF += "--without-audit \
|
|||||||
--without-selinux \
|
--without-selinux \
|
||||||
--without-nscd"
|
--without-nscd"
|
||||||
|
|
||||||
do_install_append() {
|
do_install() {
|
||||||
|
oe_runmake DESTDIR="${D}" sbindir="${base_sbindir}" usbindir="${sbindir}" install
|
||||||
|
|
||||||
|
# Info dir listing isn't interesting at this point so remove it if it exists.
|
||||||
|
if [ -e "${D}${infodir}/dir" ]; then
|
||||||
|
rm -f ${D}${infodir}/dir
|
||||||
|
fi
|
||||||
|
|
||||||
# Enable CREATE_HOME by default.
|
# Enable CREATE_HOME by default.
|
||||||
sed -i 's/#CREATE_HOME/CREATE_HOME/g' ${D}${sysconfdir}/login.defs
|
sed -i 's/#CREATE_HOME/CREATE_HOME/g' ${D}${sysconfdir}/login.defs
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user