aboutsummaryrefslogtreecommitdiffstats
path: root/classes/rootfs_deb.bbclass
AgeCommit message (Collapse)Author
2011-02-23package_deb.bbclass: create a proper package_update_index_deb task.Filip Zyzniewski
Until now the Packages.gz generation was hardcoded in rootfs_deb_do_rootfs. (Tom Rini: While in here, trailing whitespace cleanup) Signed-off-by: Filip Zyzniewski <filip.zyzniewski@gmail.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-02-14deb packages support: switch from /var/dpkg to /var/lib/dpkgFilip Zyzniewski
OE generally tries to use /var/dpkg, but the change is missing in some places, so it is needed to move completely to one of the options. Keeping the dpkg's default /var/lib/dpkg causes less maintenance overhead for OE. Signed-off-by: Filip Zyzniewski <filip.zyzniewski@gmail.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-02-08rootfs_deb.bbclass: fix alternatives handlingFilip Zyzniewski
After fixing update-alternatives-native the command: rmdir ${IMAGE_ROOTFS}/var/dpkg/alternatives fails, because the directory is not empty, and the command: ln -s ${libdir}/opkg/alternatives ${IMAGE_ROOTFS}/var/dpkg/alternatives creates a dangling symlink, because we mkdir only the parent directory of the target. Fixes: mkdir -p the alternatives directory itself and move alternatives definitions into it before rmdiring the original alternatives directory Signed-off-by: Filip Zyzniewski <filip.zyzniewski@gmail.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-02-08rootfs_deb.bbclass: removed $(( ... )) operator usage.Filip Zyzniewski
Bitbake's pyshlex.py cannot parse it raising NotImplementedError in line 295 (bitbake @ c8d8388ce9662574a390be3b849c07d1b044275d). Signed-off-by: Filip Zyzniewski <filip.zyzniewski@gmail.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-05-05bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Joshua Lock
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>
2009-06-21rootfs_deb: Update IMAGE_ROOTFS variable usage to be consistentLynn Lin
update IMAGE_ROOTFS variable to fix inconsistent use of IMAGE_ROOTFS variable content in by apt-native after the changes introducd in 2343808f7386cbd4c7b43f1b24e65e173f5ddf15. This commit changed IMAGE_ROOTFS from "${TMPDIR}/rootfs" to "${TMPDIR}/rootfs/${PN}" and that caused IMAGE_ROOTFS to expand to ${TMPDIR}/rootfs/apt-native in apt.conf.sample, however rootfs_deb.class uses apt.conf.sample to generate apt-rootfs.conf and here here IMAGE_ROOTFS is different from that in apt-native package. Acked-by: Tom Rini <trini@embeddedaley.com>
2009-05-05rootfs_deb: make Packages.gz, not Packages.bz2.Michael Smith
apt ignores Packages.bz2 unless bzip2 exists in /bin/bzip2 (!!). If it's in /usr/bin/bzip2 (e.g. SuSE build host) the image fails to build. Also, remove commented-out check for DEPLOY_KEEP_PACKAGES. Signed-off-by: Michael Smith <msmith@cbnco.com>
2009-01-30rootfs_deb.bbclass : fix merge problems where I removed ${libdir}Graeme Gregory
2009-01-30package_deb.bbclass, rootfs_deb.bbclass : merge in poky changes to these ↵Graeme Gregory
classes that make sure correct files end up on rootfs
2008-10-23rootfs_deb: use dpkg-scanpackages as our apt-native does not have ↵Marcin Juszkiewicz
apt-ftparchive anymore (from Poky) git-svn-id: https://svn.o-hand.com/repos/poky@4749 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19rootfs_{deb,ipk}.bbclass: the o-hand dudes went overboard with sed, and ↵Koen Kooi
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 Kooi
* death to ipkg!
2008-02-28rootfs_deb.bbclass: Fix apt.conf handling (from poky)Richard Purdie
2008-01-07Bashism fix: echo -e is a bashism and doesn't work when /bin/sh points to dashHolger Freyther
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-12-11rootfs_deb.bbclass: few fixes to get it workingMarcin Juszkiewicz
2007-11-17classes: Sync staging layout cleanups from PokyRichard Purdie
2007-10-17rootfs_deb.bbclass: fix hardcodesKoen Kooi
/usr/bin -> ${bindir} /usr/lib -> ${libdir}
2007-09-04package*.bbclass: Switch to separate tasks for each packing type (from poky)Richard Purdie
2007-09-01rootfs_deb: make sure directories exist before trying to symlink them Koen Kooi
2007-09-01rootfs_{deb|ipk}.bbclass: Fix whitespace damage, remove bashisms, sync with pokyRichard Purdie
2007-08-28rootfs*.bbclass: uclibc doesn't provides glibc-locale* and locale-base*, so ↵Koen Kooi
don't try to install it
2007-08-07package_deb/rootfs_deb.bbclass: Sync fixes from PokyRichard Purdie
2007-04-18classes: Add support for intertask dependencies to be specified, needed for ↵Richard Purdie
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-01-02Add rootfs_deb.bbclass from PokyRichard Purdie