aboutsummaryrefslogtreecommitdiffstats
path: root/oe-init-build-env
AgeCommit message (Expand)Author
2016-03-20oe-init-build-env*: Make them actually return failuresPeter Kjellerstedt
2016-03-20oe-init-build-env*: Remove unnecessary differences between the scriptsPeter Kjellerstedt
2016-03-20oe-init-build-env*: Update/correct comment about specifying argumentsPeter Kjellerstedt
2016-03-20oe-init-build-env*: Allow $OEROOT to be predefinedPeter Kjellerstedt
2015-12-27scripts: hand the TEMPLATECONF local over to setup-builddirMarcus Müller
2015-04-13oe-init-build-env: fix for build dirs that have spaces in their pathJoshua Lock
2014-03-11oe-init-build-env: Improve script sourcing detection.Gary Thomas
2013-12-02oe-init-build-env: Allow startup with and without memresJason Wessel
2013-10-04oe-init-build-env: unset BBSERVERRichard Purdie
2013-04-05oe-init-build-env: Make it use the correct $OEROOT with zshPeter Kjellerstedt
2012-03-26Various typoes fixed, all comments or output strings.Robert P. J. Day
2011-08-02oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIRDexuan Cui
2011-04-21Further cleanup of various poky referencesRichard Purdie
2011-04-20poky-setup-builddir: Rename to oe-setup-builddir and clean up POKY variable r...Richard Purdie
2011-04-20oe-init-build-env: Fix typoRichard Purdie
2011-04-20Rename poky-init-build-env to oe-init-build-envRichard Purdie
ter-pkg-updates'>akuster/master-pkg-updates OpenEmbedded Core user contribution treesGrokmirror user
aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_deb.bbclass
blob: d51b4582d2b7afe5cc24cc8c28f83b03c8465719 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# 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_populate_sdk[depends] += "dpkg-native:do_populate_sysroot apt-native:do_populate_sysroot bzip2-native:do_populate_sysroot"
do_rootfs[recrdeptask] += "do_package_write_deb"
rootfs_deb_do_rootfs[vardepsexclude] += "BUILDNAME"
do_rootfs[vardeps] += "PACKAGE_FEED_URIS"

do_rootfs[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock"
do_populate_sdk[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"

python () {
    # Map TARGET_ARCH to Debian's ideas about architectures
    darch = d.getVar('SDK_ARCH', True)
    if darch in ["x86", "i486", "i586", "i686", "pentium"]:
         d.setVar('DEB_SDK_ARCH', 'i386')
    elif darch == "x86_64":
         d.setVar('DEB_SDK_ARCH', 'amd64')
    elif darch == "arm":
         d.setVar('DEB_SDK_ARCH', 'armel')
}

# This will of course only work after rootfs_deb_do_rootfs or populate_sdk_deb has been called
DPKG_QUERY_COMMAND = "${STAGING_BINDIR_NATIVE}/dpkg-query --admindir=$INSTALL_ROOTFS_DEB/var/lib/dpkg"