[OE-core] [PATCH] package_ipk: There is no longer any need to force owners/groups to root

Koen Kooi koen at dominion.thruhere.net
Tue Nov 1 14:42:58 UTC 2011


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 at linuxfoundation.org>

Acked-by: Koen Kooi <k-kooi at 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 at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111101/601a3450/attachment-0002.sig>


More information about the Openembedded-core mailing list