mirror of
https://github.com/containers/skopeo.git
synced 2026-07-14 05:21:15 +00:00
Try to use pkg-config to check for 'ostree-1' and 'libselinux'. If ostree-1 is not found, use the containers_image_ostree_stub build tag to not require it, at the cost of not being able to use or write images to the 'ostree' transport. If libselinux is found, build with the 'selinux' tag, Signed-off-by: Nalin Dahyabhai <nalin@redhat.com> Closes: #252 Approved by: rhatdan
5 lines
95 B
Bash
Executable File
5 lines
95 B
Bash
Executable File
#!/bin/bash
|
|
if ! pkg-config ostree-1 2> /dev/null ; then
|
|
echo containers_image_ostree_stub
|
|
fi
|