summaryrefslogtreecommitdiff
path: root/classes/rootfs_ipk.bbclass
AgeCommit message (Collapse)AuthorFiles
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-12rootfs_ipk.bbclass: run preinst/postinst scripts with "-e"Roman Khimov1
There are scripts that can and should work when being ran on build host (for example, simple update-rc.d), but there are also many which can't and won't ever (for example, anything adding users/groups). The second group sometimes doesn't get "unpacked" flag because scripts throw errors in the middle and return something nice from the last command. It can be considered as a bug in pre/postinst script (as it should either explicitly check for "${D}" or just do "set -e" at start), but it is common enough. There is also another aspect to this as in general we can't be sure that everything is OK wrt preinst/postinst if script commands throw errors. Running preinst/postinst scripts on host with "-e" should solve that. Signed-off-by: Roman I Khimov <khimov@altell.ru> Acked-by: Chris Larson <clarson@kergoth.com>
2010-03-04rootfs_ipk.bbclass: move rootfs postprocess commandChris Conroy1
I ran into a problem yesterday where the ROOTFS_POSTPROCESS_COMMAND started failing after I turned off ONLINE_PACKAGE_MANAGEMENT. It seems the problem is that if package management is turned off, then the opkg directory gets deleted. Subsequent opkg commands in the ROOTFS_POSTPROCESS_COMMAND fail to open the lock file because the directory is gone. This patch simply moves the postprocess command above the destruction of the opkg directory to allow any such commands to complete successfully. Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
2010-02-24rootfs_ipk.bbclass: always specify tmp_dir in opkg-cl call with -t parameterMartin Jansa1
* When option tmp_dir is used in opkg.conf installed on rootfs then it's used also in do_rootfs call and points to probably non-existent directory on buildhost like /var/lib/opkg/tmp. * The value of tmp_dir from rootfs is used even with another config file specified with -c parameter * Before this, it was using default value (/tmp) on buildhost, now it will use own "${IMAGE_ROOTFS}-tmp" and remove it after do_rootfs finish (usually already empty inside, cleaned by opkg itself) * Similar patch for testlab.bbclass will follow Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2009-06-19Make package_update_index_ipk proper task with lockingRoman I Khimov1
Parallel image builds race in package_update_index_ipk, so locking is needed and for a proper lock package_update_index_ipk needs to be a proper task. Acked-by: Tom Rini <trini@embeddedalley.com>
2009-06-17rootfs_ipk.bbclass: add log_check for "Cannot satisfy the following ↵Chris Larson1
dependencies". Fixes a bug pointed out where a missing rdepends of a package installed into an image wasn't resulting in a failure in the do_rootfs task. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-06-15rootfs_ipk: move "mkdir /etc/opkg" inside ONLINE_PACKAGE_MANAGEMENT conditionalPhil Blundell1
2009-06-13rootfs_ipk: opkg (at least some versions) doesn't respect ${libdir}, so look ↵Phil Blundell1
in /usr/lib specifically for its bits
2009-02-22image.bbclass: install stuff listed in IMAGE_INSTALL as wellKoen Kooi1
rootfs_ipk: task-boot change fixes
2009-02-22rootfs_ipk bbclass: make ONLINE_PACKAGE_MANAGEMENT work on non task-base ↵Koen Kooi1
images as well * This fixes the "image broken due to not running postinsts because opkg* isn't installed" type of bugs
2008-11-17rootfs_ipk: avoid matching spurious errorsBernie Innocenti1
rootfs_ipk: avoid matching spurious errors
2008-10-17rootfs_ipk: add support for BAD_RECOMMENDATIONS andPhil Blundell1
ONLINE_PACKAGE_MANAGEMENT configuration settings
2008-06-11rootfs_ipk.bbclass: opkg nowadays needs its lib directory created before it ↵Michael Lauer1
can operate
2008-03-25rootfs_ipk.bbclass: symlink /usr/lib/opkg to /usr/lib/ipkg tooRod Whitby1
2008-03-25rootfs_ipk.bbclass: Emergency addition to fix image generation where ipkg is ↵Rod Whitby1
still the package manager included in the image.
2008-03-19rootfs_{deb,ipk}.bbclass: the o-hand dudes went overboard with sed, and ↵Koen Kooi1
opkg-native overwrites our u-a-native, so we need to set both IPKG_OFFLINE_ROOT *and* OPKG_OFFLINE_ROOT
2008-03-18various: move over to opkg, as discussed on the mailinglistKoen Kooi1
* death to ipkg!
2008-01-07Bashism fix: echo -e is a bashism and doesn't work when /bin/sh points to dashHolger Freyther1
Instead of using "echo -e" we simply use printf. printf doesn't add a newline by default. So some places needed an extra \n in their string. Most of the change was done by hand, so please carefully review. This bug was spotted when trying to compile python-pyqt on my ubuntu hardy system.
2007-10-17rootfs_ipkbbclass: fix hardcodesKoen Kooi1
/usr/bin -> ${bindir} /usr/lib -> ${libdir}
2007-09-04package*.bbclass: Switch to separate tasks for each packing type (from poky)Richard Purdie1
2007-09-01rootfs_ipk.bbclass: Convert to use package_ipk functionRichard Purdie1
2007-09-01rootfs_{deb|ipk}.bbclass: Fix whitespace damage, remove bashisms, sync with pokyRichard Purdie1
2007-08-28rootfs*.bbclass: uclibc doesn't provides glibc-locale* and locale-base*, so ↵Koen Kooi1
don't try to install it
2007-08-22image/rootfs_ipk: Remove uneeded mkdir callsRichard Purdie1
2007-06-24rootfs_ipk.bbclass: Do not hardcode ipkg RDEPENDency.Paul Sokolovsky1
* Instead, ad dit to DISTRO_EXTRA_RDEPENDS, so full-fledged images bsed on task-base will get it automagically, while adhoc images (initrds, etc.) can leave it out. * This corresponds with how dpkg is handled, and how it is done in poky. * Closes #2484.
2007-06-10rootfs_ipk.bbclass: Add new option, PACKAGE_INSTALL_NO_DEPS. If set to 1,Paul Sokolovsky1
list of packages in PACKAGE_INSTALL installed as is, without any dependencies. * Useful for initrds, etc. * Closes #2469.
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-02-20rootfs_ipk/package-index: created function to update deploy dirs and made ↵Marcin Juszkiewicz1
package-index use it
2007-02-20package_ipk, rootfs_ipk: Add patch from Marcin and Koen to sort ipkgs into ↵Koen Kooi1
per architecture subdirs of deploy/ipk see: http://lists.linuxtogo.org/pipermail/openembedded-devel/2007-February/001462.html
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
2006-11-20Convert IPKG_ARCHS -> PACKAGE_ARCHS, IPKG_EXTRA_ARCHS -> PACKAGE_EXTRA_ARCHS ↵Richard Purdie1
in preparation for deb handling
2006-11-11Add quotes for assignments to make the new parser happyHolger Freyther1
2006-11-02rootfs_ipk.bbclass and ipkg.inc: shell script syntax fixesMartin Dietze1
- both files contained code which would only execute if run by bash - the fixed versions do the same but are more portable
2006-10-19*ipk.bbclass: banish ipkg-link Koen Kooi1
2006-10-18rootfs_ipk.bbclass: remove ipkg-link from IPKG_INSTALLKoen Kooi1
* if you want it add it via a different way, some people don't want ipkg-link in the rootfs
2006-10-11rootfs_ipk.bbclass: add ipkg/ipkg-link/ipkg-collateral also into RDEPENDSMarcin Juszkiewicz1
2006-10-11rootfs_ipk.bbclass: Add ipkg packages into rootfs to unbreak task-baseMarcin Juszkiewicz1
- When we used task-base then ipkg/ipkg-link/ipkg-collateral was not installed into image. - Maybe it is not best sollution but it works and it duplicate solution which was added years ago.
2006-07-26rootfs_ipk, package-index: Fix an error introduced in a previous commit - ↵Richard Purdie1
make sure the Packages file exists
2006-07-24rootfs_ipk.bbclass, package-index: With the fixed ipkg-utils there is no ↵Richard Purdie1
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. (from poky)
2006-07-08rootfs_ipk.bbclass: add make_zimage_symlink_relativeKoen Kooi1
2006-07-07rootfs_ipk.bbclass: show which packages are lacking - may require GNU grepMarcin Juszkiewicz1
before: | Collected errors: | ERROR: Cannot satisfy the following dependencies for gpe-task-base: | + '[' -f /home/hrw/devel/build/3541/tmp/rootfs/usr/lib/ipkg/info/libgpg-error0.postinst ']' after: | Collected errors: | ERROR: Cannot satisfy the following dependencies for gpe-task-base: | gpe-session-scripts | -- taken from .oz354x
2006-05-27Clean up IPKG_ARCHS as it was being used inconsistently, often with ↵Richard Purdie1
duplication. Create IPKG_EXTRA_ARCHS to add to the standard variable. Update documentation.conf with the details.
2005-09-27rootfs_ipk: Add a remove_init_link function to the rootfs_ipk oeclass. This ↵Richard Purdie1
is needed for the nokia770 which won't boot with /sbin/init as a symbolic link (and I'm told other machines have this problem).
2005-06-15Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/06/15 23:25:59+02:00 handhelds.org!zecke Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into handhelds.org:/home/ich/programming/oe/openembedded 2005/06/15 23:23:46+02:00 handhelds.org!zecke qmake 2.00a update: -Use the most recent version of qmake as found in Qt/X11 4rc1 -Update the oe-qmake.conf 2005/06/15 23:18:07+02:00 opfer.lan!dirk Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into wks-dirk.opfer.lan:/prj/zaurus/dev/openembedded 2005/06/15 23:16:28+02:00 opfer.lan!dirk TOSA: update touchscreen. autoload touchscreen and sound modules on startup 2005/06/15 21:58:37+01:00 rpsys.net!RP oprofile: update cvs version - some arm patches merged 2005/06/15 21:57:10+01:00 rpsys.net!RP rootfs_ipk: Make the shell script valid 2005/06/15 22:38:57+02:00 handhelds.org!zecke Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into handhelds.org:/home/ich/programming/oe/openembedded 2005/06/15 22:37:17+02:00 handhelds.org!zecke Qt4 uic/moc: -Use Qt/X11 4.0.0rc1 as the Embedded version is missing -Update patch and configuration options to 4.0.0rc1 and X11 BKrev: 42b0a03azEk5o8agXTo43EgKiE5_xg
2005-06-15Merge bk://oe-devel.bkbits.net/openembeddedJohn Bowler1
into marsco.kalmiopsis:/home/nslu2/openembedded 2005/06/15 12:55:22+02:00 utwente.nl!koen sapwood_1.20-1.bb: extra install_append, courtesy Florian Boor osso-gnome-vfs2_2.8.4.4-1.bb: adjust depends, courtesy Florian Boor Many files: added, courtesy Florian Boor hildon-libs_0.9.6-2.bb: adjust staging, courtesy Florian Boor 2005/06/15 12:18:24+02:00 uni-frankfurt.de!mickeyl add mathomatic, a small, portable, general purpose CAS. Patch courtesy Simon Pickering 2005/06/15 11:58:18+02:00 utwente.nl!koen Many meamo files: source -> ., courtesy Florian Boor Add gconf-osso, part of the maemo.org suite, courtesy Florian Boor 2005/06/15 11:45:40+02:00 utwente.nl!koen base-files_3.0.14.bb: support nokia770, courtesy Florian Boor 2005/06/15 11:05:24+02:00 handhelds.org!CoreDump Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into handhelds.org:/home/mhentges/OpenEmbedded/bitbake/openembedded 2005/06/15 11:05:02+02:00 handhelds.org!CoreDump altboot: Add a timeout on boot and only show the menu when requested 2005/06/15 10:29:53+02:00 mn-solutions.de!schurig assorted MNCI / RT3000 changes 2005/06/15 10:27:59+02:00 mn-solutions.de!schurig classes/rootfs_ipk.bbclass: allows to keep the Packages file (my own python script to create Packages is way faster :-) 2005/06/14 22:59:08+01:00 reciva.com!pb use mkdir -p, not install -d 2005/06/14 22:02:28+02:00 utwente.nl!koen Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into bitbake.utwente.nl:/home/koen/OE/openembedded 2005/06/14 22:02:15+02:00 utwente.nl!koen xmame_0.95.bb: remove UNNECESSARY and BOGUS qpe crap. Can we please stop committing such nonsonse? virtual/libsdl exists for a reason 2005/06/14 21:01:19+01:00 reciva.com!pb apply PARALLEL_INSTALL_MODULES patch from Erik Hovland 2005/06/14 20:55:08+01:00 reciva.com!pb update xmame to 0.95, courtesy Erik Hovland 2005/06/14 20:52:19+01:00 reciva.com!pb update handhelds-pxa kernel to hh40, courtesy Erik Hovland 2005/06/14 19:10:13+02:00 uni-frankfurt.de!mickeyl Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2005/06/14 19:00:35+02:00 uni-frankfurt.de!mickeyl Add tslib config files for omap5912osk. Patch courtesy philip@balister.org 2005/06/14 18:59:02+02:00 uni-frankfurt.de!mickeyl Fix Typo in xerces-c. Patch courtesy philip@balister.org 2005/06/14 13:45:03+02:00 local!hrw Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into marcinj.local:/home/hrw/zaurus/oe/openembedded 2005/06/14 13:44:34+02:00 local!hrw updated kdepimpi to 2.1.5 2005/06/14 13:16:38+02:00 handhelds.org!CoreDump Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into handhelds.org:/home/mhentges/OpenEmbedded/bitbake/openembedded 2005/06/14 13:16:14+02:00 handhelds.org!CoreDump altboot: Update to latest version 2005/06/14 13:13:37+02:00 utwente.nl!koen Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into bitbake.utwente.nl:/home/koen/OE/openembedded 2005/06/14 13:13:23+02:00 utwente.nl!koen Add tune-supersparc.conf for people who have v8 cpu's and want hardware integer multiply and divide. Makes ssh login approx. 30 times faster 2005/06/14 11:55:00+01:00 reciva.com!pb Merge bk://oe-devel@openembedded-devel.bkbits.net/openembedded into mill.internal.reciva.com:/nexus/home/pb/oe/oe 2005/06/14 11:52:01+01:00 reciva.com!pb eliminate spare copy of sun4cdm kernel preference 2005/06/14 12:43:33+02:00 mn-solutions.de!schurig Merge bk://oe-devel@oe-devel.bkbits.net/openembedded/ into mnz66.mn-solutions.de:/usr/src/mnci54/oe 2005/06/14 12:43:12+02:00 mn-solutions.de!schurig renamed MACHINE 'ramses' to 'mnci' added new MACHINE 'rt3000' renamed DISTRO 'openmnci' to 'openmn', which now is for both MNCI and RT3000 2005/06/14 09:52:19+02:00 mn-solutions.de!schurig Merge bk://oe-devel@oe-devel.bkbits.net/openembedded/ into mnz66.mn-solutions.de:/usr/src/mnci54/oe 2005/06/10 09:37:26+02:00 mn-solutions.de!schurig Merge bk://oe-devel@oe-devel.bkbits.net/openembedded/ into mnz66.mn-solutions.de:/usr/src/mnci54/oe 2005/06/08 10:05:02+02:00 mn-solutions.de!schurig Merge bk://oe-devel@oe-devel.bkbits.net/openembedded/ into mnz66.mn-solutions.de:/usr/src/mnci54/oe 2005/06/08 09:16:06+02:00 mn-solutions.de!schurig icewm: use sourceforge mirror BKrev: 42b037e5CrddHepCs3gW5YAsfOQ7ng
2005-03-31Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/31 11:28:44+02:00 uni-frankfurt.de!mickeyl Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2005/03/31 01:34:08+02:00 uni-frankfurt.de!mickeyl apply the fix-nomax patch for Opie's libqpe from 1.2.0. It will land upstream, so it's not necessary to apply it on the cvs version 2005/03/31 01:32:37+02:00 uni-frankfurt.de!mickeyl put an end to the datetime problem on handhelds. if /etc/timestamp exists, it will be used to regenerate the time at bootup (see /etc/init.d/bootmisc.sh) and it will be freshened at halt (see /etc/init.d/halt) as well as on reboot (see /etc/init.d/reboot). Since we are still testing this, for now only in opie-image and for openzaurus distros. If that works out well, we should use it everywhere 2005/03/30 23:49:33+02:00 uni-frankfurt.de!mickeyl set Opie OTabWidget TabStyle to using text labels on hires displays - until we have hires tab icons and a sane tab height BKrev: 424bc5d2IBEsVN01WaE-JgWrsqwt2Q
2005-02-24Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/02/23 19:29:51-06:00 ti.com!kergoth Rename gnupg-devel to gnupg2, since this development branch has the binaries postfixed that way, so is clearly for the upcoming 2.x stable release. Also change libexecdir from /usr/libexec to /usr/libexec/gnupg2, as it was resulting in the gnupg binaries ending up in the root of /usr/libexec, rather than by packagename. 2005/02/23 19:24:52-06:00 ti.com!kergoth Fix the ipk rootfs/image classes to use ${libdir}/ipkg, now that ipkg does so as well. 2005/02/23 19:22:38-06:00 ti.com!kergoth Add a development version of gnupg (version 1.9.15) as gnupg-devel. Note that the 'gpgsm' and 'scdaemon' binaries are not currently being built, due to the additional dependencies they introduce. If you need them, let me know. One issue that needs to be fixed is that the gnupg-devel build needs to prefix or postfix its binaries, or conflict with 'gnupg', to ensure they don't step on one another's toes. 2005/02/23 19:18:34-06:00 ti.com!kergoth Add libgpg-error 1.0 (required by gnupg 0.9.15) and make the libgpg-error .bb's inherit binconfig. 2005/02/23 19:17:35-06:00 ti.com!kergoth Add libgcrypt 1.2.1 and make the libgcrypt .bb's inherit binconfig. 2005/02/23 19:16:20-06:00 ti.com!kergoth Add libassuan 0.6.9 (required by gnupg 0.9.15) and make the libassuan .bb's inherit binconfig. BKrev: 421d3078taXhU4QcW7mi0rDTzgYsgA
2005-01-22make do_build nostamp for packages using image_rootfs.bbclassPhil Blundell1
BKrev: 41f2e347IXdl_kk4iVLjIHXcAJsUiQ
2005-01-02Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/01/02 19:29:51+01:00 handhelds.org!CoreDump Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into handhelds.org:/home/mhentges/OpenEmbedded/bitbake/openembedded 2005/01/02 19:29:40+01:00 handhelds.org!CoreDump rootfs_ipk: compensate for libgpg-err0 BKrev: 41d84007WaVATCNNgdjuFwFiwkniRQ