Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -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 = "\ |
| 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 Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 11 | file://0001-do-not-hardcode-the-full-path-of-dpkg.patch \ |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 12 | " |
| 13 | |
Andrew Geissler | f103a7f | 2021-05-07 16:09:40 -0500 | [diff] [blame] | 14 | SRC_URI[md5sum] = "8a5e97f60236c3a63f715c056a5f0e29" |
| 15 | SRC_URI[sha256sum] = "7700e9864b29f166b26c54153ed8c275b46f4b9a60468bb607e019a64c16cd8f" |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 16 | |
| 17 | S = "${WORKDIR}/debootstrap" |
| 18 | |
Andrew Geissler | f103a7f | 2021-05-07 16:09:40 -0500 | [diff] [blame] | 19 | DEPENDS = " \ |
| 20 | virtual/fakeroot-native \ |
| 21 | " |
| 22 | |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 23 | fakeroot do_install() { |
| 24 | oe_runmake 'DESTDIR=${D}' install |
| 25 | chown -R root:root ${D}${datadir}/debootstrap |
| 26 | } |
| 27 | |
| 28 | BBCLASSEXTEND = "native nativesdk" |