aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-01-19kernel.bbclass: Add PACKAGE_WRITE_DEPS for postinstjku/wip-rssJussi Kukkonen
The depmodwrapper dependency is not actually used by the class but anyone using pkg_postinst_kernel-base() will need it. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2017-01-19cantarell-fonts: inherit pkgconfigJussi Kukkonen
configure fails without pkg-config. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2017-01-19fontcache.bbclass: Add PACKAGE_WRITE_DEPS for postinstJussi Kukkonen
Qemu is used to run fc-cache on postinstall. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2017-01-19gconf.bbclass: Add PACKAGE_WRITE_DEPS for postinstJussi Kukkonen
gconftool-2 is used during postinstall. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2017-01-19gio-module-cache: Add PACKAGE_WRITE_DEPS for postinstJussi Kukkonen
Qemu is used to run gio-querymodules on postinstall. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2017-01-19gsettings: Add PACKAGE_WRITE_DEPS for postinstJussi Kukkonen
glib-compile-schemas is needed during postinstall. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2017-01-19gtk-immodules-cache: Add PACKAGE_WRITE_DEPS for postinstJussi Kukkonen
Qemu is used to run gtk-query-immodules-* on postinstall. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2017-01-19mime.bbclass: Add PACKAGE_WRITE_DEPS for postinstJussi Kukkonen
update-mime-database is used in postinstall. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2017-01-19update-alternatives.bbclass: Add PACKAGE_WRITE_DEPS for postinstJussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2017-01-19update-rc.d: Add PACKAGE_WRITE_DEPS for postinstJussi Kukkonen
use_updatercd() will always return true in rootfs generation so checking that is not required. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2017-01-19dbus: Add PACKAGE_WRITE_DEPS for postinstJussi Kukkonen
systemctl is needed if both systemd and sysvinit are in distro features. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2017-01-19systemd: Add PACKAGE_WRITE_DEPS for postinstJussi Kukkonen
Qemu is used to run udevadm in postinstall. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2017-01-19eudev: Add PACKAGE_WRITE_DEPS for postinstallJussi Kukkonen
Qemu is used to run udevadm in postinstall. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2017-01-19shadow: Add PACKAGE_WRITE_DEPS for postinstJussi Kukkonen
pwconv and grpconv are used in the postinstall script. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2017-01-19xorg-font-common: Add PACKAGE_WRITE_DEPS for postinstJussi Kukkonen
mkfontdir and mkfontscale are used in the postinstall script. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2017-01-19linux-dtb: Add PACKAGE_WRITE_DEP for postinstallJussi Kukkonen
update-alternatives is used in postinstall. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2017-01-19nss: Add PACKAGE_WRITE_DEPSJussi Kukkonen
nss-native is required in postinst. It's also needed during build so not removed from DEPENDS. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2017-01-19scripts/wic: Fall back to the image sysroot if wic-tools isn't presentRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19selftest: fixed 3 wic test casesEd Bartosh
Fixed test_systemd_bootdisk, test_wic_image_type and test_qemu test cases by building core-image-minimal with correct configuration. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-01-19selftest: wic: don't set WKS_FILEEd Bartosh
Setting WKS_FILE variable should be done only when wic image is expected to be built by bitbake. If it's set for all images it breaks image building in some cases. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-01-19wic: fixed test_iso_image test caseEd Bartosh
Fixed isoimage-isohybrid plulgin and correspondent wic tet case: - used wic-tools target when getting varlue of STAGING_LIBDIR variable - ensured that image is built with efi and hddimg enabled Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-01-19wic: fixed recipe nameEd Bartosh
Renamed grub-efi-native -> grub-efi in NATIVE_RECIPES dictionary as '-native' suffix is added to the recipe name in the code. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-01-19partition.py: use FAKEROOTCMD variable to get path to pseudoEd Bartosh
wic used native sysroot to get path to pseudo utility. This approach doesn't work with recipe specific sysroots. Using FAKEROOTCMD should fix the issue. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-01-19image.bbclass: put .env files to ${STAGING_DIR}/imgdata/Ed Bartosh
As STAGING_DIR_TARGET started to point to a recipe specific sysroot wic is not able to add .env files when .wks file refers to multiple rootfs recipes. Used STAGING_DIR instead of STAGING_DIR_TARGET to make the directory with .env files the same for all recipes. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-01-19image_types: add RECIPE_SYSROOT_NATIVE to WICVARSEd Bartosh
Added RECIPE_SYSROOT_NATIVE to the WICVARS for wic to be able to access it when run from bitbake. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-01-19wic: fix getting path of native sysrootEd Bartosh
wic used STAGING_DIR_NATIVE variable as a path to native sysroot. This doesn't work with recipe specific sysroots as STAGING_DIR_NATIVE points to the native sysroot of the current recipe. Used RECIPE_SYSROOT_NATIVE variable of wic-tools recipe to fix the issue. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-01-19selftest: build wic-tools in the Wic.setUpEd Bartosh
Built wic-tools recipe instead of set of tools recipes to ensure that all tools are available from one recipe sysroot. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-01-19image_types.bbclass: build wic-toolsEd Bartosh
Added dependency do_image_wic -> wic-tools:do_build to ensure that all required tools are ready to use by wic. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-01-19wic: add wic-tools recipeEd Bartosh
This meta recipe is for building tools used by wic. It allows wic to find tools in recipe specific sysroot as all tools will be present in wic-tools sysroot. NOTE: task do_build_sysroot is created to ensure that sysroot is re-populated when package is built. Otherwise it will be taken from sstate and sysroot will not be populated. [RP: Added syslinux exclusion for non-IA arches] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19image: debug test codeRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19core-image-sato: SDK should contain intltool and glib-2.0 tools for NLSRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19selftest/wic: hack for nowRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19selftest/devtool: Update to account for recipe specific sysrootRichard Purdie
There is no common sysroot any more so add the libusb dependency using DEPENDS and check for the output in the sysroot output directory so the tests work with recipe specific sysroots. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19PACKAGE_WRITE_DEPS first passRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19Recipe specific sysroot WIPRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19poky: Add Ubuntu 16.10 as supported distroRichard Purdie
I'm this locally on my build machine so its likely to work. (From meta-yocto rev: df2bdba3b96ae0957fee5065befa569fc940b5e3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19bitbake: fetch2: Avoid recursive errorsRichard Purdie
If PATH contains WORKDIR which contains PV which contains SRCPV we can end up in circular recursion within the fetcher. This code change allows for the recursion to be broken by giving PV a temporary dummy value in a data store copy. (Bitbake rev: ce1e70b8018340b54dba3a81d7d379182cb77514) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19bitbake: cooker: Add BB_LIMITEDDEPS supportRichard Purdie
When we're running with bitbake -b, BB_TASKDEPDATA is incorrect and limited. We really need a way to know this from the metadata and this new variable provides this in worker context. This means existing code can stop having to guess. (Bitbake rev: 05763bc886024dcce2ce6b3060fb00abf79a9402) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19bitbake: event/ast: Add RecipeTaskPreProcess event before task finalisationRichard Purdie
There are various pieces of code which need to run after the tasks are finalised but before bitbake locks in on the task dependencies. This adds such an event so dependency changes in anonymous python can be accounted for and acted upon by these specific event handlers. (Bitbake rev: 4dcd0e53f5ff4bf4f2d6cbdc51ff33a5f5f206af) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19bitbake: runqueue: Fix traceback when using -bRichard Purdie
Without this, bitbake -b of image recipes cause tracebacks since the list of providers is empty. (Bitbake rev: c53e43f3c6a675c0934a7a4e358fd66b049ffca3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19bitbake: cooker: Only add universe targets where the task existsRichard Purdie
Currently "bitbake universe -c fetch" will error if every task in the system doesn't have a fetch task. This seems unreasonable so filter the list based upon whether the task exists. This implementation does assume if a task exits for a given provider name, it can run, even if the preferred provider that ends up getting built might be the namespace without the task. This is unlikely to be a real world issue at this point. (Bitbake rev: 438986f4e39974930ee3205ca4c4d620090e57bb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19bitbake: cooker.py: new multiconfig '*' syntax supportJuro Bystricky
Currently you cannot build a target for all the configured multiconfigs without specifying a list. The list can be quite long, requiring to type several lines of text. This enhancement is to support globbing so that you can do this, e.g. instead of: $ bitbake multiconfig:A:bash multiconfig:B:bash bash you can do: $ bitbake multiconfig:*:bash There are real world use cases where it is desirable to use multiconfig with two different tasks. For example: SDKs with multiple toolchains but also containing set of additional host tools, or multiconfig builds requiring one image for the main CPU(s) and a different co-image for a companion CPU. For this reason, two variations of the new syntax are supported. For example, the following: $ bitbake multiconfig:*:meta-toolhchain would expand to: $ bitbake multiconfig:A:meta-toolchain multiconfig:B:meta-toolchain meta-toolchain However the following: $ bitbake multiconfig:*:meta-toolhchain hosttools would expand to: $ bitbake multiconfig:A:meta-toolchain multiconfig:B:meta-toolchain hosttools In other words, if the user specified the "default" task explicitly, it replaces the implicit "default" task. [YOCTO#10680] (Bitbake rev: 1559ad1fc3ae8b1e4e75b210f598b90be192571b) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19staging: Add dependency on virtual/binutils for strip binaryRichard Purdie
The staging code strips binaries and we need virtual/binutils for that. Add a specific dependency since the one from do_configure and others may not be enough to ensure the binaries are in our own sysroot. (From OE-Core rev: 3634e94cf4310a8bae68bda2f2427d5d33b5d07a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19oe-selftest: Error if the user has buildhistory enabledRichard Purdie
buildhistory interfers with various tests so error if the user has it enabled, hence avoiding time spent running the tests only for them to fail. (From OE-Core rev: 6f6a83bdacb363c16853aa32f6784705b35c2012) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19multilib_global: Drop pointless event mask/code filteringRichard Purdie
This code was pointless so cleanup, drop the unused event and the filtering is no longer needed. (From OE-Core rev: c8db6e33df49fd3ec779f9a8a8ef861abba6ed16) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19devtool: fix source extraction to work with recipe specific sysrootsPaul Eggleton
When extracting source for a recipe within devtool (for extract, modify or upgrade) We need to redirect WORKDIR, STAMPS_DIR etc. under a temporary directory so that: (a) we pick up all files that get unpacked to the WORKDIR, and (b) we don't disturb the existing build However, with recipe-specific sysroots the sysroots for the recipe will be prepared under WORKDIR, and if we used the system temporary directory i.e. usually /tmp) as used by mkdtemp by default, then our attempts to hardlink files into the recipe-specific sysroots will fail on systems where /tmp is a different filesystem, and we'd have to fall back to copying the files which is a waste of time. Put the temp directory under the WORKDIR to prevent that from being a problem. (From OE-Core rev: 8022664d606cacc6c9dd121e80f2e0634ce6f400) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> [RP: Add needed mkdirhier call] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19sstate: Fix EXTRA_STAGING_FIXMES handlingRichard Purdie
The code wasn't working properly, tweak so that it works as expected and the grep expression includes the right patterns. Not sure this code has ever worked prior to this. (From OE-Core rev: 5e244fbab846768f6c2dfe80668f8c53d881ae4d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19sysprof/gst-player/pcmanfm: Add missing glib-2.0-native DEPENDSRichard Purdie
These recipes use glib-2.0 NLS tools so we need to depend on glib-2.0-native. (From OE-Core rev: 1ebc75e06cc5c3dabb3c873501eaf339cfc05f98) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19sysprof: Add missing libxml2-native DEPENDSRichard Purdie
Configure searches for xmllint which comes from libxml2-native. (From OE-Core rev: 4e5e7ecd2a3271b7ac5625917ed3e2e9ab5333f8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19vte: Add missing libxml2-native DEPENDSRichard Purdie
Configure searches for xmllint which comes from libxml2-native. (From OE-Core rev: a969ba3ca43f4e86b63805d303dd7ff03f56ef8b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>