diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/classes/rootfs_deb.bbclass | |
download | poky-c527fd1f14c27855a37f2e8ac5346ce8d940ced2.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/classes/rootfs_deb.bbclass')
-rw-r--r-- | meta/classes/rootfs_deb.bbclass | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass new file mode 100644 index 0000000000..a42a472822 --- /dev/null +++ b/meta/classes/rootfs_deb.bbclass | |||
@@ -0,0 +1,24 @@ | |||
1 | # | ||
2 | # Copyright 2006-2007 Openedhand Ltd. | ||
3 | # | ||
4 | |||
5 | ROOTFS_PKGMANAGE = "dpkg apt" | ||
6 | ROOTFS_PKGMANAGE_BOOTSTRAP = "run-postinsts" | ||
7 | |||
8 | do_rootfs[depends] += "dpkg-native:do_populate_sysroot apt-native:do_populate_sysroot" | ||
9 | do_rootfs[recrdeptask] += "do_package_write_deb" | ||
10 | rootfs_deb_do_rootfs[vardepsexclude] += "BUILDNAME" | ||
11 | do_rootfs[vardeps] += "PACKAGE_FEED_URIS" | ||
12 | |||
13 | do_rootfs[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock" | ||
14 | |||
15 | python rootfs_deb_bad_recommendations() { | ||
16 | if d.getVar("BAD_RECOMMENDATIONS", True): | ||
17 | bb.warn("Debian package install does not support BAD_RECOMMENDATIONS") | ||
18 | } | ||
19 | do_rootfs[prefuncs] += "rootfs_deb_bad_recommendations" | ||
20 | |||
21 | DEB_POSTPROCESS_COMMANDS = "" | ||
22 | |||
23 | opkglibdir = "${localstatedir}/lib/opkg" | ||
24 | |||