aboutsummaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
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>
2015-02-23package_deb: Create /etc/apt/preferences.d to get rid of a warningAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23dpkg: update-alternatives-dpkg should conflict with other providersAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23dpkg: set license field to more common "GPLv2+"Andreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23dpkg: use PACKAGECONFIGAndreas Oberritter
Keep default dependencies as before. Set default compressor to xz if selected, gzip otherwise. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23dpkg: implement offline mode for update-alternativesAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23dpkg: change description to summaryAndreas Oberritter
(Backported from master) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23apt: update to 1.0.9Andreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23gcc-4.8: strip full path from __FILE__ macroAndreas Oberritter
With OE's long build paths, __FILE__ can get annoyingly long and makes it hard to read debug output of some programs, e.g. lighttpd. So reduce it to the filename and let's hope nothing breaks. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23package_deb.bbclass: implement BAD_RECOMMENDATIONSAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23dpkg: Don't move update-alternatives to sbindirAndreas Oberritter
Debian, Ubuntu and opkg all have it in bindir. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23package.bbclass: Add SYSTEMD_SERVICE to list of package specific variablesAndreas Oberritter
Changes to SYSTEMD_SERVICE should change the sstate checksum. To make that happen, it needs to be listed in the list of package specific variables, therefore add it. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23update-rc.d: use systemctl to (re)start services if systemd is runningAndreas Oberritter
Otherwise inconsistencies occur on hybrid systemd+sysvinit systems, especially on upgrade. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23connman: Simplify and fix packaging of VPN plug-insAndreas Oberritter
- Use simple static packaging. - Move VPN runtime dependencies from connman to the individual plug-ins. - Create a connmann-ppp package containing libppp-plugin.so, which is a shared library needed by l2tp and pptp plug-ins. - Let connman suggest VPN packages instead of recommending them, so they don't get installed by default. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23kernel.bbclass: try to clean up initramfs codeAndreas Oberritter
- Allow to override symlink name, similar to kernel and modules tarball. - Don't change working directory. - Remove superflous debug output. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23valgrind: enable build for MIPSAndreas Oberritter
Since 3.8.0, valgrind supports MIPS32. MIPS64 was added in 3.9.0. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23connman: only depend on xuser-account if ROOTLESS_X is setAndreas Oberritter
* Copied from xserver-nodm-init. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23[opendreambox] sstate.bbclass: don't remove shared pkgdata if PACKAGE_ARCH ↵Andreas Oberritter
changed to MACHINE_ARCH Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23gst-ffmpeg: Security Advisory - ffmpeg - CVE-2013-0869Yue Tao
The field_end function in libavcodec/h264.c in FFmpeg before 1.1.2 allows remote attackers to have an unspecified impact via crafted H.264 data, related to an SPS and slice mismatch and an out-of-bounds array access. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-0869 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 464123172c92d92fa08e2125c04653590ad654c7) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23gst-ffmpeg: Security Advisory - ffmpeg - CVE-2013-4358Yue Tao
libavcodec/h264.c in FFmpeg before 0.11.4 allows remote attackers to cause a denial of service (crash) via vectors related to alternating bit depths in H.264 data. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-4358 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 6a029bee3da097b9ed8c421fcd5ea61cd1a31b34) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>