summaryrefslogtreecommitdiff
path: root/classes/image.bbclass
AgeCommit message (Collapse)AuthorFiles
2010-05-26image.bbclass: Make zap_root_password to disable root's password not the ↵Khem Raj1
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 Lock1
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 Jansa1
* 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 Ospite1
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 Sledz1
* 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 Leggewie1
Acked-By: Michael 'Mickey' Lauer <mlauer@vanille-media.de> Acked-by: Koen Kooi <koen@openembedded.org>
2009-10-23image bbclass: tweak lingue scriptKoen Kooi1
2009-09-17Avoids overwriting Python's built-in `str' in get_devtable_listMario Domenech Goulart1
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 Sakoman1
fr-fr and thus locale-fr packages were bing omitted)
2009-07-24Revert "image.bbclass: reorder do_rootfs"Richard Purdie1
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 Kooi1
2009-06-17image.bbclass: remove tmp/rootfs after image creation unless you set a variableChris Larson1
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 Kooi1
2009-06-12image bbclass: add install_linguas methodKoen Kooi1
* 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 Khimov1
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 Khimov1
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 Khimov1
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 Kooi1
rootfs_ipk: task-boot change fixes
2009-02-19task-boot: rename DISTRO_ vars to IMAGE_ vars and move to image.bbclass * ↵Koen Kooi1
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 Dmytriyenko1
IMAGE_ROOTFS_SIZE
2009-01-20Auto resizing ext2/ext3 images (from Poky)Marcin Juszkiewicz1
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 Juszkiewicz1
generation (from Poky)
2008-05-21image.bbclass: Remove use of bbimage (from poky)Richard Purdie1
2008-05-21image.bbclass: Cleanup whitespace (from poky)Richard Purdie1
2008-05-18image.bbclass: Fix image creation locking so creating multiple images at ↵Richard Purdie1
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 Kooi1
* death to ipkg!
2008-02-16image.bbclass: Innocent typo fix.Leon Woestenberg1
2008-02-15image.bbclass: Add deploy_to taskPaul Sokolovsky1
* 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 Sokolovsky1
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 Sokolovsky1
("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 Purdie1
2007-09-05bitbake.conf/image.bbclass: Set IMAGE_BASENAME to a better default and ↵Richard Purdie1
export correctly, add BZR fetcher config (from poky)
2007-09-01image.bbclass: Append to do_rootfs[recrdeptask]Richard Purdie1
2007-09-01images: Clean up image .bb files, moving functionality to image.bbclass ↵Richard Purdie1
(LICENCE default, setup of RDEPENDS and default IMAGE_BASENAME)
2007-08-30classes: Remove bitbake 1.6 compatibility codeRichard Purdie1
2007-08-22image.bbclass: Add the mkdir back in a different form. This proves nobody ↵Richard Purdie1
uses USE_DEVFS and we should consider removing it,
2007-08-22image/rootfs_ipk: Remove uneeded mkdir callsRichard Purdie1
2007-08-06zaurus-2.6: Create an install kit when generating images (from bug #2690 ↵Richard Purdie1
with modifications)
2007-07-29image.bbclass: Fix other bbimage refernceRichard Purdie1
2007-07-29image.bbclass: Use system python explicitly, don't use python-native versionRichard Purdie1
2007-05-02image.bbclass: remove *all* IPKG list filesMarcin Juszkiewicz1
2007-04-18classes: Add support for intertask dependencies to be specified, needed for ↵Richard Purdie1
correct operation with bitbake 1.8.x. Old behaviour is maintained in a special legacy anonymous function in base.bbclass. The patch is an improved version of the one discussed on the mailing list.
2007-03-24image.bbclass: Removed wildcard rm as it broke building multiple rootfs ↵Leon Woestenberg1
image types.
2007-03-06image.bbclass: Add function to turn on autologin for device images we do not ↵Florian Boor1
want to log in at all.
2007-03-05image.bbclass: Create symlink to latest image generated. Also add dependency ↵Richard Purdie1
on populate staging for do_rootfs (both from poky)
2007-01-07image.bbclass: Make images trigger all do_deploy tasks to run so kernels and ↵Richard Purdie1
things like updater.sh for the zaurus get deployed with the image. This change on affects bitbake 1.7.x users who *will* need to use the latest 1.7.x version from svn.
2007-01-01image.bbclass rootfs_ipk.bbclass: Move common functionality into ↵Richard Purdie1
image.bbclass to prepare for rootfs_deb/bbclass (from poky)
2006-12-31Rename: image_ipk -> image.bbclass, IPKG_INSTALL -> PACKAGE_INSTALL to ↵Richard Purdie1
prepare for deb packaging