[oe] [PATCH][STABLE] shadow: Fix issue that stopped shadow.inc from packaging /usr/bin/passwd correctly and bump INC_PR.

Koen Kooi k.kooi at student.utwente.nl
Mon Mar 22 12:36:39 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Acked-by: Koen Kooi <koen at openembedded.org>

On 22-03-10 12:06, Marcin Juszkiewicz wrote:
> From: David-John Willis <John.Willis at Distant-earth.com>
> 
> Signed-off-by: Chris Larson <clarson at mvista.com>
> ---
>  recipes/shadow/shadow.inc |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/recipes/shadow/shadow.inc b/recipes/shadow/shadow.inc
> index 68381f0..9da5845 100644
> --- a/recipes/shadow/shadow.inc
> +++ b/recipes/shadow/shadow.inc
> @@ -11,7 +11,7 @@ LICENSE = "BSD"
>  SECTION = "base"
>  DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
>  
> -INC_PR = "r8"
> +INC_PR = "r9"
>  
>  # Additional Policy files for PAM
>  PAM_SRC_URI = " \
> @@ -79,8 +79,8 @@ do_install_append() {
>    sed -i 's/MAIL_DIR/#MAIL_DIR/g' ${D}${sysconfdir}/login.defs
>    sed -i 's/#MAIL_FILE/MAIL_FILE/g' ${D}${sysconfdir}/login.defs
>  
> +  mv ${D}${bindir}/passwd ${D}${bindir}/passwd.${PN}
>    mv ${D}${sbindir}/chpasswd ${D}${sbindir}/chpasswd.${PN}
> -  mv ${D}${bindir}/passwd ${D}${bindir}/chpasswd.${PN}
>  
>    # Ensure we add a suitable securetty file to the package that has most common embedded TTYs defined.
>    install -m 0400 ${WORKDIR}/securetty ${D}${sysconfdir}/securetty 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLp2RXMkyGM64RGpERAvmXAJ9Prb5ZlP1XsguMEUWiRVyLnGpVHQCfcD2o
YPJcEJPhmheyY8ZheIbWwyc=
=Eriq
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list