blob: 4fc59adfbe7838483ee88b77e8d46b955cb2402f [file] [log] [blame]
Andrew Geisslere34f8962021-04-15 15:53:51 -05001SUMMARY = "Install a Debian system into a subdirectory"
2HOMEPAGE = "https://wiki.debian.org/Debootstrap"
3SECTION = "devel"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://debian/copyright;md5=1e68ced6e1689d4cd9dac75ff5225608"
6
7SRC_URI = "\
8 http://http.debian.net/debian/pool/main/d/debootstrap/debootstrap_${PV}.tar.gz \
9 file://0001-support-to-override-usr-sbin-and-usr-share.patch \
10 file://0002-support-to-override-usr-bin-arch-test.patch \
Andrew Geissler69721092021-07-23 12:57:00 -040011 file://0001-do-not-hardcode-the-full-path-of-dpkg.patch \
Andrew Geisslere34f8962021-04-15 15:53:51 -050012"
13
Andrew Geisslerf103a7f2021-05-07 16:09:40 -050014SRC_URI[md5sum] = "8a5e97f60236c3a63f715c056a5f0e29"
15SRC_URI[sha256sum] = "7700e9864b29f166b26c54153ed8c275b46f4b9a60468bb607e019a64c16cd8f"
Andrew Geisslere34f8962021-04-15 15:53:51 -050016
17S = "${WORKDIR}/debootstrap"
18
Andrew Geisslerf103a7f2021-05-07 16:09:40 -050019DEPENDS = " \
20 virtual/fakeroot-native \
21"
22
Andrew Geisslere34f8962021-04-15 15:53:51 -050023fakeroot do_install() {
24 oe_runmake 'DESTDIR=${D}' install
25 chown -R root:root ${D}${datadir}/debootstrap
26}
27
28BBCLASSEXTEND = "native nativesdk"