Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 1 | SUMMARY = "Install a Debian system into a subdirectory" |
| 2 | HOMEPAGE = "https://wiki.debian.org/Debootstrap" |
| 3 | SECTION = "devel" |
| 4 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=1e68ced6e1689d4cd9dac75ff5225608" |
| 6 | |
| 7 | SRC_URI = "\ |
Andrew Geissler | 028142b | 2023-05-05 11:29:21 -0500 | [diff] [blame] | 8 | ${DEBIAN_MIRROR}/main/d/debootstrap/debootstrap_${PV}.tar.gz \ |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 9 | file://0001-support-to-override-usr-sbin-and-usr-share.patch \ |
| 10 | file://0002-support-to-override-usr-bin-arch-test.patch \ |
| 11 | file://0001-do-not-hardcode-the-full-path-of-dpkg.patch \ |
| 12 | " |
| 13 | |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 14 | SRC_URI[sha256sum] = "d963a465314ac0e8fd5392573def042e6663e8edf3d08ace4bbd0d27ee8431f7" |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 15 | |
| 16 | S = "${WORKDIR}/debootstrap" |
| 17 | |
| 18 | DEPENDS = " \ |
| 19 | virtual/fakeroot-native \ |
| 20 | " |
| 21 | |
| 22 | fakeroot do_install() { |
| 23 | oe_runmake 'DESTDIR=${D}' install |
| 24 | chown -R root:root ${D}${datadir}/debootstrap |
| 25 | } |
| 26 | |
| 27 | BBCLASSEXTEND = "native nativesdk" |