Age | Commit message (Collapse) | Author |
|
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>
|
|
systemd.bbclass handles everything based on DISTRO_FEATURES.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
It needs to be relative to DPKG_INSTDIR when installing.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Target scripts already contain the correct value.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Exporting PERL_LIBDIR is enough, compiler.m4 isn't needed.
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>
|
|
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>
|
|
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Keep default dependencies as before. Set default compressor to xz
if selected, gzip otherwise.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
(Backported from master)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
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>
|
|
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Debian, Ubuntu and opkg all have it in bindir.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
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>
|
|
Otherwise inconsistencies occur on hybrid systemd+sysvinit systems,
especially on upgrade.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
- 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>
|
|
- 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>
|
|
Since 3.8.0, valgrind supports MIPS32. MIPS64 was added in 3.9.0.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
* Copied from xserver-nodm-init.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
changed to MACHINE_ARCH
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
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>
|
|
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>
|
|
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 390916b8400a46088c71183aef6e17b947cf4b74)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|