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 \ |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 9 | e2fsprogs-native util-linux-native tar-native erofs-utils-native \ |
Patrick Williams | db4c27e | 2022-08-05 08:10:29 -0500 | [diff] [blame] | 10 | virtual/${TARGET_PREFIX}binutils \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 11 | " |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 12 | DEPENDS:append:x86 = " syslinux-native syslinux grub-efi systemd-boot" |
| 13 | DEPENDS:append:x86-64 = " syslinux-native syslinux grub-efi systemd-boot" |
| 14 | DEPENDS:append:x86-x32 = " syslinux-native syslinux grub-efi" |
| 15 | DEPENDS:append:aarch64 = " grub-efi systemd-boot" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 16 | |
| 17 | INHIBIT_DEFAULT_DEPS = "1" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 18 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 19 | inherit nopackages |
| 20 | |
| 21 | # The sysroot of wic-tools is needed for wic, but if rm_work is enabled, it will |
| 22 | # be removed before wic has a chance to use it, hence the exclusion below. |
| 23 | RM_WORK_EXCLUDE += "${PN}" |
| 24 | |
| 25 | python do_build_sysroot () { |
| 26 | bb.build.exec_func("extend_recipe_sysroot", d) |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 27 | } |
| 28 | addtask do_build_sysroot after do_prepare_recipe_sysroot before do_build |