summaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* wic: do not overwrite autogenerated /etc/fstab with original too earlyMaciej Borzecki2014-07-261-1/+4
| | | | | | | | | | | | | | | | | | | DirectImageCreator.__write_fstab() generates new /etc/fstab in sysroot with rootfs contents. The fstab entries are generated base on the initialn contents of /etc/fstab, plus any extra (other than / or /boot) partitions listed in *.wks. A backup of original /etc/fstab is done in a temp location. Subsequent call to __restore_fstab() restores the backup copy, replacing the autogenerated one. Calling __restore_fstab() before Wic_PartData.prepare() brings back the original fstab before the partition image file actually is created. As such, the autogenerated /etc/fstab will not make it to the partition. (From OE-Core rev: a9e59d7b1fa1ed33ce9678fb77a367800d7a8f87) Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: squashfs partition supportMaciej Borzecki2014-07-251-0/+61
| | | | | | | | | | | | It is possible to instruct wic to create a squashfs partition by setting --fstype=squashfs in *.wks. For now this is only useable for rootfs partitions (note that you must have squashfs support in the kernel). An attempt to create an empty partition will produce a warning. (From OE-Core rev: 30266a0be946bd0ce76d6920e7afe840c6c3bf80) Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: --fsoptions handlingMaciej Borzecki2014-07-251-1/+9
| | | | | | | | | | | Add handling of --fsoptions in parition definition. If no options are specified, 'defaults' is used. (From OE-Core rev: e91c0db15db74237606fae96c9b7d21936519a86) Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Remove fstype from mkefidisk canned wksTom Zanussi2014-07-231-1/+1
| | | | | | | | | | The bootimg-efi plugin specifies the fstype internally, so remove it from the partition definition. (From OE-Core rev: e9365e9d9e8a8696849fda182ec260398059089a) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Add help entry for wic kickstartTom Zanussi2014-07-231-0/+1
| | | | | | | | | | | Previous patches added help for 'wic kickstart' but forgot to add an entry in the main help page showing its availability. Add an entry for it. (From OE-Core rev: 5aa212f990c3d9b90a4f06cea346b82fc5d376ba) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Fix bad directory name in bootimg-efiTom Zanussi2014-07-231-1/+1
| | | | | | | | | | The original move of the mkefidisk code to the bootimg-efi plugin resulted in a bad hdddir - fix it. (From OE-Core rev: ab337705521d8734f12be612709e70a163111fe3) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Add signal handlingDarren Hart2014-07-231-2/+4
| | | | | | | | | | | | Add basic signal handling to unmount and remove any temporary files. Correct a quoting issue with the die() function caught testing signal handling. Fix a minor typo in "formatting" output. (From OE-Core rev: a085cdf0e2dcf6543f61a8bdf68f83bcf8006373) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Fix redirection to 1Darren Hart2014-07-231-19/+19
| | | | | | | | | | | | The current script intends to redirect stderr to stdout, but instead redirects to a file named 1. No doubt a regex replace error. Replace all instances of 2>1 with 2>&1. (From OE-Core rev: 1864ca9751c28cca248cfba77a3d23fc58ff43bb) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Remove initrd entry for gummibootDarren Hart2014-07-231-0/+1
| | | | | | | | | | | | My previous patch adding gummiboot support was missing the line to remove the initrd line from the boot config. This was an oversight in copying over the grub setup to gummiboot. Add the necessary logic to remove it. (From OE-Core rev: c7355550dc21a1ef3c2e828ed5f51e94e12fac5f) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/test-remote-image: use the scriptpath moduleCorneliu Stoicescu2014-07-191-2/+12
| | | | | | | | | Use the scripts/lib/scriptpath module in order to standardize the adding of bitbake/lib and meta/lib to sys.path. (From OE-Core rev: 32c5b31d8a22bb8ba49db8a5c797ad0f421e67a3) Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-selftest: add command-line parsing and optionsCorneliu Stoicescu2014-07-191-28/+53
| | | | | | | | | [YOCTO #6453] (From OE-Core rev: d9291390d56cae9c9d0f5e44d5e7293260dad077) Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Reduce output and add verbose flagDarren Hart2014-07-191-47/+67
| | | | | | | | | | Remove superfluous output from commands, add a -v verbose flag, and cleanup output. (From OE-Core rev: 0742bcd437362eb31b40e35f7331f191a1e070d0) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Make the rootfs copy the last stepDarren Hart2014-07-191-10/+12
| | | | | | | | | | Copying the rootfs is the most time intensive task. Move it last so if we are to encounter other errors, we do so quickly and error out. (From OE-Core rev: 38a485aabfb57d42fa4663386c22aa9260d0a944) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Add die() and cleanup() routinesDarren Hart2014-07-191-47/+68
| | | | | | | | | | | | | | | Currently the script will attempt to continue even after a fatal error. Add a die() routine which will abort in the case of a fatal error and call a cleanup() routine to unmount any images or devices and remove the TMPDIR. Move the variable assignment and directory creation earlier in the script, making it more obvious what we need to clean up. (From OE-Core rev: 40fe82fecf7a94b24893862ac17ee2bc749fc5e8) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Improve loggingDarren Hart2014-07-191-32/+60
| | | | | | | | | | | | | | Add logging functions: error, warn, info, and success, using tput to add color highlighting. Use these routines throughout the script, replacing echo statements and adding "|| error" in several places to eliminate silent failures. Add a simple exit block which checks for issues encountered while running. (From OE-Core rev: b5a3f6465a7fd8e821b81da053bf7e11535f1652) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Copy the EFI dir recursivelyDarren Hart2014-07-191-3/+1
| | | | | | | | | | | Rather than only copying the EFI/BOOT dir, copy the entire EFI dir recursively. This allows for custom configurations to be enabled implicitly with no extra work required. (From OE-Core rev: f6f243bff4fa7c0e876a506a7013c86e0141556c) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Add gummiboot supportDarren Hart2014-07-191-12/+41
| | | | | | | | | | | | | | | | Fixes [YOCTO 6295] Add gummiboot support for images built using: EFI_PROVIDER="gummiboot" Add conditional configuration for GRUB and gummiboot. Provide some messaging about which is being performed. (From OE-Core rev: b0c86d8149dffd72d0dbd2451031f30953e36dc7) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Add mount error checkingDarren Hart2014-07-191-0/+4
| | | | | | | | | Provide reasonable feedabck if the mount commands fail. (From OE-Core rev: 07cf8cfb843311d7f868c502d542af51f64d71bd) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Use all caps for volume namesDarren Hart2014-07-191-3/+3
| | | | | | | | | Avoid some mkfs warnings by using all caps in the volume names. (From OE-Core rev: d80d730a5fa84d3a036d1fc8290620e90d5db460) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/test-remote-image: add --skip-download optionCorneliu Stoicescu2014-07-161-11/+16
| | | | | | | | | | | Adding the possibility to skip the download phase completely. This is useful for repeating runs with the same image types and similar configurations. (From OE-Core rev: 3cc3f8a069b3d6d895afa6f192b36443b8328f40) Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Error on zero-sized partitionsTom Zanussi2014-07-161-0/+2
| | | | | | | | | | | | It doesn't make sense to create zero-sized partitions so assume user error and notify the user they should be using a non-zero --size for partitions that don't specify a --source. (From OE-Core rev: 3231562c3c9f8173ddcc0812001aadf0988c8892) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Add kickstart reference to help systemTom Zanussi2014-07-163-13/+130
| | | | | | | | | | | Add a 'wic kickstart' help section to make it easy for users to access the kickstart reference without having to go to an external website. (From OE-Core rev: 136137ec1c124aee89d2120abded60a5cf0562b0) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Add wic overview to help systemTom Zanussi2014-07-162-9/+221
| | | | | | | | | | | Add a general overview of wic to the help system as 'wic overview', along with some introductory examples. (From OE-Core rev: fa108caaa53878152e4856d32ce1ab7fe3802287) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Add vfat supportTom Zanussi2014-07-161-0/+74
| | | | | | | | | | | | | | Add vfat as a supported rootfs type (in addition to the current ext2/3/4 and btrfs support). vfat partitions can now be created using --source rootfs along with --fstype=vfat, or without --source but specifying a --size. (From OE-Core rev: d9efc110fd73822629b2a3326761f2256b9f23b0) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Error on parted non-zero error codeTom Zanussi2014-07-161-1/+1
| | | | | | | | | | | | | | | The current code uses msger.debug() to note errors, effectively squelching them if --debug isn't used. Apparently this is because it can return non-zero for some loop device failures. We don't care about loop devices, and not paying attention to the error code actually results in invalid images, so error out on parted failures as we should be. (From OE-Core rev: b1c68e5446080f0743f7f8a530f3b00f90c8717d) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Add general 'plugins' help topicTom Zanussi2014-07-102-7/+109
| | | | | | | | | | | Add a category for help topics with an initial help topic discussing source plugins. (From OE-Core rev: a3dbe46dd28a6fd9e6c21f6bbb6a12578df9dff3) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Add dummy subcommand and usage stringsTom Zanussi2014-07-101-0/+13
| | | | | | | | | | | | | | In order to reuse the existing subcommand infrastructure to display various general-purpose help topics, add a dummy 'help_topic' subcommand and usage string. This allows users to invoke general help topics by the natural form 'wic help <topic>' even though topic doesn't correspond to a real subcommand. (From OE-Core rev: d03f39a99058c2393d7b50ac4909bdaa84b09920) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Print error if a partition specifies an invalid --sourceTom Zanussi2014-07-101-0/+5
| | | | | | | | | | | | | If a partition specified in a .wks file specifies a nonexistent --source, print an error to that effect and exit. The error text also points the user to a command listing valid sources, and help on adding a new source plugin. (From OE-Core rev: 4dff6945d2606cebc0ab26e877c5d8c7b457e179) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Add help text for 'wic list source-plugins'Tom Zanussi2014-07-101-3/+17
| | | | | | | | | | | Add both short and long text for the new 'wic list source-plugins' command. (From OE-Core rev: 4f20acc10b18c7353bd73f253943372dacd957ca) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Add command to list available source pluginsTom Zanussi2014-07-102-0/+29
| | | | | | | | | | | | | Add a 'wic list source-plugins' command enabling users to get a list of valid partition --sources. This is useful not only for determining sources to use in .wks partition statements, but also for making sense of errors in .wks partition processing. (From OE-Core rev: 37db9423e7872012fabde67e8858db5b512832f6) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-bsp: Drop GLIBC_ADDONS settingRichard Purdie2014-07-042-4/+0
| | | | | | | | | This has been copied and pasted around and is not needed, simply drop it. The defaults in the recipe work just fine. (From meta-yocto rev: 037bce9a5f196df3cded9dfe6200188c1dd1d84a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-bsp: Update qemu inclusion listsRichard Purdie2014-07-041-2/+3
| | | | | | | | | | Update qemu tune definitions to match changes in main qemu machines. [YOCTO #6482] (From meta-yocto rev: 0d78ffd509c6caba6c74c6e75c485fb8d923cd31) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/contrib/verify-homepage.py: add a script to verify HOMEPAGEChong Lu2014-07-031-0/+63
| | | | | | | | | | | Add a script to verify all the recipes' HOMEPAGE. [YOCTO #5689] (From OE-Core rev: 2dfb2ef06763cb6044dc1630875024e7310b3df4) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu-extract-sdk: normalize paths to improve outputChen Qi2014-07-031-1/+2
| | | | | | | | | | | | | | | Previously, we would have output like below from runqemu-extract-sdk. Creating directory /home/chenqi/poky/build-systemd/./nfs-root Normalize paths for runqemu-extract-sdk so that we have output like below. Creating directory /home/chenqi/poky/build-systemd/nfs-root (From OE-Core rev: c85f5ec502fecb1ff63f8e795a0da5fc92eca0c1) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts: fix no newline at end of fileRobert Yang2014-07-031-1/+1
| | | | | | | | | | | Add a '\n' to the last line of the file to fix: No newline at end of file (From meta-yocto rev: 58cc5c502bd0309feed65ab7836ed8fbaab6ced9) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* test-dependencies.sh: Return non-zero return code when there was some ↵Martin Jansa2014-06-291-13/+39
| | | | | | | | | | | | | | | | failure detected * this is useful when using from jenkins job where you don't want to read output just to dectect how bad it was * add .log suffix to all files, so they can be easily downloaded from http servers without default mimetype set to something useful * add recipes failed in step 1 to steps 2 and 3 to generate standalone logs for them (From OE-Core rev: cef1d6deb5437edae56740436d8e77b8d941945a) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate-diff-machines.sh: Return non-zero return code when there was some ↵Martin Jansa2014-06-291-10/+75
| | | | | | | | | | | | | | failure detected * add --analyze option, which is useful when using from jenkins job where you don't want to read output just to dectect how bad it was * I was always using something like this inside jenkins job, but better to share it in original script (From OE-Core rev: e73e1261879d9154d89cec35669ba22b499d8331) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe-pkgdata-util: fix help textPaul Eggleton2014-06-251-1/+1
| | | | | | | | | This was copy/pasted from another script and not corrected. (From OE-Core rev: 65b79e8ffffb20b7dd83213c72774745f18d978d) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* list-packageconfig-flags: improve option parsingPaul Eggleton2014-06-251-52/+29
| | | | | | | | | | | | | * Use optparse instead of getopt (less code & automatic help) * Change help text / output to use "recipe" instead of "package" * Print something to indicate the script is still gathering information Note that the long options have been renamed as appropriate. (From OE-Core rev: 0ab4da8667cdf027d841e04ed5a35ddd45ad494a) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* list-packageconfig-flags: filter out doc and defaultval varflagsPaul Eggleton2014-06-251-5/+7
| | | | | | | | | | These are generic flags and shouldn't be listed in the output of this script. (From OE-Core rev: 0f8b16c5ea78f1d48b45cef7a317f8a307c48ebe) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts: consolidate code to find bitbake pathPaul Eggleton2014-06-254-43/+74
| | | | | | | | | | | | | | Several of these scripts were using duplicated code (and slightly different methods) to find the path to bitbake and add its lib subdirectory to the Python import path. Add some common code to do this and change the scripts to use it. Fixes [YOCTO #5076]. (From OE-Core rev: 0b5e94e168819134dcda0433c8ae893df4ab13ce) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Allow symlink for deviceDarren Hart2014-06-241-0/+5
| | | | | | | | | | | Allow the user to specify a symlink as the host device. If a link is used, mkefidisk will now dereference it and use the link target when looking for sysfs information. (From OE-Core rev: 67bbfac55555c4e35ed9a84409aedb9b278b3de9) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/test-remote-image: add value check for rootfs fstype, change method ↵Corneliu Stoicescu2014-06-241-3/+8
| | | | | | | | | | | | | | | name used. As per change in the oeqa/targetcontrol.py's BaseTarget class, changing the use of get_image_fstype() to match_image_fstype(). Also because there is no longer a value check done by the target controller's match_image_fstype() method, we have to do one here. + one helper comment for the get_controller() method. (From OE-Core rev: 6d8366bd6145bf3ad484ed9fe4b1ddb4c499f72b) Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* relocate_sdk: Skip to do relocation if the file size is less than 64 byteRoy Li2014-06-171-6/+6
| | | | | | | | | | | | | | | | | | | | | When toolchain directory is changed to execute mode, some non-executable files or empty files are sorted. This will lead to the below error: Extracting SDK...done Setting it up...Traceback (most recent call last): File "..._SDK/relocate_sdk.py", line 208, in <module> arch = get_arch() File "..._SDK/relocate_sdk.py", line 39, in get_arch ei_mag0,ei_mag1_3,ei_class = struct.unpack("<B3sB11x", e_ident) struct.error: unpack requires a string argument of length 16 To call get_arch and parse_elf_header, we should ensure the sorted file is bigger than 64 byte. (From OE-Core rev: 3b973f1c9c9ee3fbe64903036ad93eb9e928b185) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/test-remote-image: Add script for running runtime tests on remotely ↵Corneliu Stoicescu2014-06-131-0/+340
| | | | | | | | | | | | | | | | built images YB: #6254 Adding a new script that will fetch image files from a remote images repository. These images will then be used for local runtime testing. Use the '-h' option for more details on usage. (From OE-Core rev: 5ebe9c57efb9715d58691d7fa75ccf06fb5d4b18) Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: check if BBLAYERS is valid before useJoão Henrique Ferreira de Freitas2014-06-062-6/+8
| | | | | | | | | | | | If wic is running as raw mode, it's better to check if BBLAYERS is valid before inspect it. No functional changes. (From OE-Core rev: a3ee9cc7aebaecfa2223552a2c1865a9337de664) Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: default plugin type directory should be added only onceJoão Henrique Ferreira de Freitas2014-06-061-2/+2
| | | | | | | | | | | | Fix 'for' statement identention so plugin type directory will be added only once in layers_dirs list. No functional changes. (From OE-Core rev: ba88329115a3d6f964febcbf554af8391e1b84a1) Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* generate-manifest-2.7.py: Add importlibMatt Fleming2014-06-061-0/+3
| | | | | | | | | | | importlib isn't currently included in any of the python packages, so create a new one for recipes that require it. Cc: Paul Eggleton <paul.eggleton@linux.intel.com> (From OE-Core rev: b3dae96d9fdb4e26101f6f7edc6e65989375a5a2) Signed-off-by: Matt Fleming <matt.fleming@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* generate-manifest-3.3.py: Add importlibMatt Fleming2014-06-061-0/+3
| | | | | | | | | | | | importlib isn't currently included in any of the python packages, so create a new one for recipes that require it. Cc: Paul Eggleton <paul.eggleton@linux.intel.com> (From OE-Core rev: b17d2e1838f1f1c3310926a4f3eed375898c60f3) Signed-off-by: Matt Fleming <matt.fleming@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* combo-layer: fix revlist taking into account file_filterJoão Henrique Ferreira de Freitas2014-06-011-1/+1
| | | | | | | | | | | | | | If file_filter is set, git format-patch takes account but git rev-list does not. So revlist is going to get with wrong revisions. And last_revision will be updated with wrong revision. The next time that user run combo-layer it complain about applying patches. So ensure that 'git rev-list' are using file_filter as 'git format-patch'. (From OE-Core rev: c22e40900d8e33c2c884e714c11ddb771b86923f) Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>