[oe] [PATCH] opkg: Ensure we use the uname/gname fields when extracting tarballs

Koen Kooi koen at dominion.thruhere.net
Fri Nov 11 17:57:20 UTC 2011


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

Op 11-11-11 18:22, Richard Purdie schreef:
> When extracting packages onto the target system in particular, we really 
> want to ensure the name fields in the tarball are used over and above the
> numerical uid/gid values. This patch adds this functionality to opkg and
> ensures package upgrades work correctly permission wise
> 
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
> 
> --- diff --git a/meta/recipes-devtools/opkg/opkg/add_uname_support.patch
> b/meta/recipes-devtools/opkg/opkg/add_uname_support.patch new file mode
> 100644 index 0000000..885f75f --- a/dev/null +++
> b/meta/recipes-devtools/opkg/opkg/add_uname_support.patch @@ -0,0 +1,85
> @@ +When updating packages on the target device we ideally want to match
>  +user and group numbers from the existing file system. This patch
> encourages +opkg to lookup the uname/gname fields first and only use the
> hardcoded +numerical values if that fails.

This seems to be missing the upstream-status field

> +RP 11/11/11

UK or US date notation?

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk69YgAACgkQMkyGM64RGpHBwwCfVPVYgFkPIrJRfbCprw96V7FC
kJEAn2K8LvKBG+NsStT9dCeAuvkCVX9O
=zJCW
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list