aboutsummaryrefslogtreecommitdiffstats
path: root/classes/image.bbclass
AgeCommit message (Collapse)Author
2010-11-08image: don't include glibc-localedata-i18n when IMAGE_LINGUAS is emptyChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-19image bbclass: fix install_linguas usage on shared buildserversKoen Kooi
2010-10-14image.bbclass: use un-renamed packages in RDEPENDSChris Larson
The issue was that PACKAGE_INSTALL* get debian package renaming applied, but this renaming is outside of bitbake's knowledge. Making RDEPENDS use PACKAGE_INSTALL, therefore, caused problems when adding libraries to images directly rather than indirectly. While I'm at it, change it to ensure PACKAGE_INSTALL_ATTEMPTONLY packages also end up in RDEPENDS, not renamed. Reported-by: Tasslehoff Kjappfot <tasskjapp@gmail.com> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-09Implement 'dbg', 'dev', and 'doc' package groupsChris Larson
These allow one to include debugging, development, and documentation files for all packages installed in the image, via IMAGE_FEATURES. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-09image.bbclass: implement IMAGE_FEATURESChris Larson
IMAGE_FEATURES, as with the other _FEATURES variables, is a space separated list of words which identify pieces of functionality to be included / supported. Currently, any defined package group may be included (see the oe.packagegroup python module). Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-09image.bbclass: don't export PACKAGE_INSTALLChris Larson
It doesn't need to be exported, as the rootfs classes use the bitbake variable directly, not the shell variable created from it. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-09image.bbclass: add LINGUAS_INSTALL to PACKAGE_INSTALL.Chris Larson
They aren't a special case, no reason to handle them that way, as we can leverage overrides. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-09image.bbclass: use PACKAGE_INSTALL in RDEPENDSChris Larson
Don't Repeat Yourself. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-09image.bbclass: apply package renaming to optionalChris Larson
Runs runtime_mapping_rename against PACKAGE_INSTALL_ATTEMPTONLY, which has packages we'd like to install, but which are optional. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-08image.bbclass: revert the RDEPENDS changeChris Larson
Image recipes don't emit packages, so it doesn't make any sense to make the RDEPENDS package specific. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-08mage.bbclass: RDEPENDS -> RDEPENDS_${PN}Frans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Acked-by: Chris Larson <chris_larson@mentor.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-05-26image.bbclass: Make zap_root_password to disable root's password not the ↵Khem Raj
user root itself. * With shadow now running pwconv after commit 7c5f81b2139e55622ca2f23ff6b63438d4825d87 It converts :*: passwd entry into equivalent /etc/shadow entry :*: which in shadow means disable the account as per http://tldp.org/LDP/lame/LAME/linux-admin-made-easy/shadow-file-formats.html As a result root can not login unless one boots into shell and then resets the password. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Chris Larson <clarson@kergoth.com>
2010-05-05bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Joshua Lock
populate_staging task to populate_sysroot This change, pulled from Poky, 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. This patch also includes fixes for all recipes which reference the directory. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-30image.bbclass: install_linguas don't install empty listMartin Jansa
* in some combination of IMAGE_LINGUAS installed packages and available translations it's normal to get empty intersection in pending-locale-packages * don't call opkg install in this case, because it will fail
2010-04-28image.bbclass: create /etc/device_table from IMAGE_DEVICE_TABLESAntonio Ospite
Right now when the 'devices' script from initscripts is called the layout specified in IMAGE_DEVICES_TABLES is lost. With this change the default behaviour when no IMAGE_DEVICE_TABLES is specified is to always use files/device_table-minimal.txt Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> Signed-off-by: Koen Kooi <koen@openembedded.org>
2010-03-11bitbake.conf: introducing new image fstype .cpio.gz.u-bootSteffen Sledz
* initrd images need to be prepared with mkimage to be usable from u-boot Signed-off-by: Steffen Sledz <sledz@dresearch.de> Acked-by: Martyn Welch <martyn.welch@gefanuc.com> Acked-by: Tom Rini <tom_rini@mentor.com>
2010-01-14images: set SPLASH to "" as sane defaultRolf Leggewie
Acked-By: Michael 'Mickey' Lauer <mlauer@vanille-media.de> Acked-by: Koen Kooi <koen@openembedded.org>
2009-10-23image bbclass: tweak lingue scriptKoen Kooi
2009-09-17Avoids overwriting Python's built-in `str' in get_devtable_listMario Domenech Goulart
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2009-08-08image.bbclass: fix bug in lingua code (code wasn't spitting entries like ↵Steve Sakoman
fr-fr and thus locale-fr packages were bing omitted)
2009-07-24Revert "image.bbclass: reorder do_rootfs"Richard Purdie
This reverts commit 736c06e8d8efa79d3d2bc512f13a51f0f63412e2 as this change breaks future versions of bitbake. See the OE mailing list, in the "Bitbake runqueue performance improvement" thread for a discussion on why this isn't the best way to solve multi-image problem and that other better solutions exist.
2009-06-20image bbclass: fix logic buglet in lingua codeKoen Kooi
2009-06-17image.bbclass: remove tmp/rootfs after image creation unless you set a variableChris Larson
Set IMAGE_KEEPROOTFS to something other than the empty string to keep tmp/rootfs around after image creation, otherwise it will be removed, as it's not a fully functional filesystem, and causes much confusion among users as a result. Signed-off-by: Chris Larson <clarson@mvista.com> Acked-by: Tom Rini <trini@embeddedalley.com> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
2009-06-16image.bbclass: unbreak postinst status in the install_lingua methodKoen Kooi
2009-06-12image bbclass: add install_linguas methodKoen Kooi
* this method will install all linguas in $IMAGE_LINGUAS for all packages installed into the rootfs * currently opkg only, guarded with a check
2009-04-23bitbake.conf: use rootfs/${PN} for IMAGE_ROOTFSRoman I Khimov
Allows parallel build for different images. Acked-by: Otavio Salvador <otavio@ossystems.com.br>
2009-04-21image.bbclass: IMAGE_VARS->IMAGE_BOOT, make overridableRoman I Khimov
IMAGE_VARS usage forces images to have init, dev management, login management and other stuff. In cases where you don't need any of those (like initramfs images or other special-purpose images) you need to override 4 variables in order to get clean image that only installs things from IMAGE_INSTALL. So, this changes IMAGE_VARS to more meaningful IMAGE_BOOT and makes it possible to build images without boot components with single IMAGE_BOOT="". Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Koen Kooi <koen@openembedded.org>
2009-04-21image.bbclass: reorder do_rootfsRoman I Khimov
Places do_rootfs function before do_install in image creation process. This change allows multiimage builds, when one image depends on another (before that second image creation raced with do_rootfs for the first one) and uses it for some purpose. Multiimage builds are useful in situations like creating an installer image with initramfs (built in OE) and an image of the target FS (also built in OE) or for building virtualized system images to be placed on target FS. Signed-off-by: Koen Kooi <koen@openembedded.org>
2009-02-22image.bbclass: install stuff listed in IMAGE_INSTALL as wellKoen Kooi
rootfs_ipk: task-boot change fixes
2009-02-19task-boot: rename DISTRO_ vars to IMAGE_ vars and move to image.bbclass * ↵Koen Kooi
update users as well Acked-By: Marcin Juszkiewicz <hrw@openembedded.org>
2009-01-20image.bbclass: resize images (ext2/ext3) only if they are bigger then ↵Denys Dmytriyenko
IMAGE_ROOTFS_SIZE
2009-01-20Auto resizing ext2/ext3 images (from Poky)Marcin Juszkiewicz
During my work for OpenedHand I wrote one usefull thing which we used for ext2/ext3 images - autosizing. In few words: it checks how big rootfs is, adds IMAGE_EXTRA_SPACE amount of kilobytes to it and gives that size to genext2fs.
2008-06-27image.bbclass: Make sure DEPLOY_DIR_IMAGE exists before running image ↵Marcin Juszkiewicz
generation (from Poky)
2008-05-21image.bbclass: Remove use of bbimage (from poky)Richard Purdie
2008-05-21image.bbclass: Cleanup whitespace (from poky)Richard Purdie
2008-05-18image.bbclass: Fix image creation locking so creating multiple images at ↵Richard Purdie
once works (#4193). Remap PACKAGE_INSTALL variable so packages to install can include names which are changed by debian.bbclass. (from poky)
2008-03-18various: move over to opkg, as discussed on the mailinglistKoen Kooi
* death to ipkg!
2008-02-16image.bbclass: Innocent typo fix.Leon Woestenberg
2008-02-15image.bbclass: Add deploy_to taskPaul Sokolovsky
* A standalone task to deploy built image to the location specified by DEPLOY_TO variable (likely passed via environment). Assumes ${IMAGE_FSTYPES} is a single value!
2008-02-12bitbake.conf, image.bbclass: Add and use USERDISTRO var to preserve original ↵Paul Sokolovsky
DISTRO value. * Some distros override DISTRO var to hack overrides right, etc. Yet, original value may be needed sometimes. For example, bbimage expects DISTRO to be what user set/passed it, not something else. * TODO: After interim cleanup during preparation of this patch, it turns out that angstrom is the only distro to (ab)use DISTRO overriding. It may make sense to instead get its OVERRIDES value right.
2007-12-22image.bbclass: Add FEED_DEPLOYDIR_BASE_URI to use deploy dir a feed ↵Paul Sokolovsky
("bogofeed"). * If set to a base URL of ipk deploy dir as exported by HTTP/FTP, it will create set of feed configs to use deploy subdirs as feeds.
2007-11-17classes: Sync staging layout cleanups from PokyRichard Purdie
2007-09-05bitbake.conf/image.bbclass: Set IMAGE_BASENAME to a better default and ↵Richard Purdie
export correctly, add BZR fetcher config (from poky)
2007-09-01image.bbclass: Append to do_rootfs[recrdeptask]Richard Purdie
2007-09-01images: Clean up image .bb files, moving functionality to image.bbclass ↵Richard Purdie
(LICENCE default, setup of RDEPENDS and default IMAGE_BASENAME)
2007-08-30classes: Remove bitbake 1.6 compatibility codeRichard Purdie
2007-08-22image.bbclass: Add the mkdir back in a different form. This proves nobody ↵Richard Purdie
uses USE_DEVFS and we should consider removing it,
2007-08-22image/rootfs_ipk: Remove uneeded mkdir callsRichard Purdie
2007-08-06zaurus-2.6: Create an install kit when generating images (from bug #2690 ↵Richard Purdie
with modifications)
2007-07-29image.bbclass: Fix other bbimage refernceRichard Purdie