summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
AgeCommit message (Collapse)Author
2011-02-16image.bbclass: Disable shell debug messagesMark Hatle
By default image had a "set -x" to enable shell debug messages, this adds a lot of overhead to the system due to logging. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-01-31image/package_xx/rootfs_xx.bbclass: move rootfs_xx_log_check().Lianhao Lu
Move function rootfs_xx_log_check() from rootfs_xx.bbclass to relevant package_xx.bbclass. (Where xx is rpm/ipk/deb). Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-01-14image.bbclass: Use the dedicated BB_WORKERCONTEXT, not bitbake internals to ↵Richard Purdie
detect context Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2010-11-14image.bbclass/initscripts: Make /etc/timestamp usage consistent.Gary Thomas
Timestamp is kept in UTC Remove superfluous 'create_etc_timestamp()' function - seems to be a duplicate of 'rootfs_update_timestamp()' Remove External function reference [sgw@linux.intel.com: merged 2 patches and cleanup commit message] Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-10-07rootfs_rpm: Add lock file in the rpm deploy directory to allow mutliple ↵Richard Purdie
rootfs creation tasks to coexist without breaking each other Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-08image.bbclass: change IMAGE_EXTRA_SPACE to IMAGE_OVERHEAD_FACTORSaul Wold
This change allows the IMAGE_OVERHEAD_FACTOR (default to 1.2) to adjust dynamicly how much space to add for each image, thus there is 20% overhead space by default. Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-07-16Use pseudo rather than fakeroot for fake root privilegesJoshua Lock
Make use of the ability to configure the fake root provider and use Wind River's pseudo utility. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-07-15test: add automation framework and sanitytestJiajun Xu
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>
2010-07-02image.bbclass: Don't perform mapping renaming until we're running the task ↵Richard Purdie
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>
2009-11-13bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Richard Purdie
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>
2009-11-13classes: Remove and sanitise import statementsRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-08-28Add poky-trim-schemas post install script to remove unneeded schema locale ↵Richard Purdie
translations from images (credit to Ross Burton for the initial script) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-01-23image.bbclass: Use IMAGE_ROOTFS_SIZE if the image will fit into it and only ↵Richard Purdie
add extra space if the image is too small (ported from OE by hrw)
2009-01-07image.bbclass: Generate the image after running the kernel modules and ↵Richard Purdie
ldconfig commands, not before
2008-11-10image.bbclass: Fix typoRichard Purdie
2008-11-10image.bbclass: Add function to write out an image manifestRichard Purdie
2008-11-10image.bbclass: Add routine for disabling x startup when neededSamuel Ortiz
2008-11-06classes: Add mechanism to install packages into images only if they've been ↵Richard Purdie
built
2008-10-28image.bbclass: Add INHIBIT_DEFAULT_DEPSRichard Purdie
2008-10-09image.bbclass: Make the kernel depmod dependent on the presence of a kernel ↵Richard Purdie
- 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
2008-10-09image.bbclass: generate modules.depMarcin Juszkiewicz
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5468 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-25image.bbclass: make ext2/ext3 images autoresizeMarcin Juszkiewicz
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
2008-06-12image.bbclass: Make sure DEPLOY_DIR_IMAGE exists before running image generationRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4633 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-21image.bbclass: Drop bbimage commandRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4527 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-21image.bbclass: Fix whitespaceRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4525 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-18image.bbclass: Fix locking so multiple image targets workRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4491 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-08image.bbclass: Run runtime_mapping_rename over PACKAGE_INSTALL so debian ↵Richard Purdie
renaming doesn't break the variable git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4211 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-18image.bbclass: s/ipkg/opkg/ - spotten by Koen KooiMarcin Juszkiewicz
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4044 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-17rootfs_ipk/image.bbclass: removing of opkg lists data to rootfs_ipk class ↵Marcin Juszkiewicz
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
2007-11-23image.bbclass: Add ldconfig-native dependency, run ldconfig at image ↵Richard Purdie
generation time git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3218 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-05image.bbclass: Fix IMAGE_BASENAME and PACKAGE_INSTALL variablesRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2691 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-02image.bbclass: Revert some changes as bitbake can't seem to cope with them :-(Richard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2661 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-02image.bbclass/poky-image.bbclass: Add a function to create /etc/timestamp ↵Richard Purdie
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
2007-09-02image.bbclass: Allow partial backwards compatibilityRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2646 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-01classes: Sync various tweaks from OERichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2643 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-01classes: Sync with OERichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2630 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-21packaging: Split deb and ipk creation into separate tasks so changing the ↵Richard Purdie
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
2007-08-08image.bbclass: Add MACHINE_POSTPRECESS_COMMAND hookRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2391 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-01image.bbclass: Ensure the system python is used, not the one in stagingRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2250 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-16images: Merge common functionality into image.bbclass, add copyright headersRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1732 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-30image.bbclass: Removed wildcard rm as it broke building multiple rootfs ↵Marcin Juszkiewicz
image types (from OE) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1586 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-30image.bbclass: remove not-needed list of packages after populating rootfsMarcin Juszkiewicz
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1584 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-25image.bbclass: install only en-gb localesMarcin Juszkiewicz
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1560 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-03classes: Rework core dependencies to work properly at the task levelRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1427 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-02-21image.bbclass: We need to make sure all do_populate_staging tasks have fun ↵Richard Purdie
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
2007-01-30image.bbclass: Make relative symlinksRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1222 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-08image.bbclass: Sync minor changes with OERichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1125 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-01image.bbclass: Add export machine as needed by bbimageRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@992 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-21Factor common code out of rootfs_xxx.bbclass into image.bbclass. Add error ↵Richard Purdie
detection code for roofs_deb.bbclass git-svn-id: https://svn.o-hand.com/repos/poky/trunk@936 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-20image.bbclass: Fix image task dependencies after package.bbclass updatesRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@809 311d38ba-8fff-0310-9ca6-ca027cbcb966