Change buildtags based on installed environment.
Determine if selinux is available before building cri-o with support. Don't add ostree support to crio or any tools other then kpod. cri-o does not use ostree. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
c2b7f37bd3
commit
6835afaa54
3 changed files with 15 additions and 6 deletions
4
hack/ostree_tag.sh
Executable file
4
hack/ostree_tag.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
if ! pkg-config ostree-1 2> /dev/null ; then
|
||||
echo containers_image_ostree_stub
|
||||
fi
|
4
hack/selinux_tag.sh
Executable file
4
hack/selinux_tag.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
if pkg-config libselinux 2> /dev/null ; then
|
||||
echo selinux
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue