Age | Commit message (Collapse) | Author | Files |
|
See http://code.google.com/p/opkg/source/detail?r=553
And previous discussions:
http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg01423.html
http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg04051.html
Signed-off-by: Graham Gower <graham.gower@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
from the other packages"
* This reverts commit acc720fa80227d08fd15764117e0c34e2387e804.
* Graham already has a proper fix for this.
* This breaks rootfs with ${ONLINE_PACKAGE_MANAGEMENT}" == "none"
Conflicts:
classes/rootfs_ipk.bbclass
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-By: Chris Larson <clarson@mvista.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
other packages
It seems that installing opkg/opkg-collateral blows away the configuration we
need to install more packages, so lets make that explicit by installing those
things last.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
package_update_index_ipk
We add a lockfile of do_populate_sdk and do_rootfs (in rootfs_ipk) that is also
the lockfile that package_update_index_ipk uses. With enough threads it is
possible that one image (or meta-toolchain) is attempting to use the package
index while another has only reached the point of generating the index leading
to an empty index being seen later on.
Acked-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Roman I Khimov <khimov@altell.ru>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
populate_staging task to populate_sysroot
This change, pulled from Poky, makes the purpose of the staging directory more
obvious and the taskname more true to what it now actually does.
The layout version number is increased due to the change in layout but code to
convert existing directories and insert a symlink for backwards compatibility
is included.
This patch also includes fixes for all recipes which reference the directory.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
There are scripts that can and should work when being ran on build
host (for example, simple update-rc.d), but there are also many which
can't and won't ever (for example, anything adding users/groups).
The second group sometimes doesn't get "unpacked" flag because
scripts throw errors in the middle and return something nice from
the last command.
It can be considered as a bug in pre/postinst script (as it should
either explicitly check for "${D}" or just do "set -e" at start),
but it is common enough.
There is also another aspect to this as in general we can't be sure
that everything is OK wrt preinst/postinst if script commands throw
errors.
Running preinst/postinst scripts on host with "-e" should solve
that.
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Acked-by: Chris Larson <clarson@kergoth.com>
|
|
I ran into a problem yesterday where the ROOTFS_POSTPROCESS_COMMAND
started failing after I turned off ONLINE_PACKAGE_MANAGEMENT. It seems
the problem is that if package management is turned off, then the opkg
directory gets deleted. Subsequent opkg commands in the
ROOTFS_POSTPROCESS_COMMAND fail to open the lock file because the
directory is gone.
This patch simply moves the postprocess command above the destruction of
the opkg directory to allow any such commands to complete successfully.
Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
|
|
* When option tmp_dir is used in opkg.conf installed on rootfs then it's
used also in do_rootfs call and points to probably non-existent directory
on buildhost like /var/lib/opkg/tmp.
* The value of tmp_dir from rootfs is used even with another config file
specified with -c parameter
* Before this, it was using default value (/tmp) on buildhost, now it will use
own "${IMAGE_ROOTFS}-tmp" and remove it after do_rootfs finish
(usually already empty inside, cleaned by opkg itself)
* Similar patch for testlab.bbclass will follow
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Parallel image builds race in package_update_index_ipk, so locking is
needed and for a proper lock package_update_index_ipk needs to be a
proper task.
Acked-by: Tom Rini <trini@embeddedalley.com>
|
|
dependencies".
Fixes a bug pointed out where a missing rdepends of a package installed into
an image wasn't resulting in a failure in the do_rootfs task.
Signed-off-by: Chris Larson <clarson@mvista.com>
|
|
|
|
in /usr/lib specifically for its bits
|
|
rootfs_ipk: task-boot change fixes
|
|
images as well
* This fixes the "image broken due to not running postinsts because opkg* isn't installed" type of bugs
|
|
rootfs_ipk: avoid matching spurious errors
|
|
ONLINE_PACKAGE_MANAGEMENT configuration settings
|
|
can operate
|
|
|
|
still the package manager included in the image.
|
|
opkg-native overwrites our u-a-native, so we need to set both IPKG_OFFLINE_ROOT *and* OPKG_OFFLINE_ROOT
|
|
* death to ipkg!
|
|
Instead of using "echo -e" we simply use printf. printf doesn't add a newline
by default. So some places needed an extra \n in their string.
Most of the change was done by hand, so please carefully review. This bug was
spotted when trying to compile python-pyqt on my ubuntu hardy system.
|
|
/usr/bin -> ${bindir}
/usr/lib -> ${libdir}
|
|
|
|
|
|
|
|
don't try to install it
|
|
|
|
* Instead, ad dit to DISTRO_EXTRA_RDEPENDS, so full-fledged
images bsed on task-base will get it automagically, while adhoc
images (initrds, etc.) can leave it out.
* This corresponds with how dpkg is handled, and how it is done
in poky.
* Closes #2484.
|
|
list of packages in PACKAGE_INSTALL installed as is, without any dependencies.
* Useful for initrds, etc.
* Closes #2469.
|
|
correct operation with bitbake 1.8.x. Old behaviour is maintained in a special legacy anonymous function in base.bbclass. The patch is an improved version of the one discussed on the mailing list.
|
|
package-index use it
|
|
per architecture subdirs of deploy/ipk
see: http://lists.linuxtogo.org/pipermail/openembedded-devel/2007-February/001462.html
|
|
image.bbclass to prepare for rootfs_deb/bbclass (from poky)
|
|
prepare for deb packaging
|
|
in preparation for deb handling
|
|
|
|
- both files contained code which would only execute if run by bash
- the fixed versions do the same but are more portable
|
|
|
|
* if you want it add it via a different way, some people don't want ipkg-link in the rootfs
|
|
|
|
- When we used task-base then ipkg/ipkg-link/ipkg-collateral was not installed
into image.
- Maybe it is not best sollution but it works and it duplicate solution which
was added years ago.
|
|
make sure the Packages file exists
|
|
need to remove the old Packages file when regenerating the Packages index. This gives a big speed improvement when regenerating images as it doesn't have to open every ipk for its metadata. (from poky)
|
|
|
|
before:
| Collected errors:
| ERROR: Cannot satisfy the following dependencies for gpe-task-base:
| + '[' -f /home/hrw/devel/build/3541/tmp/rootfs/usr/lib/ipkg/info/libgpg-error0.postinst ']'
after:
| Collected errors:
| ERROR: Cannot satisfy the following dependencies for gpe-task-base:
| gpe-session-scripts
| --
taken from .oz354x
|
|
duplication. Create IPKG_EXTRA_ARCHS to add to the standard variable. Update documentation.conf with the details.
|
|
is needed for the nokia770 which won't boot with /sbin/init as a symbolic link (and I'm told other machines have this problem).
|