All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] package_ipk: There is no longer any need to force owners/groups to root
@ 2011-11-01 14:25 Richard Purdie
  2011-11-01 14:42 ` Koen Kooi
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Purdie @ 2011-11-01 14:25 UTC (permalink / raw)
  To: openembedded-core

Since the packaging process is run under pseudo, the default user
is now root so there is no longer any need to hardcode this. Also
take this opportunity to move the variable to package_ipk.bbclass
since this is the only user of it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index c0893a6..c97e36e 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -7,6 +7,9 @@ IPKGCONF_SDK =  "${WORKDIR}/opkg-sdk.conf"
 
 PKGWRITEDIRIPK = "${WORKDIR}/deploy-ipks"
 
+# Program to be used to build opkg packages
+OPKGBUILDCMD ??= "opkg-build"
+
 python package_ipk_fn () {
 	bb.data.setVar('PKGFN', bb.data.getVar('PKG',d), d)
 }
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index e2c1b6f..0d05805 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -623,10 +623,6 @@ MKTEMPCMD = "mktemp -q ${TMPBASE}"
 
 export PATCH_GET="0"
 
-# Program to be used to build opkg packages
-
-OPKGBUILDCMD = "opkg-build -o 0 -g 0"
-
 ##################################################################
 # Not sure about the rest of this yet.
 ##################################################################





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] package_ipk: There is no longer any need to force owners/groups to root
  2011-11-01 14:25 [PATCH] package_ipk: There is no longer any need to force owners/groups to root Richard Purdie
@ 2011-11-01 14:42 ` Koen Kooi
  0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2011-11-01 14:42 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 1687 bytes --]


Op 1 nov. 2011, om 15:25 heeft Richard Purdie het volgende geschreven:

> Since the packaging process is run under pseudo, the default user
> is now root so there is no longer any need to hardcode this. Also
> take this opportunity to move the variable to package_ipk.bbclass
> since this is the only user of it.
> 
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Acked-by: Koen Kooi <k-kooi@ti.com>

> ---
> diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
> index c0893a6..c97e36e 100644
> --- a/meta/classes/package_ipk.bbclass
> +++ b/meta/classes/package_ipk.bbclass
> @@ -7,6 +7,9 @@ IPKGCONF_SDK =  "${WORKDIR}/opkg-sdk.conf"
> 
> PKGWRITEDIRIPK = "${WORKDIR}/deploy-ipks"
> 
> +# Program to be used to build opkg packages
> +OPKGBUILDCMD ??= "opkg-build"
> +
> python package_ipk_fn () {
> 	bb.data.setVar('PKGFN', bb.data.getVar('PKG',d), d)
> }
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index e2c1b6f..0d05805 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -623,10 +623,6 @@ MKTEMPCMD = "mktemp -q ${TMPBASE}"
> 
> export PATCH_GET="0"
> 
> -# Program to be used to build opkg packages
> -
> -OPKGBUILDCMD = "opkg-build -o 0 -g 0"
> -
> ##################################################################
> # Not sure about the rest of this yet.
> ##################################################################
> 
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 169 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-01 14:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-01 14:25 [PATCH] package_ipk: There is no longer any need to force owners/groups to root Richard Purdie
2011-11-01 14:42 ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.