diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2015-12-02 06:48:38 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-09 08:47:27 +0000 |
commit | 0be4c30aaf03de58d8037a89e342ca0b379a0881 (patch) | |
tree | 5082db83596c747e38aa4250d5fd87baac783e11 /scripts | |
parent | 4ce15271dad3520e5de2500c609b05d5a511e453 (diff) | |
download | openembedded-core-0be4c30aaf03de58d8037a89e342ca0b379a0881.tar.gz openembedded-core-0be4c30aaf03de58d8037a89e342ca0b379a0881.tar.bz2 openembedded-core-0be4c30aaf03de58d8037a89e342ca0b379a0881.zip |
package_ipk: allow to specify OPKG_ARGS in local.conf
If user specific parameters to opkg are set in local.conf, they are
rewritten in package_ipk.bbclass and ignored, instead append
package_ipk specific arguments to the user defined ones.
The change is needed, if a user has to pass an alternative path to a
temporary directory for opkg, e.g.
OPKG_ARGS = "--tmp-dir=${TOPDIR}/tmp-opkg"
The default /tmp directory may be unusable for do_rootfs task, for
example if there is no enough space or /tmp is mounted with noexec
mount option, then an alternative path allows to complete do_rootfs
and fix the problems like this:
ERROR: Unable to install packages.
...
sh: /tmp/opkg-5jPLag/run-postinsts-UsUtaI/preinst: /bin/sh: bad interpreter: Permission denied
sh: /tmp/opkg-5jPLag/base-files-4hFwQS/preinst: /bin/sh: bad interpreter: Permission denied
sh: /tmp/opkg-5jPLag/run-postinsts-UsUtaI/preinst: /bin/sh: bad interpreter: Permission denied
sh: /tmp/opkg-5jPLag/busybox-syslog-sJmfbw/preinst: /bin/sh: bad interpreter: Permission denied
...
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions