aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-04-06fixup! apt: Introduce apt-opkgobi/dora-stableAndreas Oberritter
Fix behaviour of --force-maintainer flag. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2016-03-16ncurses: fix native builds when host has gcc5Martin Stolpe
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>
2015-10-12nfs-utils: fix to start nfs-server correctly in systemdChen Qi
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)
2015-10-12nfs-utils: debianize start-statdLi Wang
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>
2015-10-12nfs-utils: Install nfsmount.confRob Woolley
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>
2015-10-12nfs-utils: enable parallel buildAndreas Oberritter
Backport from 7957c5bc2771a763d26e50e716733c6335cef3c2 Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-10-12nfs-utils: Upgrade to 1.3.1Alejandro Hernandez
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>
2015-10-12nfs-utils: change owner/group of directories in do_installChen Qi
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>
2015-10-12Revert "nfs-utils: change file ownership for statd"Andreas Oberritter
This reverts commit 87d244c925c37d3408874649a2092989c95acc24.
2015-10-12nfs-utils: fix start-statdRoy.Li
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>
2015-10-12nfs-utils: fix a Gcc undefined behaviorRoy Li
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>
2015-08-14gstreamer1.0-rtsp-server: upgrade to 1.4.5Ross Burton
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>
2015-04-22connman: Create connman.service at proper momentJukka Rissanen
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>
2015-04-22connman: upgrade to 1.28Cristian Iorga
- 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>
2015-04-22connman: fix B != SRobert Yang
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>
2015-04-22connman: upgrade to 1.26Cristian Iorga
- 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>
2015-04-22connman: upgrade to 1.25Cristian Iorga
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>
2015-02-23kernel-module-split.bbclass: fix autoloading from postinst scriptAndreas Oberritter
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>
2015-02-23ca-certificates: clean up before do_compile()Andreas Oberritter
Otherwise the script which converts mozilla certificates extracts each certificate twice. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23systemd: backport patch to fix remote fs unmounts on rebootAndreas Oberritter
Remote filesystems used to get unmounted after networking had already been shut down. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23image.bbclass: also uninstall update-alternatives-dpkg if it's unusedAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23pigz: fix alternatives handling, use symlinks, provide zcatAndreas Oberritter
The installed unpigz is a hardlink to pigz. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23nfs-utils: change file ownership for statdAndreas Oberritter
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>
2015-02-23nfs-utils: fix upgrade path for nfs-utils-client packageAndreas Oberritter
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>
2015-02-23nfs-utils: create package nfs-utils-mountAndreas Oberritter
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>
2015-02-23nfs-utils: systemd fixesAndreas Oberritter
- 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>
2015-02-23gpgme: enable native buildsAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23libassuan: enable native buildsAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23pth: enable native buildsAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23update-alternatives.bbclass: alternatives should be removed in prermAndreas Oberritter
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>
2015-02-23kernel-module-split.bbclass: Avoid bogus recommends for modules ending with -devAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23update-rc.d.bbclass: ignore initscript in prerm and preinst when systemd is ↵Andreas Oberritter
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>
2015-02-23{insane,package{,_deb,_ipk}}.bbclass: support 'Breaks' control field by ↵Andreas Oberritter
introducing RBREAKS Required by Debian Policy section 7.3. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23package_deb.bbclass: create Packages.xzAndreas Oberritter
apt-get prefers it over Packages.gz. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23package_deb.bbclass: Use apt-ftparchive for deb packagesAndreas Oberritter
Backported from c9899a7605f15f7f1ae30c4624d53c7da825b00a and a3965b76ed4361455c89c982761263be03e1a8e5. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23rootfs_deb.bbclass: pass option --cross-bootstrap to dpkgAndreas Oberritter
Fixes rootfs_uninstall_packages with new dpkg version. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23rootfs_deb.bbclass: let apt-get handle install aloneAndreas Oberritter
Don't mess with package status. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23apt: Introduce apt-opkgAndreas Oberritter
'apt-opkg' provides a stripped-down opkg frontend with an apt backend. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23package_deb: skip pre/postrm scripts on upgrade, write only one shebangAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23update-alternatives.bbclass: Don't add a build dependency on u-aAndreas Oberritter
"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>
2015-02-23dpkg: always install dpkg-configure.serviceAndreas Oberritter
systemd.bbclass handles everything based on DISTRO_FEATURES. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23dpkg: update packages and files to match Debian more closelyAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23dpkg: reenable parallel makeAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23dpkg-native: hardode SYSCONFDIR to /etc in update-alternativesAndreas Oberritter
It needs to be relative to DPKG_INSTDIR when installing. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23dpkg: simplify replacing perl interpreter in scriptsAndreas Oberritter
Target scripts already contain the correct value. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23dpkg: remove unneeded do_configure overrideAndreas Oberritter
Exporting PERL_LIBDIR is enough, compiler.m4 isn't needed. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23dpkg: install start-stop-daemon to /sbin to match Debian and busyboxAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23rootfs_deb.bbclass: let apt-get handle postinst scriptsAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23apt-native: Use option --cross-bootstrap for rootfsAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23rootfs_deb_do_rootfs: Only install opkg hack if neededAndreas Oberritter
If update-alternatives-opkg was used, then .../opkg/alternatives already exists at this point. If not, then there's no need for a symlink. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>