mirror of
https://github.com/containers/bootc.git
synced 2026-02-05 15:45:53 +01:00
This must be a regression from the timestamp change:
91ed63caf1
Without this we fail to parse the timestamp and get errors;
maybe something else changed.
Of course, we should use a non-Makefile language for
this so we get proper error checking. I may move some
of the makefile bits into xtask.rs or so.
Signed-off-by: Colin Walters <walters@verbum.org>
15 lines
420 B
Bash
Executable File
15 lines
420 B
Bash
Executable File
#!/bin/bash
|
|
set -xeu
|
|
. /usr/lib/os-release
|
|
case $ID in
|
|
centos|rhel) dnf config-manager --set-enabled crb;;
|
|
fedora) dnf -y install dnf-utils ;;
|
|
esac
|
|
# Fetch the latest spec from fedora to ensure we've got the latest build deps
|
|
t=$(mktemp --suffix .spec)
|
|
curl -L -o ${t} https://src.fedoraproject.org/rpms/bootc/raw/rawhide/f/bootc.spec
|
|
dnf -y builddep "${t}"
|
|
rm -f "${t}"
|
|
# Extra dependencies
|
|
dnf -y install git-core
|