diff options
| author | Khem Raj <raj.khem@gmail.com> | 2017-07-14 11:34:56 -0700 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-24 18:57:36 +0200 |
| commit | 1039afb073575d83fba4c5f488390b314d2c8dfe (patch) | |
| tree | de979e3e94517da0bc0ab6783e5c7a2830bcee38 /meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb | |
| parent | 11e8768c21f489fdd231865a5fc9def88f8da121 (diff) | |
| download | meta-openembedded-1039afb073575d83fba4c5f488390b314d2c8dfe.tar.gz | |
aufs-util: Upgrade to 4.4 release
- Download aufs_type.h instead of housing a local copy
- Build uses paste utility from coreutils-native
- Replace hardcoded strip command with STRIP env varible
helps in cross compiling
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb')
| -rw-r--r-- | meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb b/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb index 1e8677574d..66f560c377 100644 --- a/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb +++ b/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb | |||
| @@ -4,37 +4,40 @@ HOMEPAGE = "http://aufs.sourceforge.net/" | |||
| 4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a" |
| 6 | 6 | ||
| 7 | DEPENDS = "aufs-util-native" | 7 | DEPENDS = "coreutils-native aufs-util-native" |
| 8 | DEPENDS_class-native = "" | 8 | DEPENDS_class-native = "" |
| 9 | 9 | ||
| 10 | SRCREV = "bdfcc0dcfc6113146e928f85145dbd2cf9b0e080" | 10 | SRCREV = "89afb1806c3d2eed8db2666ae254b77518ae3ceb" |
| 11 | SRC_URI = "git://git.code.sf.net/p/aufs/aufs-util;protocol=git;branch=aufs3.18 \ | 11 | SRC_URI = "git://git.code.sf.net/p/aufs/aufs-util;protocol=git;branch=aufs4.4 \ |
| 12 | https://raw.githubusercontent.com/sfjro/aufs4-linux/aufs4.4/include/uapi/linux/aufs_type.h;name=aufs_type \ | ||
| 12 | file://aufs-util-don-t-strip-executables.patch \ | 13 | file://aufs-util-don-t-strip-executables.patch \ |
| 13 | file://aufs-util-add-tool-concept-to-Makefile-for-cross-com.patch \ | 14 | file://aufs-util-add-tool-concept-to-Makefile-for-cross-com.patch \ |
| 14 | file://aufs_type.h \ | ||
| 15 | " | 15 | " |
| 16 | SRC_URI[aufs_type.md5sum] = "f7b4a255dcb55fe7b0967f5f59b44f19" | ||
| 17 | SRC_URI[aufs_type.sha256sum] = "85bc8e4c1a94a7d526c382e4b047b4256cab8c4a65fc0396291707ad9a327a18" | ||
| 16 | 18 | ||
| 17 | PV = "3.14+git${SRCPV}" | 19 | PV = "4.4+git${SRCPV}" |
| 18 | 20 | ||
| 19 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
| 20 | 22 | ||
| 21 | export HOSTCC = "${BUILD_CC}" | 23 | export HOSTCC = "${BUILD_CC}" |
| 22 | |||
| 23 | do_configure_prepend() { | 24 | do_configure_prepend() { |
| 24 | # Replace sbin,bin paths with bitbake environment | 25 | # Replace sbin,bin paths with bitbake environment |
| 25 | sed -i -e 's;install_sbin: Tgt = ${DESTDIR}/sbin;install_sbin: Tgt = ${DESTDIR}/${base_sbindir};' \ | 26 | sed -i -e 's;install_sbin: Tgt = ${DESTDIR}/sbin;install_sbin: Tgt = ${DESTDIR}/${base_sbindir};' \ |
| 26 | -e 's;install_ubin: Tgt = ${DESTDIR}/usr/sbin;install_sbin: Tgt = ${DESTDIR}/${bindir};' \ | 27 | -e 's;install_ubin: Tgt = ${DESTDIR}/usr/sbin;install_sbin: Tgt = ${DESTDIR}/${bindir};' \ |
| 27 | ${S}/Makefile | 28 | ${S}/Makefile |
| 29 | sed -i -e 's;strip -R;${STRIP} -R;' ${S}/libau/Makefile | ||
| 28 | } | 30 | } |
| 29 | 31 | ||
| 30 | do_configure_append () { | 32 | do_configure_append () { |
| 31 | install -d ${S}/include/linux/ | 33 | install -d ${S}/include/linux/ |
| 32 | cp ${WORKDIR}/aufs_type.h ${S}/include/linux/ | 34 | cp ${WORKDIR}/aufs_type.h ${S}/include/linux/ |
| 35 | sed -i -e 's;__user;;' ${S}/include/linux/aufs_type.h | ||
| 33 | } | 36 | } |
| 34 | 37 | ||
| 35 | do_configure_append_class-target () { | 38 | do_configure_append_class-target () { |
| 36 | for i in ver c2sh c2tmac; do | 39 | for i in ver c2sh c2tmac; do |
| 37 | cp ${STAGING_BINDIR_NATIVE}/aufs-util-*/$i ${B} | 40 | cp ${STAGING_BINDIR_NATIVE}/aufs-util-${PV}/$i ${B} |
| 38 | done | 41 | done |
| 39 | } | 42 | } |
| 40 | 43 | ||
