diff mbox

[01/16] Remove useless (and incompatible with osx) install argument

Message ID 1350833876-9499-1-git-send-email-diorcet.yann@gmail.com
State Accepted
Headers show

Commit Message

Yann Diorcet Oct. 21, 2012, 3:37 p.m. UTC
From: Yann Diorcet <yann.diorcet@belledonne-communications.com>

Make it works on darwin
---
 recipes/base-passwd/base-passwd.oe         |    4 ++--
 recipes/base-passwd/debian-base-passwd.inc |    5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

Comments

Esben Haabendal Dec. 14, 2012, 7:42 p.m. UTC | #1
Yann Diorcet <diorcet.yann@gmail.com> writes:

> From: Yann Diorcet <yann.diorcet@belledonne-communications.com>
>
> Make it works on darwin
> ---
>  recipes/base-passwd/base-passwd.oe         |    4 ++--
>  recipes/base-passwd/debian-base-passwd.inc |    5 +++--
>  2 files changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/recipes/base-passwd/base-passwd.oe b/recipes/base-passwd/base-passwd.oe
> index adbff61..188a565 100644
> --- a/recipes/base-passwd/base-passwd.oe
> +++ b/recipes/base-passwd/base-passwd.oe
> @@ -6,8 +6,8 @@ S = "${SRCDIR}"
>  
>  do_install () {
>  	install -d ${D}${sysconfdir}/
> -	install -D -p -m 644 passwd ${D}${sysconfdir}/
> -	install -D -p -m 644 group ${D}${sysconfdir}/
> +	install -p -m 644 passwd ${D}${sysconfdir}/
> +	install -p -m 644 group ${D}${sysconfdir}/
>  }
>  
>  require root-password.inc
> diff --git a/recipes/base-passwd/debian-base-passwd.inc b/recipes/base-passwd/debian-base-passwd.inc
> index b7b2eb8..549f2fe 100644
> --- a/recipes/base-passwd/debian-base-passwd.inc
> +++ b/recipes/base-passwd/debian-base-passwd.inc
> @@ -8,8 +8,9 @@ SRC_URI = "${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_${PV}.tar.gz"
>  S = "${SRCDIR}/base-passwd"
>  
>  do_install () {
> -	install -D -p -m 644 passwd.master ${D}${sysconfdir}/passwd
> -	install -D -p -m 644 group.master ${D}${sysconfdir}/group
> +	mkdir ${D}${sysconfdir}
> +	install -p -m 644 passwd.master ${D}${sysconfdir}/passwd
> +	install -p -m 644 group.master ${D}${sysconfdir}/group
>  }
>  
>  require root-password.inc

Merged to master, thanks.

/Esben
diff mbox

Patch

diff --git a/recipes/base-passwd/base-passwd.oe b/recipes/base-passwd/base-passwd.oe
index adbff61..188a565 100644
--- a/recipes/base-passwd/base-passwd.oe
+++ b/recipes/base-passwd/base-passwd.oe
@@ -6,8 +6,8 @@  S = "${SRCDIR}"
 
 do_install () {
 	install -d ${D}${sysconfdir}/
-	install -D -p -m 644 passwd ${D}${sysconfdir}/
-	install -D -p -m 644 group ${D}${sysconfdir}/
+	install -p -m 644 passwd ${D}${sysconfdir}/
+	install -p -m 644 group ${D}${sysconfdir}/
 }
 
 require root-password.inc
diff --git a/recipes/base-passwd/debian-base-passwd.inc b/recipes/base-passwd/debian-base-passwd.inc
index b7b2eb8..549f2fe 100644
--- a/recipes/base-passwd/debian-base-passwd.inc
+++ b/recipes/base-passwd/debian-base-passwd.inc
@@ -8,8 +8,9 @@  SRC_URI = "${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_${PV}.tar.gz"
 S = "${SRCDIR}/base-passwd"
 
 do_install () {
-	install -D -p -m 644 passwd.master ${D}${sysconfdir}/passwd
-	install -D -p -m 644 group.master ${D}${sysconfdir}/group
+	mkdir ${D}${sysconfdir}
+	install -p -m 644 passwd.master ${D}${sysconfdir}/passwd
+	install -p -m 644 group.master ${D}${sysconfdir}/group
 }
 
 require root-password.inc