diff options
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-devtools/debootstrap')
-rw-r--r-- | meta-openembedded/meta-oe/recipes-devtools/debootstrap/debootstrap/devices.tar.gz | bin | 0 -> 767 bytes | |||
-rw-r--r-- | meta-openembedded/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.67.bb | 35 |
2 files changed, 35 insertions, 0 deletions
diff --git a/meta-openembedded/meta-oe/recipes-devtools/debootstrap/debootstrap/devices.tar.gz b/meta-openembedded/meta-oe/recipes-devtools/debootstrap/debootstrap/devices.tar.gz Binary files differnew file mode 100644 index 000000000..20eaba3ad --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-devtools/debootstrap/debootstrap/devices.tar.gz diff --git a/meta-openembedded/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.67.bb b/meta-openembedded/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.67.bb new file mode 100644 index 000000000..8472aca6c --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.67.bb @@ -0,0 +1,35 @@ +SUMMARY = "Install a Debian system into a subdirectory" +HOMEPAGE = "https://wiki.debian.org/Debootstrap" +SECTION = "devel" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://debian/copyright;md5=1e68ced6e1689d4cd9dac75ff5225608" + +inherit pkgconfig + +SRC_URI = "\ + http://http.debian.net/debian/pool/main/d/debootstrap/debootstrap_1.0.67.tar.gz \ + file://devices.tar.gz;unpack=0 \ +" + +SRC_URI[md5sum] = "eacabfe2e45415af60b1d74c3a23418a" +SRC_URI[sha256sum] = "0a12e0a2bbff185d47711a716b1f2734856100e8784361203e834fed0cffa51b" + +S = "${WORKDIR}/${BP}" + +# All Makefile does is creation of devices.tar.gz, which fails in OE build, we use +# static devices.tar.gz as work around +# | NOTE: make -j 8 -e MAKEFLAGS= +# | rm -rf dev +# | mkdir -p dev +# | chown 0:0 dev +# | chown: changing ownership of `dev': Operation not permitted +# | make: *** [devices.tar.gz] Error 1 +# | WARNING: exit code 1 from a shell command. +do_compile_prepend() { + cp ${WORKDIR}/devices.tar.gz ${B} +} + +do_install() { + oe_runmake 'DESTDIR=${D}' install + chown -R root:root ${D}${datadir}/debootstrap +} |