diff options
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 | |||
