diff options
| -rw-r--r-- | meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.67.bb | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.67.bb b/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.67.bb index 8e4a988e57..73dea9b823 100644 --- a/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.67.bb +++ b/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.67.bb | |||
| @@ -1,12 +1,10 @@ | |||
| 1 | DESCRIPTION = "Install a Debian system into a subdirectory" | 1 | SUMMARY = "Install a Debian system into a subdirectory" |
| 2 | HOMEPAGE = "https://wiki.debian.org/Debootstrap" | 2 | HOMEPAGE = "https://wiki.debian.org/Debootstrap" |
| 3 | SECTION = "devel" | 3 | SECTION = "devel" |
| 4 | LICENSE = "debootstrap-custom-license" | 4 | LICENSE = "debootstrap-custom-license" |
| 5 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=1e68ced6e1689d4cd9dac75ff5225608" | 5 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=1e68ced6e1689d4cd9dac75ff5225608" |
| 6 | 6 | ||
| 7 | inherit autotools pkgconfig | 7 | inherit pkgconfig |
| 8 | |||
| 9 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
| 10 | 8 | ||
| 11 | SRC_URI = "\ | 9 | SRC_URI = "\ |
| 12 | http://http.debian.net/debian/pool/main/d/debootstrap/debootstrap_1.0.67.tar.gz \ | 10 | http://http.debian.net/debian/pool/main/d/debootstrap/debootstrap_1.0.67.tar.gz \ |
| @@ -16,9 +14,21 @@ SRC_URI = "\ | |||
| 16 | SRC_URI[md5sum] = "eacabfe2e45415af60b1d74c3a23418a" | 14 | SRC_URI[md5sum] = "eacabfe2e45415af60b1d74c3a23418a" |
| 17 | SRC_URI[sha256sum] = "0a12e0a2bbff185d47711a716b1f2734856100e8784361203e834fed0cffa51b" | 15 | SRC_URI[sha256sum] = "0a12e0a2bbff185d47711a716b1f2734856100e8784361203e834fed0cffa51b" |
| 18 | 16 | ||
| 19 | S = "${WORKDIR}/${PN}-${PV}" | 17 | S = "${WORKDIR}/${BP}" |
| 18 | |||
| 19 | # All Makefile does is creation of devices.tar.gz, which fails in OE build, we use | ||
| 20 | # static devices.tar.gz as work around | ||
| 21 | # | NOTE: make -j 8 -e MAKEFLAGS= | ||
| 22 | # | rm -rf dev | ||
| 23 | # | mkdir -p dev | ||
| 24 | # | chown 0:0 dev | ||
| 25 | # | chown: changing ownership of `dev': Operation not permitted | ||
| 26 | # | make: *** [devices.tar.gz] Error 1 | ||
| 27 | # | WARNING: exit code 1 from a shell command. | ||
| 28 | do_compile_prepend() { | ||
| 29 | cp ${WORKDIR}/devices.tar.gz ${B} | ||
| 30 | } | ||
| 20 | 31 | ||
| 21 | do_install_prepend() { | 32 | do_install() { |
| 22 | cp ${WORKDIR}/devices.tar.gz ${S} | 33 | oe_runmake 'DESTDIR=${D}' install |
| 23 | cd "${S}" | ||
| 24 | } | 34 | } |
