aboutsummaryrefslogtreecommitdiffstats
path: root/classes/package_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-23package_deb.bbclass: make version acceptable for dpkg-deb.Filip Zyzniewski
dpkg-deb does not like version numbers without digits: NOTE: Running task 428 of 604 (ID: 14, [...]/openembedded/recipes/linux-firmware/linux-firmware_git.bb, do_package_write_deb) dpkg-deb - error: (upstream) version (`git') doesn't contain any digits dpkg-deb: 1 errors in control file NOTE: package linux-firmware-git-r1+gitr2fab48391fda8a914b55c8ac265eb3b6ee10ace8: task do_package_write_deb: Started This commit causes version numbers without digits to be appended with '0': linux-firmware-agere_git0-r1+gitr2fab48391fda8a914b55c8ac265eb3b6ee10ace8_all.deb Signed-off-by: Filip Zyzniewski <filip.zyzniewski@gmail.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-02-20package_deb.bbclass/apt: armel architecture name for eabi systems.Filip Zyzniewski
For dpkg EABI system architecture is called armel, not arm. Reference: http://wiki.debian.org/ArmEabiPort Signed-off-by: Filip Zyzniewski <filip.zyzniewski@gmail.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-02-14package_deb.bbclass: remove double DISTRO_PR from the package version.Filip Zyzniewski
PKGR already contains DISTRO_PR, so no need to add it twice. Signed-off-by: Filip Zyzniewski <filip.zyzniewski@gmail.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-02-14package_deb.bbclass: depend on apt, not dpkg.Filip Zyzniewski
Both package_deb.bbclass and rootfs_deb.bbclass use apt-get. Without apt system cannot be bootstrapped because there is no optimal way to fetch new packages. Apt depends on dpkg, so switching from dpkg to apt in EXTRA_DEPENDS provides both. Signed-off-by: Filip Zyzniewski <filip.zyzniewski@gmail.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-02-14package_deb.bbclass: Use PKGV/PKGR variables where applicable.Filip Zyzniewski
Using PV/PR causes problems like libncursesw5_5.7-r16 depending on libtinfo5 (>= 5.7+20110115). 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>
2010-01-24package_deb.bbclass: make the PACKAGES check earlier so if there is nothing ↵Ricardo Salveti de Araujo
to package we don't read potentially stale pkgdata from staging. This is basically the commit 27b9bc946eeb3faa7b10d92689ab527af42727bd that got lost when merging poky stuff into the repo. The behavior is much like what we already have with package_ipk. Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@openbossa.org>
2009-11-16classes: Drop a number of unneeded import calls (from Poky)Richard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-01package_deb: create md5sums control filesMichael Smith
These are created with the package and get installed in /var/dpkg/info. Afterward it's a great way to find modified files for backup with a little shell script magic. It feels a bit weird to still use MD5, but that seems to be the convention in the Debian world. Signed-off-by: Michael Smith <msmith@cbnco.com> Acked-by: Chris Larson <clarson@kergoth.com>
2009-07-11package classes: count dotfiles as non-emptyMichael Smith
Allow a package to be built that contains only dotfiles or dot directories under '/'. Signed-off-by: Michael Smith <msmith@cbnco.com>
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-27classes/package*.bbclass: Remove the build_package_revision functionRichard Purdie
Based on experience, this function is going to cause massive code readability issues. We can actually clean up the code more without it so do this instead.
2008-10-18WorkInProgress: Mangle the DISTRO_PR into the package revisionsHolger Hans Peter Freyther
2008-03-11package_deb.bbclass: Remove some unneeded linesRichard Purdie
2008-03-10package_ipk/deb.bbclass: Make the PACKAGES check earlier so if there is ↵Richard Purdie
nothing to package we don't read potentially stale pkgdata from staging. Fixes the strange ncurses-native issue after ncurses packaging was fixed
2008-02-28package_deb.bbclass: Update apt.conf location (from poky)Richard Purdie
2008-02-19package_deb.bbclass: Tweaks from poky - use PKGDEST, don't clobber any ↵Richard Purdie
existing do_package_write_deb depends and only set when PACKAGES isn't empty
2008-02-19package_ipk.bbclass/package_deb.bbclass: Use bitbake locking functionsRichard Purdie
2007-09-29package_(deb|ipk).bbclass: Rename package index stamp to make it more ↵Richard Purdie
obvious what its for (from poky)
2007-09-29package_deb.bbclass: Map TARGET_ARCH to DPKG_ARCH to keep dpkg/apt happy ↵Richard Purdie
with 'valid' archs (from poky)
2007-09-04package*.bbclass: Switch to separate tasks for each packing type (from poky)Richard Purdie
2007-09-01package_x.bbclass: Sync with poky preparing for individual package writing tasksRichard Purdie
2007-08-12package_{deb,ipk}.bbclass: change ALLOW_EMPTY checkPhilipp Zabel
- before an unset ALLOW_EMPTY meant False, while any string value meant True, now "1" means True and any other value or unset means False - this allows to set ALLOW_EMPTY = "1" and explicitly unset it for a subpackage with ALLOW_EMPTY_somepackage = "0"
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-04-12package_deb.bbclass: add shebang, closes #2086Rodrigo Vivi
2007-03-29package_deb.bbclass: add epoch supportPhilipp Zabel
2007-01-02Add package_deb.bbclass from PokyRichard Purdie