summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_deb.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* deb packages support: switch from /var/dpkg to /var/lib/dpkgDexuan Cui2011-09-211-10/+10
| | | | | | | | | | | | [YOCTO #1086] The pach was backported from OE: http://git.openembedded.net/cgit.cgi/openembedded/commit/?id=41e0fbf792037f249d1b8d283b3de81718887c9f (From OE-Core rev: d1e6f49a6473df3c626100ba01b27485f735c33b) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_deb/package_deb.bbclass: move func from rootfs_deb to package_debLianhao Lu2011-02-011-75/+16
| | | | | | | | | | | | | | | package_deb.bbclass: 1. Added new function package_update_index_deb() to generate package index files. 2. Added new function package_install_internal_deb() to install a list deb packages to a specified root directory, with the specified package architecutre information. rootfs_deb.bbclass: Used the above new functions to install the 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: Update ROOTFS_PKGMANAGE to include atp/zypperRichard Purdie2010-10-111-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* rootfs_deb: Fix problem with pseduo and rootfs locationSaul Wold2010-10-081-0/+1
| | | | | | This address [BUGID #401] to complete dpkg rootfs support Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* rootfs_deb: fix parsing a shell cmdSaul Wold2010-10-041-1/+1
| | | | | | | This fixes [BUGID #360] parsing failure when using package_dep as rootfs generator. Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* opkg: finalize the change to var directoryKevin Tian2010-08-261-5/+7
| | | | | | | | | | | 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>
* bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Richard Purdie2009-11-131-1/+1
| | | | | | | | | | | | | 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>
* meta/classes/rootfs_*.bbclass: Fix unset variableRichard Purdie2008-11-071-1/+1
|
* classes: Add mechanism to install packages into images only if they've been ↵Richard Purdie2008-11-061-3/+11
| | | | built
* rootfs_deb: use dpkg-scanpackages as our apt-native does not have ↵Marcin Juszkiewicz2008-06-301-1/+1
| | | | | | apt-ftparchive anymore git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4749 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_deb.bbclass: Use DPKG_ARCH for the architecture field, not ↵Richard Purdie2008-05-211-1/+1
| | | | | | TARGET_ARCH since it breaks x86 git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4520 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_deb.bbclass: Use /var/dpkg for dpkg status dataRichard Purdie2008-05-201-11/+8
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4511 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_deb: Export OPKG_OFFLINE_ROOT for update-alternatives fixing dpkg ↵Richard Purdie2008-05-201-0/+1
| | | | | | rootfs generation git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4506 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_deb.bbclass: s/ipkg/opkg/ - spotten by Koen KooiMarcin Juszkiewicz2008-03-181-6/+6
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4043 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_deb.bbclass: Make sure alternatives path existsRichard Purdie2007-11-121-0/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3119 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_deb: Fix hardcoded etc references, add missing mkdirRichard Purdie2007-11-051-8/+9
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3074 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Sync with OERichard Purdie2007-09-011-8/+10
| | | | 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_deb.bbclass: Remove spurious mkdir, I needed this because my deploy/ ↵Ross Burton2007-08-171-1/+0
| | | | | | was hosed git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2508 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Create usr/lib/ipkg in the rootfs before putting symlinks in itRoss Burton2007-08-171-0/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2506 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Instead of exit 0, do exit 1. 0 is 0, so this doesn't work as intendedRoss Burton2007-08-171-4/+4
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2505 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Don't use a bashism when creating directoriesRoss Burton2007-08-071-1/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2380 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_deb/rootfs_deb.bbclass: Add fix from OE, add copyright noticeRichard Purdie2007-08-071-0/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2377 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
* rootfs_deb.bbclass: removed usage of /dev/null as stdin as BitBake do that ↵Marcin Juszkiewicz2007-06-121-3/+3
| | | | | | now by default git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1919 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_deb.bbclass: updated to works with APT 0.6Marcin Juszkiewicz2007-06-121-3/+3
| | | | | | | | | APT 0.6 require repositories to be GPG signed but Poky have them unsigned. Second problem is that APT tries to read something from stdin (even when forced to choose 'Yes') so it now gets /dev/null as stdin. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1916 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Rework core dependencies to work properly at the task levelRichard Purdie2007-04-031-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1427 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_deb: Catch all error codes and return themRichard Purdie2007-03-301-4/+4
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1416 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_(deb|ipk).bbclass: Fix bashism so works on dashRichard Purdie2006-12-051-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1002 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_deb.bbclass: Add sanity checkRichard Purdie2006-12-011-1/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@991 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_deb.bbclass: Reverse sources.list file to correct repository ↵Richard Purdie2006-11-291-4/+8
| | | | | | priorities. Add Release file to sources giving a Label. Update preferences file to use source labels instead of paths git-svn-id: https://svn.o-hand.com/repos/poky/trunk@976 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_deb.bbclass: Mark packages as installed/unpacked correctly. Add in ↵Richard Purdie2006-11-271-1/+17
| | | | | | hacks to work around /var being tmpfs and to enable ipkg to handle the postinsts on device (for now) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@966 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_deb: Set Architecture correctly in a copy of apt.conf in stagingRichard Purdie2006-11-271-1/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@965 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_xxx.bbclass: Add missing checkins from the log_check updatesRichard Purdie2006-11-221-37/+19
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@938 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Sync up.. all the deb/dpkg changes which I have locally are now in svn.Chris Larson2006-09-191-0/+130
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@728 311d38ba-8fff-0310-9ca6-ca027cbcb966