summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_deb.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/rootfs_deb.bbclass')
-rw-r--r--meta/classes/rootfs_deb.bbclass24
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 0000000..a42a472
--- /dev/null
+++ b/meta/classes/rootfs_deb.bbclass
@@ -0,0 +1,24 @@
1#
2# Copyright 2006-2007 Openedhand Ltd.
3#
4
5ROOTFS_PKGMANAGE = "dpkg apt"
6ROOTFS_PKGMANAGE_BOOTSTRAP = "run-postinsts"
7
8do_rootfs[depends] += "dpkg-native:do_populate_sysroot apt-native:do_populate_sysroot"
9do_rootfs[recrdeptask] += "do_package_write_deb"
10rootfs_deb_do_rootfs[vardepsexclude] += "BUILDNAME"
11do_rootfs[vardeps] += "PACKAGE_FEED_URIS"
12
13do_rootfs[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock"
14
15python rootfs_deb_bad_recommendations() {
16 if d.getVar("BAD_RECOMMENDATIONS", True):
17 bb.warn("Debian package install does not support BAD_RECOMMENDATIONS")
18}
19do_rootfs[prefuncs] += "rootfs_deb_bad_recommendations"
20
21DEB_POSTPROCESS_COMMANDS = ""
22
23opkglibdir = "${localstatedir}/lib/opkg"
24