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

Martin Jansa martin.jansa at gmail.com
Sat Nov 12 12:08:41 UTC 2011


On Sat, Nov 12, 2011 at 12:21:34PM +0100, Martin Jansa wrote:
> From: Richard Purdie <richard.purdie at linuxfoundation.org>

Seems to work fine, thanks a lot!

Acked-by: Martin Jansa <Martin.Jansa at gmail.com>

SHR root at gjama / $ opkg remove -force-depends -force-remove dbus-1
Removing package dbus-1 from root...
Stopping system message bus:  Removing any system startup links for dbus-1 ...
  /etc/rc0.d/K20dbus-1
  /etc/rc1.d/K20dbus-1
  /etc/rc2.d/S02dbus-1
  /etc/rc3.d/S02dbus-1
  /etc/rc5.d/S02dbus-1
  /etc/rc6.d/K20dbus-1
Collected errors:
 * pkg_run_script: package "dbus-1" prerm script returned status 1.
SHR root at gjama / $ grep message /etc/passwd
messagebus:x:42:101:Linux User,,,:/var/run/dbus:/bin/sh
SHR root at gjama / $ grep message /etc/group
messagebus:x:101:
SHR root at gjama / $ opkg install dbus-1
Installing dbus-1 (1.4.12-r7) to root...
Downloading http://jama.dyndns-home.com/org.openembedded.shr-core//armv4t/dbus-1_1.4.12-r7_armv4t.ipk.
Running groupadd commands...
Note: group netdev already exists, not re-creating it
Running useradd commands...
Note: username messagebus already exists, not re-creating it
Configuring dbus-1.
 Adding system startup for /etc/init.d/dbus-1.
SHR root at gjama / $ ll /usr/libexec/dbus-daemon-launch-helper
-rwsr-xr-- 1 root 998 142748 Nov 12 12:26 /usr/libexec/dbus-daemon-launch-helper

SHR root at gjama / $ opkg remove -force-depends -force-remove dbus-1
Removing package dbus-1 from root...
Stopping system message bus:  Removing any system startup links for dbus-1 ...
  /etc/rc0.d/K20dbus-1
  /etc/rc1.d/K20dbus-1
  /etc/rc2.d/S02dbus-1
  /etc/rc3.d/S02dbus-1
  /etc/rc5.d/S02dbus-1
  /etc/rc6.d/K20dbus-1
Collected errors:
 * pkg_run_script: package "dbus-1" prerm script returned status 1.
SHR root at gjama / $ opkg update; opkg upgrade opkg; opkg install dbus-1
Downloading http://jama.dyndns-home.com/org.openembedded.shr-core//all/Packages.gz.
Inflating http://jama.dyndns-home.com/org.openembedded.shr-core//all/Packages.gz.
Updated list of available packages in /var/lib/opkg/lists/jama-all.
Downloading http://jama.dyndns-home.com/org.openembedded.shr-core//armv4t/Packages.gz.
Inflating http://jama.dyndns-home.com/org.openembedded.shr-core//armv4t/Packages.gz.
Updated list of available packages in /var/lib/opkg/lists/jama-armv4t.
Downloading http://jama.dyndns-home.com/org.openembedded.shr-core//om_gta02/Packages.gz.
Inflating http://jama.dyndns-home.com/org.openembedded.shr-core//om_gta02/Packages.gz.
Updated list of available packages in /var/lib/opkg/lists/jama-om_gta02.
Installing opkg (1:0.1.8+svnr625-r3) to root...
Downloading http://jama.dyndns-home.com/org.openembedded.shr-core//armv4t/opkg_0.1.8+svnr625-r3_armv4t.ipk.
Installing opkg-config-base (1.0-r0) to root...
Downloading http://jama.dyndns-home.com/org.openembedded.shr-core//om_gta02/opkg-config-base_1.0-r0_om_gta02.ipk.
Installing update-alternatives-cworth (1:0.1.8+svnr625-r3) to root...
Downloading http://jama.dyndns-home.com/org.openembedded.shr-core//all/update-alternatives-cworth_0.1.8+svnr625-r3_all.ipk.
Installing libopkg1 (1:0.1.8+svnr625-r3) to root...
Downloading http://jama.dyndns-home.com/org.openembedded.shr-core//armv4t/libopkg1_0.1.8+svnr625-r3_armv4t.ipk.
Configuring opkg-config-base.
Configuring update-alternatives-cworth.
Configuring libopkg1.
Configuring opkg.
update-alternatives: Linking //usr/bin/opkg to /usr/bin/opkg-cl
Installing dbus-1 (1.4.12-r7) to root...
Downloading http://jama.dyndns-home.com/org.openembedded.shr-core//armv4t/dbus-1_1.4.12-r7_armv4t.ipk.
Running groupadd commands...
Note: group netdev already exists, not re-creating it
Running useradd commands...
Note: username messagebus already exists, not re-creating it
Configuring dbus-1.
 Adding system startup for /etc/init.d/dbus-1.
SHR root at gjama / $ ll /usr/libexec/dbus-daemon-launch-helper
-rwsr-xr-- 1 root messagebus 142748 Nov 12 12:26 /usr/libexec/dbus-daemon-launch-helper

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111112/fb5fbe57/attachment-0002.sig>


More information about the Openembedded-core mailing list