Commit 443096e
authored
Auto-detect btrfs headers to fix build on systems without btrfs-progs-devel (#65)
Add hack/btrfs_installed_tag.sh (same pattern as Podman/Buildah) that
probes for btrfs/ioctl.h and emits exclude_graphdriver_btrfs when the
headers are missing. Wire it into the Makefile via BUILDTAGS so
`make build-bink` works out of the box on any system.
Signed-off-by: HarshwardhanPatil07 <harshpat@redhat.com>1 parent d30220c commit 443096e
2 files changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| |||
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
32 | | - | |
| 36 | + | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments