Paul Eggleton [Wed, 29 May 2013 16:27:51 +0000 (17:27 +0100)]
bitbake.conf: set a default for MACHINE_FEATURES
Ensure that if MACHINE_FEATURES is not set by the machine config that we
don't end up with expansion errors during parsing. Technically since the
introduction of MACHINE_FEATURES_BACKFILL = "rtc" this is unlikely to be
a problem unless "rtc" is also added to
MACHINE_FEATURES_BACKFILL_CONSIDERED, however we should be consistent
with DISTRO_FEATURES which is defaulted in bitbake.conf.
(From OE-Core rev:
bf2c8946d96524aaa91ab43762c963ea38ccc342)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sun, 22 Dec 2013 13:52:53 +0000 (13:52 +0000)]
pciutils: tidy up recipe
* Move package-specific defitions to the end
* Define pciutils-ids package as ${PN}-ids
* Add SUMMARY and tweak DESCRIPTION for pciutils-ids package
(From OE-Core rev:
c8c39c78878cdffe47b376b6211dd1ae45fd59d2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sun, 22 Dec 2013 12:55:49 +0000 (12:55 +0000)]
opkg-utils: tidy up recipe
* Update HOMEPAGE
* Rearrange statements in logical order
(From OE-Core rev:
b180ede825dca8747c8c64dc2f23d64809a3ba95)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sun, 22 Dec 2013 11:50:38 +0000 (11:50 +0000)]
guilt-native: tidy up recipe
* Fix indentation and spacing
* Drop SRC_URI checksums that aren't used (recipe is fetching from git)
(From OE-Core rev:
d673ec1686631f4b146f59f8dc36287b65a5d95d)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sun, 22 Dec 2013 11:48:03 +0000 (11:48 +0000)]
enchant: tidy up recipe
* Move recipe definitions into logical order
* Fix spacing
(From OE-Core rev:
b3419d1d0cf3c7d21ed9e2ab65f16b8fc1b352bf)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sun, 22 Dec 2013 00:21:41 +0000 (00:21 +0000)]
stat: tidy up recipe
* Add SUMMARY
* Tweak DESCRIPTION
* Use PV in SRC_URI
* Drop commented-out function that we obviously don't need
* Move BBCLASSEXTEND to end to match with convention
(From OE-Core rev:
f50ece3e1f2fb1b0faee6c86a4e2ebf46e8e80dc)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sun, 22 Dec 2013 11:36:44 +0000 (11:36 +0000)]
adt-installer: tweak DESCRIPTION and add SUMMARY and HOMEPAGE
(From OE-Core rev:
48bdfc957f1994f945ca46fd769e154c1d50f027)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sun, 22 Dec 2013 12:40:59 +0000 (12:40 +0000)]
core-image-lsb: fix DESCRIPTION
LSB includes X, and I wouldn't really call this image "basic" or
"foundational" in our terms, so adjust the description to be a bit more
appropriate.
(From OE-Core rev:
6ba089373b5b2117c3d50ee58c11c6f46e62fecb)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sun, 22 Dec 2013 11:20:03 +0000 (11:20 +0000)]
binutils: add/tweak SUMMARY
(From OE-Core rev:
82a58c3342133d342907b54dafb2f22518d00707)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sun, 22 Dec 2013 00:23:59 +0000 (00:23 +0000)]
icecc-create-env-native: add SUMMARY and tweak DESCRIPTION
(From OE-Core rev:
274672362dbf0221144f2286bcd9a0b977c24fa6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sun, 22 Dec 2013 00:17:05 +0000 (00:17 +0000)]
gmp: set SUMMARY and DESCRIPTION
Use the same values for both versions (the GPLv2 version doesn't use the
.inc file).
(From OE-Core rev:
99c3f40299ddf97fd85eaea4d86176f2b4d4db92)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sun, 22 Dec 2013 00:12:43 +0000 (00:12 +0000)]
xf86-video-modesetting: set SUMMARY and DESCRIPTION
Set these consistent with other X.org video driver recipes.
(From OE-Core rev:
3737149835bc41915c1ac0ed4678a3d828bd77eb)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sun, 22 Dec 2013 00:12:06 +0000 (00:12 +0000)]
xf86-video-fbdev: set SUMMARY and DESCRIPTION
Set these consistent with other X.org video driver recipes.
(From OE-Core rev:
ff3af182f03948407ac71df54e8038296787dd11)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sun, 22 Dec 2013 00:11:12 +0000 (00:11 +0000)]
xf86-input-vmmouse: set SUMMARY and DESCRIPTION
Set these consistent with other X.org input driver recipes.
(From OE-Core rev:
fe7c955e63672afebe2475a0f482ef1bdb766c24)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sun, 22 Dec 2013 00:10:24 +0000 (00:10 +0000)]
qt4: set SUMMARY and tweak DESCRIPTION
(From OE-Core rev:
da0a84295583aaf9f943f7e3a64373079a70024d)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sat, 21 Dec 2013 23:56:36 +0000 (23:56 +0000)]
Basic recipe formatting fixes
Fix statement indenting and spacing issues that I happened to notice.
(From OE-Core rev:
d11e297b007aba625b398c52952ec929c3b02b83)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sat, 21 Dec 2013 23:47:48 +0000 (23:47 +0000)]
linux-dummy: set reasonable DESCRIPTION
(From OE-Core rev:
2deb5211fdad0df501c3c2cdb0ed14caccb37ebe)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sat, 21 Dec 2013 23:42:47 +0000 (23:42 +0000)]
linux-dummy: set LICENSE to GPLv2 to avoid license warning
This recipe doesn't actually produce any non-empty packages, but since
it's pretending to be a Linux kernel it might as well pretend to have
the same license, if for no other reason than to avoid producing a
warning since the previous value ("GPL") isn't acceptable.
(From OE-Core rev:
92cbf6962b82f9118bdc55883851adf2b5fcc930)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sat, 21 Dec 2013 23:41:45 +0000 (23:41 +0000)]
gawk: set reasonable SUMMARY and DESCRIPTION
Also ensure both versions have the same values.
(From OE-Core rev:
3111dc9a2edc2942f892589e575e7af63b1717d6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sat, 21 Dec 2013 23:40:04 +0000 (23:40 +0000)]
xev: add proper SUMMARY and DESCRIPTION
Add these consistent with other X.Org application recipes.
(From OE-Core rev:
7c2360f6c90e0f16b81d456861f44147c473017b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sat, 21 Dec 2013 23:35:45 +0000 (23:35 +0000)]
libunique: fix HOMEPAGE and touch up DESCRIPTION
(From OE-Core rev:
dee7d5b94f12e7e966bd39f0c82551d2c549588d)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sat, 21 Dec 2013 23:34:16 +0000 (23:34 +0000)]
bash: update HOMEPAGE
(From OE-Core rev:
ec7a9dcacce39e922295a7d84b815b01af27a8b8)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sat, 21 Dec 2013 23:33:15 +0000 (23:33 +0000)]
startup-notification: fix HOMEPAGE
(From OE-Core rev:
5a9254487a84a29fbf09d4f481c9dfa8832a6b8a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sat, 21 Dec 2013 23:32:34 +0000 (23:32 +0000)]
lame: update HOMEPAGE
(From OE-Core rev:
4af2f72f657dae94f65a60441aca76c19b0f7361)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sat, 21 Dec 2013 23:32:03 +0000 (23:32 +0000)]
libsamplerate0: add HOMEPAGE
(From OE-Core rev:
ec3f2d3cda1eced3d1c519c2243af4b764674c9f)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sat, 21 Dec 2013 23:31:05 +0000 (23:31 +0000)]
telepathy-mission-control: fix HOMEPAGE
(From OE-Core rev:
2a155e89bc9e25241b4f18b921844649b6b85ea5)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sun, 22 Dec 2013 11:40:50 +0000 (11:40 +0000)]
gettext: set reasonable SUMMARY and DESCRIPTION
Ensure both versions have the same values.
(From OE-Core rev:
164daf1398573bb503dbe301b4df5aabbc7cafc2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sat, 21 Dec 2013 22:51:12 +0000 (22:51 +0000)]
Add missing SUMMARY values
These recipes all had a long DESCRIPTION but no SUMMARY; since the
SUMMARY is often displayed alone by package managers and the default
value ("${PN} version ${PV}") isn't particularly useful, we should
always try to set SUMMARY.
(From OE-Core rev:
db02edd2e9d7645592933cbb25ea0ca4d6561392)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Thu, 19 Dec 2013 15:13:01 +0000 (15:13 +0000)]
Replace one-line DESCRIPTION with SUMMARY
A lot of our recipes had short one-line DESCRIPTION values and no
SUMMARY value set. In this case it's much better to just set SUMMARY
since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY
is at least useful. I also took the opportunity to fix up a lot of the
new SUMMARY values, making them concisely explain the function of the
recipe / package where possible.
(From OE-Core rev:
b8feee3cf21f70ba4ec3b822d2f596d4fc02a292)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Sat, 21 Dec 2013 13:06:07 +0000 (13:06 +0000)]
Replace OpenedHand Bugzilla in BUGTRACKER
This site no longer exists, and all of these are now (semi-)maintained
on yoctoproject.org infrastructure, so set BUGTRACKER to point to the
Yocto Project Bugzilla.
(From OE-Core rev:
4be5a258872f4d8b94a6215a455e7bd992db17f5)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Thu, 19 Dec 2013 15:09:36 +0000 (15:09 +0000)]
Drop empty/invalid BUGTRACKER values
Setting this value to blank or "n/a" in just a few recipes accomplishes
nothing.
(From OE-Core rev:
2d6f11d6bae8b03a00086f1dd43ca1853ac667d5)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Thu, 19 Dec 2013 14:01:49 +0000 (14:01 +0000)]
speex: fix SRC_URI to use PV instead of hardcoding the version
(From OE-Core rev:
7e9d1c6565d4065f52ad6d4fe8ede2159faafac6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Sun, 29 Dec 2013 03:50:46 +0000 (11:50 +0800)]
mesa-demos: fix unrecognised options
Fix two unrecognised options:
* --disable-libosmesa -> --disable-osmesa
* --disable-libx11 -> --disable-x11
(From OE-Core rev:
32e45c2e54877c5d0ba364041234eaa932bfb827)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Sun, 29 Dec 2013 03:48:36 +0000 (11:48 +0800)]
ghostscript: remove unrecognised option
Remove --without-jasper since the jasper had been removed:
commit
6070a6f33bebf7538e48219010bc1e4de8341ea8
Author: Ray Johnston <ray.johnston@artifex.com>
Date: Fri Aug 3 00:32:32 2012 -0700
Rip out jasper -- openjpeg is our JPX implementation.
(From OE-Core rev:
711ec79d118e0d116b14d48a08820e4f88979ed5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Sat, 28 Dec 2013 16:14:58 +0000 (00:14 +0800)]
wget: remove unrecognised option
Remove the --with-libc, I can't find anything about this option from
wget's log history.
(From OE-Core rev:
4751b3d4c5002759ba8f574167a6c321ff9042d6)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Sat, 28 Dec 2013 15:38:33 +0000 (23:38 +0800)]
cups: remove unrecognised option
Remove the following 2 options:
* --disable-tiff
* --with-pdftops
The tiff and pdftops filters have been moved into another package
cups-filters, so these options are not valid any more.
Please visit here for more info:
http://www.cups.org/str.php?L3930
(From OE-Core rev:
acf2aca0c6af216d2757b0591accd80608ac5898)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Sat, 28 Dec 2013 14:23:32 +0000 (22:23 +0800)]
enchant: fix unrecognised option
Fix the unrecognised option --disable-binreloc, the configure now uses:
AM_CONDITIONAL(WITH_BINRELOC, test "x$br_cv_binreloc" = "xyes")
We can use br_cv_binreloc=no to fix it.
(From OE-Core rev:
00c893c0fe524abb4ae4f1aa6d007ff543fb6afb)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Sat, 28 Dec 2013 12:52:48 +0000 (20:52 +0800)]
bluez-hcidump: remove unrecognised options
Remove the following two options since they are not needed any more:
* --with-bluez-libs
* --with-bluez-includes
commit
78631c5f66f0580695ff3aac4dc8831e3795b735
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Wed Aug 31 00:57:30 2011 -0700
Change includes to use local copy of Bluetooth library
(From OE-Core rev:
42877cedf24629fe61855ce3de5831e55d53a9bc)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Sun, 29 Dec 2013 03:06:02 +0000 (11:06 +0800)]
gstreamer1.0: remove unrecognised options
Remove the following two unrecognised options:
* --disable-oggtest
* --disable-vorbistest
They are defined in m4/ogg.m4 and m4/vorbistest.m4, but now configure
doesn't use them, configure.ac uses another way to define the
--enable-ogg and --enable-vorbis, and there is no test options, so
remove them.
(From OE-Core rev:
246119c1ec216c66395c26292938168c27b73f69)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Sat, 28 Dec 2013 12:09:32 +0000 (20:09 +0800)]
gstreamer1.0: remove unrecognised options
Fix the following options:
--disable-docs-build: replace with --disable-docbook --disable-gtk-doc
--with-check=no: --disable-check
(From OE-Core rev:
035f0e282ced1d1a2ebaf6900aa870a88e0f9450)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Sat, 28 Dec 2013 12:09:32 +0000 (20:09 +0800)]
gstreamer: fix unrecognised options
Fix the following options:
--disable-docs-build: replace with --disable-docbook --disable-gtk-doc
--with-check=no: replace with --disable-check
(From OE-Core rev:
72a75bb0fbe7caddf00710a61015f18a96e40cbf)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Sat, 28 Dec 2013 04:23:18 +0000 (12:23 +0800)]
libid3tag: remove unrecognised option
There is no --enable-speed in libid3tag's configure, but in libmad, and
it's already there, so remove it.
(From OE-Core rev:
bc64977ac02fc71de620254eb9f65998ae842629)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Sat, 28 Dec 2013 03:58:17 +0000 (11:58 +0800)]
dpkg: fix/remove unrecognised options
Fix/remove the following unrecognised options:
* --without-static-progs: can't find anything about this in the history,
so remove it.
* --without-dselect -> --disable-dselect
* --with-start-stop-daemon -> --enable-start-stop-daemon
* --with-bz2lib, typo, should be --with-bz2
* --without-sgml-doc: the sgml doc had been removed from dpkg, so
remove it.
(From OE-Core rev:
8d30a464cdb8c6bf0b9d2757ff7f8fc3445f51ba)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Sat, 28 Dec 2013 03:29:24 +0000 (11:29 +0800)]
tremor: remove unrecognised option
Remove the --disable-rpath, it seems taht there is never such an option
in tremor's configure, and it uses our libtool, so we don't have to
worry about the rpath.
(From OE-Core rev:
7803d98c7d72bc2313b965dfdf198bac6f31e6b0)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Sat, 28 Dec 2013 02:01:49 +0000 (10:01 +0800)]
alsa-lib: remove unrecognised options
Remove --with-cards and --with-oss, they are never in alsa-lib, but in
alsa-driver, and the --with-cards had also been dropped from
alsa-driver.
(From OE-Core rev:
ba2901ca9de118d92abe63ac78fa3652ffa66ee7)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Sat, 28 Dec 2013 01:34:12 +0000 (09:34 +0800)]
flac: remove unrecognised options
Remove --disable-id3libtest and --without-id3lib which had been removed
from flac for many years, here is the log from flac:
commit
e31d9eb05cb82bd5f9cab1e6ad5295ddad22bcab
Author: Josh Coalson <jcoalson@users.sourceforce.net>
Date: Tue Sep 28 00:23:57 2004 +0000
remove id3 support from the plugins
(From OE-Core rev:
4c75b4f973b156bfeabedbe79a7bcfaaf9fe5bfa)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Fri, 20 Dec 2013 14:48:45 +0000 (14:48 +0000)]
bitbake: fetch2: avoid printing "no checksum" error message twice
Because of the way we were handling this error, it was printed twice -
once via logger.error() (to avoid the log being printed) and a second
time when the exception gets wrapped in a FuncFailed at a higher level.
Call logger.error() earlier and change the text we send in the
exception to be more brief, so it more closely resembles the behaviour
when there is an invalid checksum.
(Bitbake rev:
46765369d7f76ec7f67b90430131a79eb6a66235)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Fri, 20 Dec 2013 14:48:44 +0000 (14:48 +0000)]
bitbake: fetch2: fail checksum validation if SRC_URI checksums set to ""
We were checking SRC_URI md5sum/sha256sum values against None here, so
if they were set to "" then no error was produced. Since the value is
still effectively unset in this case, this is not the right behaviour;
just check if the value doesn't evaluate to False instead.
(Bitbake rev:
040943a718795c64dc4e604abfcf08b26b7d00e6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Saul Wold [Fri, 20 Dec 2013 18:47:26 +0000 (10:47 -0800)]
openssl: use PACKAGECONFIG to disable perl bits
Adding perl to the RDEPENDS caused a performance hit to the overall build time since this was
the only package that depended on perl. The openssl-misc package is not installed by default
so use a PACKAGECONFIG which can be overridden to allow the perl scripts along with perl to
be installed.
(From OE-Core rev:
421e927bd453259f4b3cdbd1676f6e12f97bf34f)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alexandru DAMIAN [Wed, 18 Dec 2013 19:24:47 +0000 (19:24 +0000)]
toaster.bbclass: fix crash on buildstats collection
Toaster needs buildstats to be enabled in order to
collect task statistics. The toaster.bbclass didn't
have a guard to stop task data collection if the buildstats
weren't enabled, leading to a crash.
This patch verifies that the task variables are defined before
trying to use them.
(From OE-Core rev:
7f2637ec8d1b8840c31255572b5cb058777382e7)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cristiana Voicu [Fri, 20 Dec 2013 09:43:49 +0000 (11:43 +0200)]
valgrind: upgrade to 3.9.0
Changed patches directory to "valgrind";
Removed 4 patches because they were merged upstream;
Updated 2 patches because now it has configure.ac instead of .in;
Changed license md5 for 2 files because of a small change for copyright
year
(From OE-Core rev:
57794c201aa732392a135e03e04faf18929f645f)
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Fri, 20 Dec 2013 14:55:10 +0000 (14:55 +0000)]
classes/insane: restore printing LIC_FILES_CHKSUM checksum if not specified
OE-Core rev
ec8590aa81e201e28e500935d31cd7266114471f (by me)
unintentionally disabled printing the actual checksum value if no
checksum was specified, i.e.:
LIC_FILES_CHKSUM = "file://COPYING;md5="
Printing the actual checksum in this case is really useful when writing
a new recipe, so put this back in.
(From OE-Core rev:
e58cdd385584d7449236e6b1dc1bce0cbc8f2a0a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Fri, 20 Dec 2013 14:55:09 +0000 (14:55 +0000)]
libav: add libpostproc to PROVIDES (for 0.8.x version only)
There is a separate libpostproc recipe in meta-oe for use with 9.x and
later versions of libav for those few that need libpostproc; however if
you just add meta-oe and try to build libpostproc without selecting the
libav 9.x version recipe, you'll be building the libpostproc recipe
together with libav 0.8.x, which provides its own libpostproc; this
leads to confusing errors at packaging time. In order to flag up that
these conflict more appropriately, add libpostproc to PROVIDES
explicitly so that you at least get a multiple providers error at the
start of the build.
Fixes [YOCTO #5335].
(From OE-Core rev:
e8f9420fe901675fc1a8d4e41302c2faa4a7dc4a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sat, 21 Dec 2013 08:57:16 +0000 (08:57 +0000)]
sstate: Use datastore copies due to data changes persisting
The way the "all arch" PKGSPEC is enabled, it causes corruption
of the datastore of sstate operations against other tasks.
Data store copies are cheap and allow us to use that trick, resetting
to a clean copy of the data afterwards.
(From OE-Core rev:
afaf16100efa79a275a2f4b9f2caa80decfdeb81)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sat, 21 Dec 2013 08:56:48 +0000 (08:56 +0000)]
externalsrc: Fix deltask usage
An incorrect version of the patch merged which entirely removed the covered
variable. This corrects the patch so the code works.
(From OE-Core rev:
33874f9af895757c4b0fd2f4d350ed308edac03c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 20 Dec 2013 17:16:25 +0000 (17:16 +0000)]
terminal: Exclude BB_ORIGENV from the signatures
devshell was printing a traceback when exiting due to the use of dump_sigs()
being called on the task. This is turn was since this function referenced
BB_ORIGENV. We might as well globally exclude this for now since its a
data store object and cannot be pickled, not would it make sense to do so.
[YOCTO #5683]
(From OE-Core rev:
84b549afb46fce7b5cdaa977286aeb2e90d3bfdb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tom Zanussi [Fri, 20 Dec 2013 16:39:11 +0000 (10:39 -0600)]
yocto-bsp: Add missing interfaces file for qemu BSP templates
The qemu BSPs were picking up the wrong interfaces file, resulting in
some erratic interface behavior seen with qemu-based BSPs - this fixes
the problem.
[YOCTO #5636]
(From meta-yocto rev:
bbc3d56d6ec28b4cd92874fe4f98e1cd499415be)
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 20 Dec 2013 12:08:56 +0000 (12:08 +0000)]
sstate/sstatesig: Add populate_lic to list of arch invariant sstate tasks
Like fetch, unpack and patch, populate_lic doesn't vary between different
archs so we should mark it as such. This means better sstate cache reuse
with fewer duplicate files as well as less confusing sstate debugging.
sstatesig also needs to account for the fact BPN is used for sstate files
in these cases.
(From OE-Core rev:
3d59d0bed756f64d0092caa3892239c779c4a341)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 20 Dec 2013 12:06:41 +0000 (12:06 +0000)]
bitbake.conf: Exclude WORKDIR changes from sstate checksums
The layout of stamp files ensures that changes to WORKDIR mean recipes get rebuilt correctly.
Since WORKDIR usually contains MULTIMACH_TARGET_SYS and that depends on tune variables,
including WORKDIR in sstate checksums adds a lot of noise to the system for what amounts to
no gain.
On the other hand, removing it reduces noise, reduces the size of the siginfo files and
reduces the amount of processing bitbake has to do. It therefore seems like dropping it
from the checksums is an all around win.
(From OE-Core rev:
453353e05d027c6a505d1e13a7982718a13bca8b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 20 Dec 2013 12:06:02 +0000 (12:06 +0000)]
sstate: Convert to use ':' as a filename sperator and use SSTATE_SWSPEC globally
Currently the code has problems differentiating between "gcc-cross" and "gcc-cross-initial"
sstate files. We could add in a ton of special casing but tests show this isn't scaling
well. Using a more unique separator resolves the issue.
The choice of which separator to use is a hard one. We need something which isn't commonly
used in PN, PV, PR, *_OS and *_ARCH which rules out '-', '_' and it needs to work ok with
webservers/http which makes ';' and '%' harder.
The change also sets SSTATE_SWSPEC globally since writing out differently named siginfo
files for the fetch/unpack/patch tasks is a waste of diskspace, the hashes match for
all PN in the majority of cases and if they don't, its not a big issue as the hash is
different. This makes the results from sstate debugging more understandable.
(From OE-Core rev:
6f823a23c5f1d0ffa0a27db1c1bc1907de788505)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 20 Dec 2013 12:05:25 +0000 (12:05 +0000)]
libcap: Allow rebuilds to work correctly
Currently rerunning configure for libcap causes a build failure. This fixes
the sed expressions to work correctly for a rebuild.
(From OE-Core rev:
2a7b96549aab7c6dd854edf3c18e2bb6bb48479d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Saul Wold [Thu, 19 Dec 2013 23:31:02 +0000 (15:31 -0800)]
beecrypt: Allow PACKAGECONFIG to be overridden
(From OE-Core rev:
ec480d385dd61798dfa224d0c940a36f053f2942)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Saul Wold [Thu, 19 Dec 2013 23:30:40 +0000 (15:30 -0800)]
harfbuzz: Allow PACKAGECONFIG to be overridden
(From OE-Core rev:
ca35307b988367f18c3039c1d6c2bc400965a23f)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Zhang Xiao [Thu, 19 Dec 2013 05:35:32 +0000 (13:35 +0800)]
nfs-utils: modify the boot sequence of the init script
Move the nfscommon out of rcS and let it start just before
nfsserver. Modify the useradd parameter with long parameter
to make it more readable.
(From OE-Core rev:
73f94bed2c7603e1b3ded6ebd1a72ba237ff6e3d)
Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Valentin Popa [Thu, 19 Dec 2013 14:02:57 +0000 (16:02 +0200)]
runqemu: Allow user to set -vga option with qemuparams
At the moment, the user cannot to set -vga other then vmware
(because "vmware" is set by default); and the first argument
in qemuparams has higher precedence.
(From OE-Core rev:
54a43397c48c974570e3eade55163eb766994a55)
Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stefan Stanacar [Wed, 18 Dec 2013 18:31:55 +0000 (20:31 +0200)]
testimage: include traceback when loading a test fails
Makes it much easier to figure out where a syntax error is.
(From OE-Core rev:
0c30a25c3d5f7fb1087dff45e01595329620235f)
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stefan Stanacar [Wed, 18 Dec 2013 19:02:05 +0000 (21:02 +0200)]
lib/oeqa/runtime: rewrite the systemd test module
They are basically the same tests but:
- they look cleaner, using one single method / assert
- output from unittest will be cleaner (and includes a verbose status when needed)
- they are better grouped and use a real, active, enabled service
(machineid will be dropped and hostnamed was a static service)
(From OE-Core rev:
0aa5b97f9e0d8941ce342e9f162dd3b19d4b49bb)
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Corneliu Stoicescu [Tue, 17 Dec 2013 11:32:29 +0000 (12:32 +0100)]
oe-selftest: added buildhistory buildtime tests in module buildoptions.py
(From OE-Core rev:
0e462295d9db0201fb1ba2b6247ecb05fa7fcee1)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Corneliu Stoicescu [Tue, 17 Dec 2013 11:29:02 +0000 (12:29 +0100)]
oe-selftest: New test module for OE scripts.
Added a new module meta/lib/oeqa/selftest/oescripts.py containing tests
for scripts from ${COREBASE}/scripts
(From OE-Core rev:
685879739017317f234824689cbd89388d236816)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Corneliu Stoicescu [Tue, 17 Dec 2013 11:28:10 +0000 (12:28 +0100)]
oe-selftest: New BuildhistoryBase object for buildhistory testing.
(From OE-Core rev:
8c77911b0924dfb5b966bc40a541a02a29568603)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Saul Wold [Wed, 18 Dec 2013 23:45:36 +0000 (15:45 -0800)]
conf-notes: remove meta-toolchain-sdk references
[YOCTO #5676]
(From OE-Core rev:
4c81f743eb15604eb389f3ceafe7af7567a02e0d)
(From OE-Core rev:
987802907ef702bfec65507b276e166f0aee59ec)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cristian Iorga [Thu, 19 Dec 2013 09:34:52 +0000 (11:34 +0200)]
libtirpc: upgrade to 0.2.4
obsolete_automake_macros.patch removed,
no longer needed.
Disabled GSS APIs, as those APIs are
not present in our distro.
Patches directory is now generic,
as patches are not created for a specific version.
(From OE-Core rev:
3d42e107379d2e79b14a2dbcd35820c63adbfdb0)
(From OE-Core rev:
59c847b8cda4d70077c89f5761e000d089f8eb4b)
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 19 Dec 2013 09:40:10 +0000 (09:40 +0000)]
sstatesig: Correctly handle matches spanning stamps and sstatedir
By resetting filesdates at this point, we lose matches from stamps which
may not have been in sstatedir. When we don't have hashes specicifed,
its better to return all matches and have the caller decide which are
relavent and which are not since this function has no ability to
decide. There will almost always be one match from stamps we need
to keep and refer to.
(From OE-Core rev:
f4c1c9ad2c7e944d4926d0629611da97f9df6a9a)
(From OE-Core rev:
8629844640a5a4c6a9d9375e7b637bcbf3451c4c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 19 Dec 2013 09:39:35 +0000 (09:39 +0000)]
sstatesig: Update for the removal of sstate-name
We've dropped sstate-name so we can remove this code. The fallback was
incorrect since we use taskname without the do_ prefix so this patch
updates to account for that too.
(From OE-Core rev:
72ff58124081333d46d37f31f2d1bf40d715e3bd)
(From OE-Core rev:
dbc1426ee75bcf2f6d8b18312522a9b823e23173)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 19 Dec 2013 09:38:18 +0000 (09:38 +0000)]
sstatesig: Ensure we return all matches for find_sigdata
When the hashes to find isn't specified we need to return matches from both
the sstate cache and the local stamps directory regardless of how many we've
found so far. If we don't do this, we can miss stamps and the comparison is
less accurate/incorrect.
(From OE-Core rev:
08a074e11e2d517b81ca71fd9bda65297bb015a7)
(From OE-Core rev:
04fc682af7c1657b1c9f37b66a78c4ffc8066e24)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 18 Dec 2013 17:12:55 +0000 (17:12 +0000)]
ptest: Disable for native recipes
We don't use or otherwise care about ptest for native recipes. Its therefore
pointless to take the performance hit for them and we can disable them.
(From OE-Core rev:
f3d35bb4719d0b8f8e6fc5976e9dbfc0e2019c2e)
(From OE-Core rev:
16dd4cd5564a19b0a221661205430e01c35673af)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 18 Dec 2013 17:12:23 +0000 (17:12 +0000)]
ptest: Fix dependency/ordering issue
We've seen occasional issues on the autobuilder where files appear during
do_populate_sysroot and this is due to the ptest installation happening
in parallel. This fixes the order to be deterministic.
(From OE-Core rev:
0ed1641d870f4bb5735aeeb7bd29cc196e61b7cc)
(From OE-Core rev:
96aa9bf8880088c9a710c86cc8ee106138152a98)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 18 Dec 2013 11:30:03 +0000 (11:30 +0000)]
externalsrc: Use deltask API
Now we have deltask API, stop poking around bitbake internal variables.
(From OE-Core rev:
98637df0c04fd14b506d9eec7da8ec6ae441221b)
(From OE-Core rev:
3aa30ca04752c6366a81db6ff99209fa0b46861c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 18 Dec 2013 10:46:33 +0000 (10:46 +0000)]
native: Use deltask to remove tasks which have no purpose
core-image-sato has 47703 inter task dependencies before this patch
and 29883 afterwards which is a significant worthwhile task graph
simplification.
(From OE-Core rev:
ac4b1518ec549b5a4d7a79c60dbf96b90797e1d8)
(From OE-Core rev:
8f4f229ba8117ba411a858bf47f88a370bb70491)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 20 Dec 2013 12:24:56 +0000 (12:24 +0000)]
sanity.conf: Require bitbake 1.21.1 as a minumum version for deltask functionality
(From OE-Core rev:
cdc6dfd497c7a96f8ccd666fe0b8970d5b906786)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 20 Dec 2013 12:23:12 +0000 (12:23 +0000)]
bitbake: Update to version 1.21.1 for master
(Bitbake rev:
4cc6e61fe11eb233bdba7c1bdc110b8cdafa56f8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 20 Dec 2013 12:07:20 +0000 (12:07 +0000)]
bitbake: siggen: Fix reversed difference output
The output when comparing siginfo files for dict_diff is reversed and shows
additions when things were removed and vice versa. This patch reverses the operation
so the changes are shown correctly and makes the output less confusing.
(Bitbake rev:
9b4142df36619099670740a5d3bc94e404ab2b56)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 19 Dec 2013 09:40:52 +0000 (09:40 +0000)]
bitbake: runqueue: Further extend bitbake -S output to view signature differences
Based upon the list of difference starting points, we can use the siggen.find_siginfo()
function call and the difference printing code to provide a list of differences
between the current build target and whatever can be obtained from the sstate cache.
(Bitbake rev:
7a77861feb62750ef166d2d1e89ed1f444ca8dc7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 19 Dec 2013 09:37:39 +0000 (09:37 +0000)]
bitbake: siggen: When printing signatures recursively, limit the output
Currently the code prints all differences. If the task dependencies have changed hash,
we recurse into those and print those differences as well. This leads to a lot
of output. The reality is if the parents changed signature, we might as well just
say that and recurse with no other output since we're much more interested in how
the parents changed in nearly all cases. The changes in the parent are probably
the same ones we'd have printed at each level anyway.
By doing this we focus the output more carefully on the thing the user wants/needs
to see.
(Bitbake rev:
7a17fd6e51a76d3582c357b79f5ef86e1969650c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 19 Dec 2013 09:36:58 +0000 (09:36 +0000)]
bitbake: runqueue: Fix data being written into siginfo/sigdata files
The way hash_deps was being generated was different to the way siggen generated
the data internally which lead to seemingly different sigdata/siginfo files
for the same checksum. The -S output correct but the files written during
builds contained superflous data which would look like a difference.
This patch removes the badly duplicated data and uses it from the source
which ensures its consistent.
(Bitbake rev:
e6d5e925c402cd2cc7ee034e9de4cc6df8944a34)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Saul Wold [Wed, 18 Dec 2013 17:10:48 +0000 (09:10 -0800)]
security_flags: more relocation issues
These are similar relocation R_X86_64_PC32 issues that are solved by
removing the -pie flags.
[YOCTO #5515]
(From OE-Core rev:
cd94dd3d9bba32c3fd55959586128b236d1d4e34)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 18 Dec 2013 17:22:19 +0000 (17:22 +0000)]
dbus-ptest: Fix SRC_URI checksums
The upgrade changed the checksums for dbus but not dbus-ptest. This
patch corrects that.
(From OE-Core rev:
9e56856a15d80bf57b8a4fe54508141da46581f2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 18 Dec 2013 16:21:27 +0000 (16:21 +0000)]
bitbake: runqueue: Add output for -S option for listing the changepoints compared with an sstate cache
Its useful to understand where the delta starts against an existing sstate cache
for a given target. Adding this to the output of the -S option seems like a
natural fit.
We use the hashvalidate function to figure this out and assume it can find siginfo
files for more than just the setscene tasks.
(Bitbake rev:
c18b8450640ebfd55a2b35b112959f9ea3e0a700)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Olof Johansson [Thu, 12 Dec 2013 16:48:55 +0000 (17:48 +0100)]
bitbake: bb.fetch2.git: reuse basecmd attribute
The basecmd is initialized in urldata_init; there's no need redoing that
work.
(Bitbake rev:
f8df6f746fb2e27f029a5449cee6c891b1f36f4f)
Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 12 Dec 2013 16:48:54 +0000 (17:48 +0100)]
bitbake: fetch2/git: Improve handling of unresolved names verses branches
Currently the fetcher doesn't distinguish between names that the fetcher
needs to resolve verses branch names that the user specified.
This meant that if you specify a tag and a branch, the fetcher broke. This
separates the two so that the branch name is preserved and can be used in
appropriate places.
(Bitbake rev:
e85f39fe9d1b224414b5da0780da514f75c5df92)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 18 Dec 2013 10:45:02 +0000 (10:45 +0000)]
bitbake: build/ast: Create strong task add/del API in bb.build
Currently its near impossible to control task addition/deletion from
metadata context. This adds stong add/deltask API to bb.build
which is traditionally where it resided. The rather broken
remove_tasks function was removed, it didn't appear to do anything
useful or have any users.
This allows us to clean up hacks currently in use in metadata and use
standard API for it instead.
(Bitbake rev:
bf7138dd38fc1f8efca80891198e3422fef64093)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 18 Dec 2013 10:44:30 +0000 (10:44 +0000)]
bitbake: ast/BBHandler/build: Add support for removing tasks (deltask)
Back in the depths of time we did support task removal. In the pre
AST days it was nearly impossible to continue supporting it, it wasn't
used so it was dropped. With the modern codebase we can easily now support
deltask and it would be very useful within the metadata since it can
massively simplify dependency trees.
As an example, a core-image-sato had 47703 inter task dependencies before
this patch and a patch to native.bbclass, afterwards with the noexec tasks
deleted, we had 29883. Such a significant simplification is worthwhile
and justifies adding a deltask operation to the system.
(Bitbake rev:
acecbde6fb70ff3c96deab3cdf819d8442e87ed4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Krzysztof Sywula [Wed, 18 Dec 2013 15:01:54 +0000 (15:01 +0000)]
Minicom depends on libiconv
(From OE-Core rev:
1d6caef7222d0c1086a08a109ea4135a388c88e6)
Signed-off-by: Krzysztof Sywula <krzysztof.m.sywula@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Wed, 18 Dec 2013 16:20:05 +0000 (16:20 +0000)]
systemd-compat-units: drop machineid.service
systemd will create the machine ID automatically if it isn't set, so this unit
doesn't serve any purpose.
(From OE-Core rev:
8e6da3d8973777d9b651d085e06ee20a761ed62c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Wed, 18 Dec 2013 16:20:07 +0000 (16:20 +0000)]
systemd: delete files that end up in /var/volatile
${localstatedir}/log/journal is created by tmpfiles.d on boot, and the README
just causes warnings that /var/volatile isn't empty when mounting on top of it.
(From OE-Core rev:
dfcd8f2a6f5847d735755c1644c4c93be4fbb3e8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Wed, 18 Dec 2013 16:20:06 +0000 (16:20 +0000)]
systemd: pass --root in prerm if running on host
If a systemd image is built without a package manager then packages will be
removed from an image during rootfs generation, but without passing --root the
systemctl will look on the *host* system.
(From OE-Core rev:
d01da862d10d9544f8da846b577cf955041d4c0c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Wed, 18 Dec 2013 16:20:04 +0000 (16:20 +0000)]
dbus: upgrade to 1.6.18
Drop PR and INC_PR.
Move patches into a non-versioned directory, and update dbus-ptest to match.
(From OE-Core rev:
0289a1c325eea881ce3d68def5262f9e763d4fd2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Wed, 18 Dec 2013 16:20:03 +0000 (16:20 +0000)]
buildhistory: be quiet when garbage collecting the git repo
(From OE-Core rev:
b117403423f700eb4cc6967b9fb8ff3e2858e279)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Wed, 18 Dec 2013 16:20:02 +0000 (16:20 +0000)]
useradd.bbclass: add dependency on base-files
Packages that use useradd.bbclass should have a dependency on base-files so that
the /etc/skel directory is populated. Without this dependency base-files may or
may not be installed when the postinst runs, and the skel content may or may not
be copied.
(From OE-Core rev:
556368ba8a1f933a86b69be024bd0711d4bfe0a3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 18 Dec 2013 13:56:02 +0000 (13:56 +0000)]
sstate: Get rid of crazy name mapping
When originally developed, it was thought a task may have more than one associated
sstate archive. The way the code has grown that idea is now not possible or needed.
We can therefore assume one sstate archive per task and drop the crazy name
mapping code. Simpler is better in this case.
The downside is that various sstate archives will change name so this forces a cache
rebuild. Given the other sstate changes going in at this time, this isn't really
a bad thing as things would rebuild anyway.
(From OE-Core rev:
5afe86a6854b21692fd97c5fc7fab50dbc068acb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>