summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_ipk.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* rootfs_ipk/package_ipk.bbclass: Move func from rootfs_ipk to package_ipkLianhao Lu2011-02-011-16/+9
| | | | | | | | | | | | package_ipk.bbclass: Added new function package_install_internal_ipk() to install a list of ipk packages to a specified root directory, with the specified package architecutre information. rootfs_ipk.bbclass: Used the above new functions to install rootfs. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* image/package_xx/rootfs_xx.bbclass: move rootfs_xx_log_check().Lianhao Lu2011-01-311-20/+0
| | | | | | | 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>
* rootfs_ipk: The most recent opkg errors upon file overwrite. Until we fix ↵Richard Purdie2010-12-241-1/+1
| | | | | | package conflicts, disable this for now Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* opkg: finalize the change to var directoryKevin Tian2010-08-261-8/+10
| | | | | | | | | | | commit 1d0757f16beb31551733d9d755d72337ccda9642 changes opkg run state from /usr/lib/opkg to /var/lib/opkg, which however is incomplete and still many important information is kept under old directory including postinst methods. This makes latest boot into a mess. So finalize this movement to /var here. Fix [BUGID #229] Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* rootfs_ipk.bbclass: add keyword "Collected errors" for log error checkYu Ke2010-07-301-1/+1
| | | | | | | Once ipk meet errors, the log will show "Collected errors:\n xxxx ". so keyword "Collected errors" is more general to catch errors. Signed-off-by: Yu Ke <ke.yu@intel.com>
* rootfs_ipk: error when dependencies cannot be satisfiedJoshua Lock2010-07-221-1/+1
| | | | | | | | Per bpo#109 dependency failure during rootfs generation did not cause an error despite that it would cause errors later on in the process. This patch updates the key phrases searched for in the log checking function. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* rootfs_ipk.bbclass: ensure the package manager can create lock filesJoshua Lock2010-06-101-0/+2
| | | | | | | | The opkg package manager uses /usr/lib/opkg to store lock files in, modify the remove_package_data_files() function to create an empty directory once the data files are removed so that the lock can be created. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Richard Purdie2009-11-131-2/+2
| | | | | | | | | | | | | 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-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* root_ipk.bbclass: Give EXTRAOPKGCONFIG a default valueRichard Purdie2009-07-151-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* rootfs_ipk.bbclass: Don't generate the arch.conf file, provide this as a ↵Richard Purdie2009-07-151-3/+4
| | | | | | packaged file in future Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* image.bbclass: Add function to write out an image manifestRichard Purdie2008-11-101-0/+14
|
* classes: Add mechanism to install packages into images only if they've been ↵Richard Purdie2008-11-061-0/+4
| | | | built
* rootfs_ipk.bbclass: Don't error if the file doesn't existRichard Purdie2008-10-081-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5467 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_ipk/rootfs_ipk.bbclass: Update image from feed handlingRichard Purdie2008-10-081-11/+14
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5465 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk.bbclass: Fix shell commandsRichard Purdie2008-10-021-8/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5378 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk.bbclass: Improve image from feed generationRichard Purdie2008-10-011-6/+12
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5374 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Rename FEED_URIS -> IPK_FEED_URISRichard Purdie2008-10-011-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5373 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk.bbclass: Add the hard bit of image generation from feeds, ↵Richard Purdie2008-10-011-1/+34
| | | | | | controlled by a BUILD_IMAGES_FROM_FEEDS variable git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5372 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Switch from ipkg-utils to opkg-utilsRichard Purdie2008-07-171-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4863 311d38ba-8fff-0310-9ca6-ca027cbcb966
* opkg prints 'loading conf' informations so we get two lines each timeMarcin Juszkiewicz2008-06-061-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4604 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk.bbclass: do grep in install_all_locales just onceMarcin Juszkiewicz2008-06-061-1/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4603 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk.bbclass: reformatted install_all_locales functionMarcin Juszkiewicz2008-06-061-8/+8
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4602 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk: added ROOTFS_POSTINSTALL_COMMANDMarcin Juszkiewicz2008-06-061-0/+2
| | | | | | | | | | It is for functions which wants to install/remove packages after rootfs is populated but before flags are mangled. This can be used by 'install_all_locales' function for example. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4601 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk.bbclass: Fix for use with lock capable opkgRichard Purdie2008-06-051-1/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4591 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk.bbclass: remove opkg lists later as some rootfs postprocessing ↵Marcin Juszkiewicz2008-06-051-2/+2
| | | | | | may require them git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4589 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk.bbclass: added install_all_locales functionMarcin Juszkiewicz2008-06-051-0/+21
| | | | | | | | This code checks which packages got installed in rootfs and install locale packages for all languages (taken from IMAGE_LOCALES). git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4588 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk.bbclass: do not install glibc-localedata-i18n separately - ↵Marcin Juszkiewicz2008-06-051-1/+0
| | | | | | language support will fetch it automatically git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4587 311d38ba-8fff-0310-9ca6-ca027cbcb966
* poky-image.bbclass: Correctly handle inserting package-managers into images ↵Richard Purdie2008-05-201-0/+3
| | | | | | by making it an image feature git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4517 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk.bbclass: new update-alternatives script use OPKG_OFFLINE_ROOT ↵Marcin Juszkiewicz2008-03-201-0/+2
| | | | | | (from OE) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4108 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk/image.bbclass: removing of opkg lists data to rootfs_ipk class ↵Marcin Juszkiewicz2008-03-171-0/+2
| | | | | | | | | 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
* rootfs_ipk.bbclass: switched to opkgMarcin Juszkiewicz2008-03-171-12/+12
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4026 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Sync various tweaks from OERichard Purdie2007-09-011-5/+9
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2643 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Factor ipkg index and conf file creation into package_ipk.bbclassRichard Purdie2007-09-011-30/+5
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2637 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Sync with OERichard Purdie2007-09-011-3/+19
| | | | 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-0/+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
* rootfs classes: added remove_packaging_data_files() function to be used in ↵Marcin Juszkiewicz2007-06-261-0/+4
| | | | | | minimal images git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2007 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Rework core dependencies to work properly at the task levelRichard Purdie2007-04-031-2/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1427 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk.bbclass: Fix typo, whitespaceRichard Purdie2007-01-081-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1124 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_(deb|ipk).bbclass: Fix bashism so works on dashRichard Purdie2006-12-051-2/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1002 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_xxx.bbclass: Add missing checkins from the log_check updatesRichard Purdie2006-11-221-72/+16
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@938 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Sync with OE - mainly quoting fixes or other minor updatesRichard Purdie2006-11-201-3/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@885 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk: Remove extra rm command to ensure /dev is correctly createdRichard Purdie2006-09-261-5/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@762 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk.bbclass: Fix function names and exportsRichard Purdie2006-09-221-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@745 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Sync up.. all the deb/dpkg changes which I have locally are now in svn.Chris Larson2006-09-191-3/+4
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@728 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Tweaks to work with bitbake trunk: add BB_DEFAULT_TASK, add ↵Richard Purdie2006-08-231-0/+1
| | | | | | do_rootfs[nostamp] back, remove image_ipk PR git-svn-id: https://svn.o-hand.com/repos/poky/trunk@630 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes/base.bbclass:Richard Purdie2006-08-141-1/+0
| | | | | | | | | | | | | | | | | | * Add stamps for do_fetch task * Remove empty NOTE messages * Add do_configure task dependecy for DEPENDS handling classes/debian.bbclass: * Add do_package task dependecy for RDEPENDS handling classes/image_ipk.bbclass: * Add do_package task dependecy for recursive RDEPENDS handling classes/package.bbclass: * Add do_package task dependecy for DEPENDS handling classes/rootfs_ipk.bbclass: * Derive image PR from DATE and TIME * Add stamps to do_rootfs task (PR changing will trigger rebuilds instead) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@605 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk.bbclass: Add context to reported errorsRichard Purdie2006-07-261-1/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@557 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk.bbclass, package-index: With the fixed ipkg-utils there is no ↵Richard Purdie2006-07-241-2/+0
| | | | | | need to remove the old Packages file when regenerating the Packages index. This gives a big speed improvement when regenerating images as it doesn't have to open every ipk for its metadata. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@545 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Rename /openembedded/ -> /meta/Richard Purdie2006-07-211-0/+145
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
OpenPOWER on IntegriCloud