meta-oe: recipes-devtools: add debootstrap recipe

debootstrap is a tool which will install a Debian base system into a
subdirectory of another, already installed system.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Ioan-Adrian Ratiu 2015-09-30 10:37:28 +03:00 committed by Martin Jansa
parent ac27acf362
commit dcba860726
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
DESCRIPTION = "Install a Debian system into a subdirectory"
HOMEPAGE = "https://wiki.debian.org/Debootstrap"
SECTION = "devel"
PRIORITY = "optional"
LICENSE = "debootstrap-custom-license"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=1e68ced6e1689d4cd9dac75ff5225608"
inherit autotools pkgconfig
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
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}/${PN}-${PV}"
do_install_prepend() {
cp ${WORKDIR}/devices.tar.gz ${S}
cd "${S}"
}