aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-06-24toolchain-shar-extract.sh: allow TERM through into SDK installer envpaule/startup-oePaul Eggleton
In order to show the task progress during the extensible SDK installation, knotty needs to know it is using a terminal it can support the "interactive" mode on (i.e. ncurses can be used), which means it needs access to the TERM variable value, so allow that through into the cleaned environment within the SDK installation script. Part of the implementation for [YOCTO #9613]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-06-24classes/populate_sdk_ext: show progress when preparing build systemPaul Eggleton
During the extensible SDK installation process the final step is to prepare the internal copy of the build system. This can take some time, especially if you have SDK_EXT_TYPE set to "minimal" (downloading sstate artifacts) and SDK_INCLUDE_PKGDATA set to "1" (restoring pkgdata for world). To make this a bit less painful, use BitBake's new quiet mode to display status during this operation so you have some idea of how it's progressing; instead of redirecting the output to preparing_build_system.log we grab the last console log and append it instead. One result of this change is that you get the errors printed on the console during normal output rather than this going to the preparing_build_system.log file first. In OE-Core revision 227d2cbf9e0b8c35fa6644e3d72e0699db9607fa, we changed to always print the contents of preparing_build_system.log on failure, but now at least the error contents of that log is duplicated. Besides, I intentionally didn't print out the contents of that log during normal usage because it's quite verbose - the bug that we were attempting to fix was about not getting this information when seeing failures in the automated tests, thus I've moved printing the log to the test handling code instead. Part of the implementation for [YOCTO #9613]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-06-24lib/oe/sstatesig: print locked sigs file message only when explicitly calledPaul Eggleton
If we're building the extensible SDK we don't need to see the "Writing locked sigs" message; it's only necessary when the user explicitly runs bitbake -S none <target>. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-06-24classes/populate_sdk_ext: eliminate double execution on installPaul Eggleton
Use the new BB_SETSCENE_ENFORCE functionality to avoid having to run bitbake twice on installing the extensible SDK - we can now do it all in one invocation which not only takes less time, but we should also get more meaningful errors for some types of failure, in particular where downloading from an sstate mirror fails. Part of the implementation of [YOCTO #9367]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-06-24classes/testsdk: print output correctly on failurePaul Eggleton
With Python 3 we get a bytes object from the command output and not a string, which gives some ugly formatting for error messages unless you decode it first. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-06-24classes/sstate: add a mode to error if sstate package unavailablePaul Eggleton
If BB_SETSCENE_ENFORCE is set to "1" and an sstate package fails to download outside of the whitelist specified by BB_SETSCENE_ENFORCE_WHITELIST, then fail immediately so you can tell that the problem was caused by failing to restore the task from sstate. Part of the implementation of [YOCTO #9367]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-06-24classes/sstate: show progress during sstate object availability checkPaul Eggleton
Show progress through bitbake's standard terminal UI when checking for shared state object availability, since this can take some time if there are a large number of tasks to be executed and/or the network connection is slow. Part of the implementation for [YOCTO #5853]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-06-24classes/image: implement progress support for do_rootfsPaul Eggleton
Use the new task progress functionality to report progress during do_rootfs. This is a little coarse and ideally we would have some progress within the installation section, but it's better than nothing. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-06-24classes/cmake: enable progress for do_compilePaul Eggleton
cmake outputs percentage complete as part of its compilation process, so we can enable BitBake's new progress scanning for do_compile here. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-06-24bitbake.conf: whitelist progress varflagPaul Eggleton
We don't want the value of this varflag in any signatures since it's only there for the purpose of aiding display of task execution. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-06-21build-appliance-image: Update to master head revisionRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21e2fsprogs: Manually bump PR due to PV change (work around sstate confusion)Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21e2fsprogs: remove the extra dot from the recipe filenameAlexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21build-appliance-image: Update to master head revisionRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21package_manager: Fix multilib package arch ordering issuesRichard Purdie
Order is not preserved in dict() and this code depends on the order of these lists of package architectures used when multilibs are enabled. This caused 'random' breakage where sometimes the correct order was present and sometimes it wasn't. Use collections.OrderedDict() to avoid this problem. Kudos to Bill Randle and Alejandro Hernandez who did most of the work debugging this, I simply took the problem they identified and wrote a patch to fix it. This unblocks the M1 build but this code needs auditing as there are clearly other ordering issues (e.g. the set() usage). [YOCTO #9717] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-20rootfs_rpm: Increase rootfs sizeSaul Wold
This doubles the amount of extra space that is provided for SMART and RPM, as they consume more disk space during qa testing via testimage [YOCTO #9800] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-19Revert "cmake.bbclass: set the modules directory correctly"Richard Purdie
This reverts commit 642bd49964690259328f506df41a1764c5ac6226. This broke "bitbake cmake": | CMake Error at /home/jku/src/poky/build/tmp/work/core2-64-poky-linux/cmake/3.5.2-r0/toolchain.cmake:34 (list): | Syntax error in cmake code at | | /home/jku/src/poky/build/tmp/work/core2-64-poky-linux/cmake/3.5.2-r0/toolchain.cmake:34 | | when parsing string | | /home/jku/src/poky/build/tmp/sysroots/qemux86-64/usr/share/cmake-\3.5.${CMAKE_MINOR_VERSION}/Modules/ | | Invalid character escape '\3'. | Call Stack (most recent call first): | /home/jku/src/poky/build/tmp/sysroots/x86_64-linux/usr/share/cmake-3.5/Modules/CMakeDetermineSystem.cmake:98 (include) | CMakeLists.txt:19 (project) https://autobuilder.yoctoproject.org/main/builders/nightly-world/builds/832 https://autobuilder.yoctoproject.org/main/builders/nightly-world-lsb/builds/550
2016-06-17cmake.bbclass: set the modules directory correctlyJose Pardeiro
The CMake recipes contain a mismatch between the environmental variable which defines where the Modules are installed and the location where they actually are. This patch fixes the environmental variable to point to the proper folder defined according to the cmake version. Signed-off-by: Jose Pardeiro <jpardeiro@rapyuta-robotics.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-17pseudo: remove rpath from libpseudo.soEd Bartosh
Setting rpath causes clash of host and sdk libc and makes pseudo to crash with relocation error: libpthread.so.0: symbol __libc_vfork, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference Removing rpath fixes this as it makes pseudo to use only host pthread and libc. [YOCTO #9761] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-17useradd-staticids.bbclass: Allow missing UIDs/GIDs to generate warningsPeter Kjellerstedt
Previously when USERADD_ERROR_DYNAMIC was set to "1", an exception was raised if no numeric UID/GID could be determined for a user/group. Now it is possible to set it to either "error", which results in the old behavior, or "warn" in which case a warning is issued instead. For backwards compatibility reasons, it is still possible to set USERADD_ERROR_DYNAMIC to "1" and get an exception in case of failure. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-17useradd-staticids.bbclass: Restore failure on missing UIDs/GIDsPeter Kjellerstedt
A regression was introduced with commit 3149319a whereby setting USERADD_ERROR_DYNAMIC no longer resulted in an error for users and groups that were missing numeric UIDs and GIDs but were not mentioned at all in any passwd or groups file. [YOCTO #9777] Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-17documentation.conf: Add information about USERADD variablesPeter Kjellerstedt
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-17base.bbclass: p4 fetcher supports srcrevAndrew Bradford
Enable the perforce fetcher to call bb.fetch2.get_srcrev() as it can use 'SRCREV = "${AUTOREV}"'. Signed-off-by: Andrew Bradford <andrew.bradford@kodakalaris.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-17packagegroup-self-hosted: add back Python 2Ross Burton
Some recipes depend on Python 2 being present (eg glib and ncurses) so until they've all been migrated to Python 3 we should continue to ship Python 2 in the self-hosted packagegroup. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-17gtk+3: Add patch for --disable-openglJussi Kukkonen
Patch is a bit nasty and not maintainer friendly, but it does make Gtk+3 compile without libepoxy (which means without OpenGL dev files). Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-16build-appliance-image: Add LC_ALL setting and drop pseudo piecesRichard Purdie
The pseudo pieces here date from times gone by when bitbake ran in two phases. Its long since obsolete and can be dropped. Also set LC_ALL so that bitbake works correctly and uses the local we're already installing into the image so we have utf-8 available. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-16package_deb: Avoid chdir warnings and restore cwd after packagingRichard Purdie
dpkg-build needs to be executed in the root of the package, so save and restore the current directory so this task doesn't modify the state. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-16build-appliance-image: Install network componentsJuro Bystricky
Explicitly add network components into Build Appliance image, do not rely on packagegroup-self-hosted to pull them in. Network related dependencies were removed from packagegroup-self-hosted. YOCTO #9758 Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-16build-appliance-image: Update to master head revisionRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-16packagegroup-core-device-devel: add binutils-symlinksRoss Burton
This packagegroup previously included oprofileui-server which indirectly depended on binutils-symlinks. Since the removal of oprofileui-server binutils-symlinks wasn't pulled in, which makes a packagegroup apparently for development on the target fairly useless (and also broke QA). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15directfb: fix client->gfx_state initialisationAndre McCurdy
Shortly before the DirectFB 1.7.7 release, an optimisation was added to CoreGraphicsStateClient_Init() to avoid creating an extended Graphics State object if it will not later be required: 4d422fb Client: Create extended Graphics State object when needed for later usage Unfortunately the client->gfx_state variable used to track the extended Graphics State object is not initialised, which can lead to crashes etc due to creation of the Graphics State object erroneously being skipped. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15package_ipk: restore cwd after packagingRoss Burton
opkg-build needs to be executed in the root of the package, so save and restore the current directory so this task doesn't modify the state. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15classes/package: save/restore cwd in split_and_strip_filesRoss Burton
This function uses chdir() heavily, so save and restore the cwd so that it doesn't affect the system state. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15classes/kernel: remove path assumptions in compile_kernelmodulesRoss Burton
do_compile_kernelmodules was assuming that the current directory was ${B} but didn't make that explicit, so use an absolute path to ensure this always works. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15classes/image: don't chdir when creating symlinksRoss Burton
There's no need to chdir() when creating image symlinks, and using chdir() changes the state for future tasks. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15core-image-sato: add gtk+ for M1Ross Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15make: 4.2 -> 4.2.1Robert Yang
1) Remove unused patch 0001-main.c-main-SV-43434-Handle-NULL-returns-from-ttynam.patch. 2) Here are the fixes since 4.2, the [SV 47995] is important for us. * maintMakefile: TP recommends rsync for retrieving PO files. * main.c (main): [SV 48009] Reset stack limit for make re-exec. [SV 47995] Ensure forced double-colon rules work with -j. * DELETE_ON_ERROR: [SV 48061] Use "exit 1" for portability. * w32/pathstuff.c: [SV 47996] Use ISBLANK() not isblank(). Fix printing time stamps on MS-Windows [SV 48037] Fix MinGW build with Posix configury tools Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15gnome-themes-standard: Use distro_features_check for GTK+2Jussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-15gtk-engines: Remove as unusedJussi Kukkonen
gtk-engines is no longer used by any theme in oe-core Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-15sato-icon-theme: remove as unusedJussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-15gtk-sato-engine: Remove as unusedJussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-15packagegroup-self-hosted: Remove unused theme, use Adwaita iconsJussi Kukkonen
GTK+3 default theme is included in GTK+3. The corresponding GTK+2 theme would be in gnome-theme-adwaita, but the packagegroup does not have GTK+2 apps anymore. Also move icons to -graphics package. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-15matchbox-desktop: Add Sato folder configurationJussi Kukkonen
matchbox-desktop folder configuration for Sato was in a separate project 'matchbox-desktop-sato'. Skip the extra overhead: remove matchbox-desktop-sato and include the files here. Drop Utilities folder and include those icons in the Applictions folder in an effort to make the common case a little more useful: Now e.g. Terminal icon should be visible on startup. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-15matchbox-session-sato: Update session startupJussi Kukkonen
* Use Adwaita Gtk+ theme * sato-gtk-engine is no longer needed with Adwaita * GTK_CSD tricks are no longer needed since the panel does not draw on top windows * Add meta-theme index file: it used to be provided by gtk-sato-engine and is used by matchbox-config-gtk only (to be able to show a single selection for Gtk+, icon and Matchbox themes). This is a more logical place for it. * Set matchbox-theme gconf key (just to be explicit, this is the default already) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-15sysprof: Upgrade to git version slightly past 3.20Jussi Kukkonen
New version uses Gtk+3. 3.20 release requires a bunch of fixes to build without polkit, this git revision inclues those fixes. * Add patch to use proper U64_TO_POINTER macro to fix build on 32 bit platforms. * Forward port memory barrier patches for arm & mips * sysprof builds with loads of warnings and git builds also use -Werror: avoid that by setting "--enable-compile-warnings" Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-15avahi-ui: Build with Gtk+3Jussi Kukkonen
Add patch to install GtkBuilder ui files for GTK+3. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-15webkitgtk: Disable Gtk2 plugin process by defaultJussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-15gtk+: RRECOMMEND adwaita themeJussi Kukkonen
Without this a gtk+2 app appended to an image is going to look awful. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-15packagegroup-core-x11-sato: Remove gtk-sato-engineJussi Kukkonen
The theme engine is no longer needed with GTK+3. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-15libowl: Remove as unusedJussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>