mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 00:38:45 +01:00
This commit will: * remove old bash code common to all backends; * create a new do_rootfs() python function that will use the new rootfs/image creation routines; * allow creation of dpkg based images; * fail for rpm/opkg (not implemented yet); (From OE-Core rev: a83144bac8d67704ff66f5dc0fc56f5b63979694) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
24 lines
662 B
Plaintext
24 lines
662 B
Plaintext
#
|
|
# Copyright 2006-2007 Openedhand Ltd.
|
|
#
|
|
|
|
ROOTFS_PKGMANAGE = "dpkg apt"
|
|
ROOTFS_PKGMANAGE_BOOTSTRAP = "run-postinsts"
|
|
|
|
do_rootfs[depends] += "dpkg-native:do_populate_sysroot apt-native:do_populate_sysroot"
|
|
do_rootfs[recrdeptask] += "do_package_write_deb"
|
|
rootfs_deb_do_rootfs[vardepsexclude] += "BUILDNAME"
|
|
|
|
do_rootfs[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock"
|
|
|
|
python rootfs_deb_bad_recommendations() {
|
|
if d.getVar("BAD_RECOMMENDATIONS", True):
|
|
bb.warn("Debian package install does not support BAD_RECOMMENDATIONS")
|
|
}
|
|
do_rootfs[prefuncs] += "rootfs_deb_bad_recommendations"
|
|
|
|
DEB_POSTPROCESS_COMMANDS = ""
|
|
|
|
opkglibdir = "${localstatedir}/lib/opkg"
|
|
|