Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | SUMMARY = "A meta recipe to build native tools used by wic." |
| 2 | |
| 3 | LICENSE = "MIT" |
| 4 | |
| 5 | DEPENDS = "\ |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 6 | parted-native gptfdisk-native dosfstools-native \ |
Andrew Geissler | d25ed32 | 2020-06-27 00:28:28 -0500 | [diff] [blame] | 7 | mtools-native bmap-tools-native grub-native cdrtools-native \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 8 | btrfs-tools-native squashfs-tools-native pseudo-native \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 9 | e2fsprogs-native util-linux-native tar-native\ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 10 | " |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 11 | DEPENDS:append:x86 = " syslinux-native syslinux grub-efi systemd-boot" |
| 12 | DEPENDS:append:x86-64 = " syslinux-native syslinux grub-efi systemd-boot" |
| 13 | DEPENDS:append:x86-x32 = " syslinux-native syslinux grub-efi" |
| 14 | DEPENDS:append:aarch64 = " grub-efi systemd-boot" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 15 | |
| 16 | INHIBIT_DEFAULT_DEPS = "1" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 17 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 18 | inherit nopackages |
| 19 | |
| 20 | # The sysroot of wic-tools is needed for wic, but if rm_work is enabled, it will |
| 21 | # be removed before wic has a chance to use it, hence the exclusion below. |
| 22 | RM_WORK_EXCLUDE += "${PN}" |
| 23 | |
| 24 | python do_build_sysroot () { |
| 25 | bb.build.exec_func("extend_recipe_sysroot", d) |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 26 | } |
| 27 | addtask do_build_sysroot after do_prepare_recipe_sysroot before do_build |