summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
Commit message (Collapse)AuthorAgeFilesLines
...
* test: add automation framework and sanitytestJiajun Xu2010-07-151-0/+3
| | | | | | | | | | | | | | Automation test is disabled by default. User need set TESTCLASS to qemu in conf/local.conf and run bitbake command "bitbake poky-image-xxx" or "bitbake poky-image-xxx -c qemuimagetest" to trigger it. Currently only the sanity test with two testcases are added. To run the test, user need prepare a testing environment: 1) "expect" should be installed on system 2) NOPASSWD should be set for user to run bitbake Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
* image.bbclass: Don't perform mapping renaming until we're running the task ↵Richard Purdie2010-07-021-2/+5
| | | | | | | | | itself. Need to extend bitbake to provide this information rather than refer to a bitbake internal variable. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Richard Purdie2009-11-131-4/+4
| | | | | | | | | | | | | populate_staging task to populate_sysroot This change makes the purpose of the staging directory more obvious and the taskname more true to what it now actually does. The layout version number is increased due to the change in layout but code to convert existing directories and insert a symlink for backwards compatibility is included. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* classes: Remove and sanitise import statementsRichard Purdie2009-11-131-4/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Add poky-trim-schemas post install script to remove unneeded schema locale ↵Richard Purdie2009-08-281-0/+12
| | | | | | translations from images (credit to Ross Burton for the initial script) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* image.bbclass: Use IMAGE_ROOTFS_SIZE if the image will fit into it and only ↵Richard Purdie2009-01-231-1/+1
| | | | add extra space if the image is too small (ported from OE by hrw)
* image.bbclass: Generate the image after running the kernel modules and ↵Richard Purdie2009-01-071-5/+5
| | | | ldconfig commands, not before
* image.bbclass: Fix typoRichard Purdie2008-11-101-1/+1
|
* image.bbclass: Add function to write out an image manifestRichard Purdie2008-11-101-0/+7
|
* image.bbclass: Add routine for disabling x startup when neededSamuel Ortiz2008-11-101-1/+8
|
* classes: Add mechanism to install packages into images only if they've been ↵Richard Purdie2008-11-061-0/+2
| | | | built
* image.bbclass: Add INHIBIT_DEFAULT_DEPSRichard Purdie2008-10-281-0/+2
|
* image.bbclass: Make the kernel depmod dependent on the presence of a kernel ↵Richard Purdie2008-10-091-3/+5
| | | | | | - some images eg an initramfs don't have this git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5473 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: generate modules.depMarcin Juszkiewicz2008-10-091-0/+9
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5468 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: make ext2/ext3 images autoresizeMarcin Juszkiewicz2008-09-251-0/+1
| | | | | | | | | | New variable IMAGE_EXTRA_SPACE contains amount of kilobytes which has to be added to size of IMAGE_ROOTFS. Resulting size is then passed to genext2fs util. As a result we do not have to specify size for ROOTFS_SIZE anymore. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5269 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: Make sure DEPLOY_DIR_IMAGE exists before running image generationRichard Purdie2008-06-121-0/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4633 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: Drop bbimage commandRichard Purdie2008-05-211-14/+17
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4527 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: Fix whitespaceRichard Purdie2008-05-211-17/+17
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4525 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: Fix locking so multiple image targets workRichard Purdie2008-05-181-0/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4491 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: Run runtime_mapping_rename over PACKAGE_INSTALL so debian ↵Richard Purdie2008-04-081-0/+2
| | | | | | renaming doesn't break the variable git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4211 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: s/ipkg/opkg/ - spotten by Koen KooiMarcin Juszkiewicz2008-03-181-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4044 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk/image.bbclass: removing of opkg lists data to rootfs_ipk class ↵Marcin Juszkiewicz2008-03-171-2/+0
| | | | | | | | | where it should belong Signed-off-by: Marcin Juszkiewicz <hrw@openedhand.com> git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4028 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: Add ldconfig-native dependency, run ldconfig at image ↵Richard Purdie2007-11-231-2/+6
| | | | | | generation time git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3218 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: Fix IMAGE_BASENAME and PACKAGE_INSTALL variablesRichard Purdie2007-09-051-5/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2691 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: Revert some changes as bitbake can't seem to cope with them :-(Richard Purdie2007-09-021-2/+5
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2661 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass/poky-image.bbclass: Add a function to create /etc/timestamp ↵Richard Purdie2007-09-021-1/+6
| | | | | | during image construction to give a reasonably sane default time setting git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2649 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: Allow partial backwards compatibilityRichard Purdie2007-09-021-3/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2646 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Sync various tweaks from OERichard Purdie2007-09-011-1/+0
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2643 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Sync with OERichard Purdie2007-09-011-7/+56
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2630 311d38ba-8fff-0310-9ca6-ca027cbcb966
* packaging: Split deb and ipk creation into separate tasks so changing the ↵Richard Purdie2007-08-211-2/+1
| | | | | | packaging type means the new type of packages are automatically generated. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2526 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: Add MACHINE_POSTPRECESS_COMMAND hookRichard Purdie2007-08-081-0/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2391 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: Ensure the system python is used, not the one in stagingRichard Purdie2007-08-011-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2250 311d38ba-8fff-0310-9ca6-ca027cbcb966
* images: Merge common functionality into image.bbclass, add copyright headersRichard Purdie2007-05-161-0/+5
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1732 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: Removed wildcard rm as it broke building multiple rootfs ↵Marcin Juszkiewicz2007-04-301-3/+3
| | | | | | image types (from OE) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1586 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: remove not-needed list of packages after populating rootfsMarcin Juszkiewicz2007-04-301-0/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1584 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: install only en-gb localesMarcin Juszkiewicz2007-04-251-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1560 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Rework core dependencies to work properly at the task levelRichard Purdie2007-04-031-10/+12
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1427 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: We need to make sure all do_populate_staging tasks have fun ↵Richard Purdie2007-02-211-1/+1
| | | | | | so postinsts run correcting at image generation time git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1283 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: Make relative symlinksRichard Purdie2007-01-301-1/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1222 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: Sync minor changes with OERichard Purdie2007-01-081-6/+11
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1125 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: Add export machine as needed by bbimageRichard Purdie2006-12-011-0/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@992 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Factor common code out of rootfs_xxx.bbclass into image.bbclass. Add error ↵Richard Purdie2006-11-211-0/+62
| | | | | | detection code for roofs_deb.bbclass git-svn-id: https://svn.o-hand.com/repos/poky/trunk@936 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: Fix image task dependencies after package.bbclass updatesRichard Purdie2006-10-201-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@809 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Sync up.. all the deb/dpkg changes which I have locally are now in svn.Chris Larson2006-09-191-0/+58
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@728 311d38ba-8fff-0310-9ca6-ca027cbcb966