aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_ipk.bbclass
AgeCommit message (Collapse)Author
2011-09-16debian/_ipk.bbclass: Added multilib support for package_name_hook()Lianhao Lu
[YOCTO #1486] 1. Added multilib support for package_name_hook() so MLPREFIX is kept in the final package name. 2. clean the output of log_check_ipk. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-07-27package(rootfs)_ipk.bbclass: support multilib in opkg backend.Lianhao Lu
Support install multiple multilib in opkg backend. The installation is done in 3 phases. Phase 1: install normal packages to IMAGE_ROOTFS. Phase 2: install multilib packages under MULTILIB_TEMP_ROOTFS. Packages belongs to the same multilib arch would be installed to a unique directory. Phase 3: check file confliction between IMAGE_ROOTFS and MULTILIB_TEMP_ROOTFS, install multilib packages to IMAGE_ROOTFS only if the sanity check passed. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-07-12Add support for BAD_RECOMMENDATIONS to rootfs_ipkChris Elston
As discussed on IRC on 30/06/11, this patch adds support for BAD_RECOMMENDATIONS to rootfs_ipk, which is a list of packages NOT to install if suggested or recommended by a recipe. Taken from http://thread.gmane.org/gmane.comp.handhelds.openembedded/30417. Note that current support for this in oe.dev may also be broken, depending on the version of opkg in use. Signed-off-by: Chris Elston <celston@katalix.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-02rootfs_ipk: delete opkg metadata if package management not required and all ↵Phil Blundell
packages are configured If all the postinsts were successfully run in offline mode, and package-management hasn't been requested as an IMAGE_FEATURE, the opkg metadata is now redundant and can safely be deleted. Also, the update-rc.d and base-passwd packages can be removed since they will serve no further purpose in this situation. If some packages are still unconfigured at this point then we need to keep their metadata around so that either opkg or the awk script can configure the packages at boot time. In theory it would be possible to strip out the data for packages that have already been configured, but right now we just hold on to the whole status file in that situation. Signed-off-by: Phil Blundell <philb@gnu.org>
2011-05-25rootfs_ipk: issue a diagnostic if rootfs is declared read-only and not all ↵Phil Blundell
maintainer scripts could be applied offline Signed-off-by: Phil Blundell <philb@gnu.org>
2011-02-01rootfs_ipk/package_ipk.bbclass: Move func from rootfs_ipk to package_ipkLianhao Lu
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>
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>
2010-12-24rootfs_ipk: The most recent opkg errors upon file overwrite. Until we fix ↵Richard Purdie
package conflicts, disable this for now Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-26opkg: finalize the change to var directoryKevin Tian
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>
2010-07-30rootfs_ipk.bbclass: add keyword "Collected errors" for log error checkYu Ke
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>
2010-07-22rootfs_ipk: error when dependencies cannot be satisfiedJoshua Lock
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>
2010-06-10rootfs_ipk.bbclass: ensure the package manager can create lock filesJoshua Lock
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>
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-07-15root_ipk.bbclass: Give EXTRAOPKGCONFIG a default valueRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-15rootfs_ipk.bbclass: Don't generate the arch.conf file, provide this as a ↵Richard Purdie
packaged file in future Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2008-11-10image.bbclass: Add function to write out an image manifestRichard Purdie
2008-11-06classes: Add mechanism to install packages into images only if they've been ↵Richard Purdie
built
2008-10-08rootfs_ipk.bbclass: Don't error if the file doesn't existRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5467 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-08package_ipk/rootfs_ipk.bbclass: Update image from feed handlingRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5465 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02rootfs_ipk.bbclass: Fix shell commandsRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5378 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-01rootfs_ipk.bbclass: Improve image from feed generationRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5374 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-01Rename FEED_URIS -> IPK_FEED_URISRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5373 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-01rootfs_ipk.bbclass: Add the hard bit of image generation from feeds, ↵Richard Purdie
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
2008-07-17Switch from ipkg-utils to opkg-utilsRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4863 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-06opkg prints 'loading conf' informations so we get two lines each timeMarcin Juszkiewicz
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4604 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-06rootfs_ipk.bbclass: do grep in install_all_locales just onceMarcin Juszkiewicz
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4603 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-06rootfs_ipk.bbclass: reformatted install_all_locales functionMarcin Juszkiewicz
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4602 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-06rootfs_ipk: added ROOTFS_POSTINSTALL_COMMANDMarcin Juszkiewicz
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
2008-06-05rootfs_ipk.bbclass: Fix for use with lock capable opkgRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4591 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-05rootfs_ipk.bbclass: remove opkg lists later as some rootfs postprocessing ↵Marcin Juszkiewicz
may require them git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4589 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-05rootfs_ipk.bbclass: added install_all_locales functionMarcin Juszkiewicz
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
2008-06-05rootfs_ipk.bbclass: do not install glibc-localedata-i18n separately - ↵Marcin Juszkiewicz
language support will fetch it automatically git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4587 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-20poky-image.bbclass: Correctly handle inserting package-managers into images ↵Richard Purdie
by making it an image feature git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4517 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-20rootfs_ipk.bbclass: new update-alternatives script use OPKG_OFFLINE_ROOT ↵Marcin Juszkiewicz
(from OE) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4108 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
2008-03-17rootfs_ipk.bbclass: switched to opkgMarcin Juszkiewicz
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4026 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-01Factor ipkg index and conf file creation into package_ipk.bbclassRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2637 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-06-26rootfs classes: added remove_packaging_data_files() function to be used in ↵Marcin Juszkiewicz
minimal images git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2007 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-01-08rootfs_ipk.bbclass: Fix typo, whitespaceRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1124 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-05rootfs_(deb|ipk).bbclass: Fix bashism so works on dashRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1002 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-22rootfs_xxx.bbclass: Add missing checkins from the log_check updatesRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@938 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-20classes: Sync with OE - mainly quoting fixes or other minor updatesRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@885 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-26rootfs_ipk: Remove extra rm command to ensure /dev is correctly createdRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@762 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-22rootfs_ipk.bbclass: Fix function names and exportsRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@745 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-19Sync up.. all the deb/dpkg changes which I have locally are now in svn.Chris Larson
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@728 311d38ba-8fff-0310-9ca6-ca027cbcb966