aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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] runqemu-internal: boot from sda, disable tty0 consoleAndreas Oberritter
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>
2015-02-23openssl: upgrade to 1.0.1jRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 390916b8400a46088c71183aef6e17b947cf4b74) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23bash: Fix CVE-2014-7169Khem Raj
This is a followup patch to incomplete CVE-2014-6271 fix code execution via specially-crafted environment Change-Id: Ibb0a587ee6e09b8174e92d005356e822ad40d4ed Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 76a2d6b83472995edbe967aed80f0fcbb784b3fc) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23bash: fix CVE-2014-6271Ross Burton
CVE-2014-6271 aka ShellShock. "GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which allows remote attackers to execute arbitrary code via a crafted environment." Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 798d833c9d4bd9ab287fa86b85b4d5f128170ed3) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23layer.conf: Mark opkg-utils as ABISAFE for update-alternatives usageRichard Purdie
Currently linux-firmware rebuilds for each machine due to its usage of update-alternatives which in turn means a dependency on opkg-utils. Marking opkg-utils as ABISAFE is the only option we have right now to avoid this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 6829c0e161c4a8cde6624f211865922fce62d4fa) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23update-rc.d/systemd: Remove OVERRIDES dependencyRichard Purdie
Taking run-postinsts and building for two machines which have different OVERRIDES leads to two different sets of stamps for an allarch package. We don't need to depend on OVERRIDES in these classes, the end resulting variables are good enough. We can therefore exclude the dependency and allow a single package to be generated for run-postinsts. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit fdc949154e64afb41dd4db3a97be74a15963128d) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23layer.conf: Add in useradd dependencies as ABISAFE dependenciesRichard Purdie
Currently allarch recipes using useradd rebuild each time MACHINE changes which is not desireable. Adding the useradd dependencies to this list ensures they do not change under these circumstances. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7743a309017f0fb9286f00b1f6f546ee95c05303) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2015-02-23gstreamer1.0-plugins-bad: disable libssh2Wenzong Fan
libssh2 is automatically linked to if present, this undetermined dependency may cause build errors like: .../x86_64-poky-linux/4.9.0/ld: cannot find -lssh2 libssh2 isn't an oe-core recipe, disable it for now. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> (cherry picked from commit 0cc59247ece1ea134d060d3ff064b5561972a92b) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>