Age | Commit message (Collapse) | Author |
|
Signed-off-by: Pau Espin Pedrol <pau.espin@aweurope.be>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ab26953276c543582fbaf2ad6f0a02d712ed90ea)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
[without the actual change to systemd_unitdir to avoid rebuilds]
|
|
QEMU_EXTRAOPTIONS is a way to add PACKAGE_ARCH specific options to the
qemu_run_binary qemu commandline. The base QEMU_EXTRAOPTIONS variable
(ie without a PACKAGE_ARCH suffix) is not used, so defining it, either
directly or via an over-ride has no effect.
Although previously an over-ride for _armv7a was used, it did nothing
for most armv7a builds, which typically use PACKAGE_ARCH values such
as "cortexa9hf-neon". In practice this worked OK since without a -cpu
option, qemu-arm will default to emulating a CPU which supports all
required architecture levels.
qemu-arm (v2.5.0) with no -cpu option has been confirmed to
successfully run binaries built for armv7ve.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 62b25b3489b44969e4adad657daebfaffdb4de56)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
The variable name for QEMU_EXTRAOPTIONS is constructed programmatically, so we
need an explicit variable dependency, otherwise changes to it won't cause e.g.
qemuwrapper-cross to be rebuilt.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 7740f214fffd6278f801899fc5e45f5720cbb544)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
These need to be based on PACKAGE_ARCH rather than TARGET_ARCH, as we aren't
using overrides for this.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 46f41df60491990dc41f0514f63b304ac51b67d1)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
The 'overrides' here are PACKAGE_ARCH based and hence not overrides
as such and the _append wasn't working in many cases. This adjusts the
code to use PACKAGE_ARCH as the accessor and ensures the variables
work as expected. This fixes various segfaults and ensures postinsts
run at build time rather than on the target system.
The bug was introduced in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=7efad8a1b56df6ee07c12ad360c0493d7b1d6d23.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 219e793907406eabf632e784e3a11ab9acb77cfb)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
The correct cpu options are needed in order to correctly run some CPU
types. This information is available in QEMU_OPTIONS, use it. This
avoids architectures like qemuppc failing postinstalls.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d9c0cbf1f9b9802d7374c4fa1672c26fc5db5cb)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
* in some cases (e.g. with external toolchain which doesn't respect our
reasonably old version set in OLDEST_KERNEL) it's possible to have libc
which requires newer kernel than what we have on builders, qemu supports
-r param to use different uname than what's returned by host system.
* change qemu_run_binary to pass -r ${OLDEST_KERNEL} and add the same to
QEMU_OPTIONS which are used by qemuwrapper-cross
* maybe we should eventually convert all qemu_run_binary usages always include
qemuwrapper-cross dependency and always call qemu through that (it
seems very strange that qemu_target_binary is called from qemuwrapper
and for allarch recipes it can return qemu-allarch as qemu binary).
qemu_run_binary is used by:
meta/classes/gtk-immodules-cache.bbclass: ${@qemu_run_binary(d, '$D', '${bindir}/gtk-query-immodules-$maj_ver.0')} \
meta/classes/qemu.bbclass:def qemu_run_binary(data, rootfs_path, binary):
meta/recipes-core/systemd/systemd_213.bb: ${@qemu_run_binary(d, '$D', '${base_bindir}/udevadm')} hwdb --update \
meta/recipes-graphics/pango/pango.inc: ${@qemu_run_binary(d, '$D','${bindir}/${MLPREFIX}pango-querymodules')} \
and qemuwrapper directly by:
scripts/postinst-intercepts/update_font_cache:PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\
scripts/postinst-intercepts/update_pixbuf_cache:PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1f0bff320077f4d9f2ee51096a1438e8cae9dd0d)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
The QEMU_OPTIONS variables belong in qemu.bbclass so move them there. The
only users of them inherit qemu.bbclass. There is no point in pushing
these into every recipe.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5824293de37919e89f60192836997281933e23d6)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Currently, qemuppc prints warnings about gdk-pixbuf postinstalls
not working due to illegal instructions. This is due to qemu
running with the wrong cpu type. Add an option for ppc7400 so
that qemuppc works correctly.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5995fdbe81799f1ecf5de722cb2eb95ccb2aa860)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
This patch adds the bitbake qemu option for the ppc e6500 &
ppc e6500-64b architectures.
Signed-off-by: Valentin Cobelea <valentin.cobelea@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 62b0f09c13aa8e9c75ddea286586d1a2385a80be)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Fix behaviour of --force-maintainer flag.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
GCC"s preprocessor starts to add newlines which are not
handled properly by ncurses build system startin from
version 5.0.
See also: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7870
Signed-off-by: Martin Stolpe <martin.stolpe@gmail.com>
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
(cherry picked from commit 3a5435b371c84ec28b6936b8c8fa6541a592d061)
Signed-off-by: Andreas Oberritter <obi@saftware.de>
|
|
Add /etc/modules-load.d/nfsd.conf so that the system loads nfsd at start-up.
Add proc-fs-nfsd.mount systemd unit file because it's needed for nfs server
to start correctly.
After this change, in a systemd based image, we can use `systemctl start
nfs-server' to start the nfs server and things would work correctly.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d4380bb36eb108dc75fee7215b615f7800b0990)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> (dropped modules-load.d/nfsd.conf)
|
|
make start-statd command to use nfscommon configure, too.
Signed-off-by: Henrik Riomar <henrik.riomar@ericsson.com>
Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98d3607697da77bd79b367b2879ef6944e59d0a3)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
The file nfsmount.conf is present in nfs-utils but not installed to the
filesystem. It has been added to nfs-utils-client as it seemed to be
missing accidentally rather than being removed intentionally. The binary
files in nfs-utils-client have a hard-coded reference to it and we
already provide the manpage for it in nfs-utils-doc.
Signed-off by: Rob Woolley <rob.woolley@windriver.com>
(cherry picked from commit 700e13e5ad2b5a8e1eaf9c37f7a2059ad1cc3d5a)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Backport from 7957c5bc2771a763d26e50e716733c6335cef3c2
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Removed: fix-a-Gcc-undefined-behavior.patch - Upstream
Removed: 0001-statd-fixed-the-with-statdpath-flag.patch - Upstream
Removed: fix-the-start-statd.patch - Different solution on upstream
Removed: nfs-utils-1.0.6-uclibc.patch - Different solution on upstream
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
(cherry picked from commit 7cd8b38f4f53d25a6dec8ec3b130a345480ff6b7)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Previously, the owners/groups of directories like /var/lib/nfs/statd
are changed in the init script, /etc/init.d/nfscommon. This is actually
a workaround. We need to change them at do_install time.
This patch fixes the above problem by changing owners/groups at do_install
time.
Besides, configuration option '--with-staduser=nobody' is changed to be
'--with-statduser=rpcuser'. And /var/lib/nfs/statd/state is modified to have
permission 0644, just like other distros (ubuntu, fedora, etc.) do.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 8c27a1e25ae42a435ab7d290cab40f94f9286243)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
This reverts commit 87d244c925c37d3408874649a2092989c95acc24.
|
|
1. add /bin to PATH of start-statd, otherwise systemctl can not be found.
2. drop error when systemd fails to start statd.service; since if it failed,
rpc.statd will be called directly.
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 048130996300e1762bc6d714ba09aac5a326843d)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Calling strncpy with NULL second argument, even when the size is 0,
is undefined behavior, which leads to GCC to drop the check old
variable with NULL in following code.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6743
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit af56e7559d31cb9cb84b85a7dedd8e12cf1f06cd)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6398ae1d40c86a3b848ac79a1dce25520bd088c6)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
ConnMan commit ac332c5d01b0737c18cb58c8ccc67cf6b0427e1d changes
how the connman.service file is created from .in file. After
that commit, the file is created by Makefile instead of configure.
This means that we need to tweak the service file in compile
time instead of configure time because the generated file will not
be there after the configuration.
This commit can be used even with older ConnMan version as the
connman.service file is there when the compilation happens.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 32839103727d92a6580f916b6dd8e4439b2347c8)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
- Fixes an issue with DHCPv6 retransmission timer
calculation that causes system load to jump to 100%;
- All WiFi P2P issues encountered with Miracast have been addressed;
- ConnMan no longer hands off foreground autoscanning to
wpa_supplicant as it causes issues when finding hidden WiFi networks;
Other changes and fixes include:
- Several fixes for handling IPv6 contexts via oFono;
- Fix memory deallocation in exit code paths;
- Use OPEN auth_alg for wpa_supplicant open WiFi networks;
- A WiFi Access Point with unknown strength now has a proper
minimum value which translates to a service 'Strenght' property of 30;
- Fix byte order in DHCP server identifier;
- Properly cancel an ongoing service connect if the Agent exits.
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
(cherry picked from commit fa718d0d2d74893bf8e532a132f8ede26552d2be)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
And bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
(cherry picked from commit 38aa1ef57392fcb726fcdd0b708b9d76f0279c77)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
- WiFi P2P support in ConnMan has been significantly improved;
- Applications can now register WiFi Display, UPnP or Bonjour P2P services;
- Various bug fixes.
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 3aad6d51a303d0330205eebfeac58c2ccb612e77)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
build-libppp-plugin-without-versioning-info.patch
no longer needed, removed.
Changelog:
Fix issue with handling rebind timer for DHCPv6.
Fix issue with handling DHCP renew transaction.
Fix issue with user supplied proxy settings and DHCP.
Fix issue with extra status codes from captive portals.
Fix issue with service idle state reset on failure.
Fix issue with DNS label compression handling.
Add support for experimental P2P Peer service.
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f53c5e7914ea37338817fcb7efbd42414045e07c)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
When using KERNEL_MODULE_AUTOLOAD, autoload was empty, causing
"modprobe None" to get appended to the postinst script.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Otherwise the script which converts mozilla certificates extracts
each certificate twice.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Remote filesystems used to get unmounted after networking had
already been shut down.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
The installed unpigz is a hardlink to pigz.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Otherwise, rpc.statd complains about "Running as root. chown
/var/lib/nfs/statd to choose different user" when started by
systemd.
While at it, update --with-statduser argument to match the
actual username for statd.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Commit 39bb7e3 ("nfs-utils: separate package as Debain style") moved
files from nfs-utils to nfs-utils-client, breaking package upgrades.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Contains just enough to mount and unmount nfs volumes, i.e.
the same as nfs-utils-client before commit 39bb7e3 ("nfs-utils:
separate package as Debain style").
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
- Start daemons by default like the initscripts do, but only if
/etc/exports exists.
- Inform systemd.bbclass about nfs-utils-client package.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
This behaviour matches dpkg's manpage and fixes deinstalling
alternatives for programs needed by the postrm script, e.g. /bin/sh.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
active
In hybrid systemd/sysvinit builds, if the recipe inherits systemd and systemd
is installed, we can safely assume that the service gets stopped by the prerm
script fragment from systemd.bbclass. This fixes deinstallation of packages
with initscripts returning errors when no running service was found. The preinst
shouldn't run the initscript either, because postinst will call systemctl restart.
This works by running 'systemctl is-enabled <initscript>', which outputs the current
enable status, if the script name is handled by systemd, either because it's masked
or because a systemd unit exists with that name. Otherwise, or if systemctl doesn't
exist, no output is generated.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
introducing RBREAKS
Required by Debian Policy section 7.3.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
apt-get prefers it over Packages.gz.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Backported from c9899a7605f15f7f1ae30c4624d53c7da825b00a
and a3965b76ed4361455c89c982761263be03e1a8e5.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Fixes rootfs_uninstall_packages with new dpkg version.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Don't mess with package status.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
'apt-opkg' provides a stripped-down opkg frontend with an apt backend.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
"update-alternatives" gets called only in postinst/rm scripts, so
it's not a build dependency. A runtime dependency gets added anyway.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|