Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/buildroot-buildreqs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# If you want to extend this, feel free to file a PR.
ignition
ostree
rpm-ostree
libdnf
librepo
kernel
Expand Down
3 changes: 3 additions & 0 deletions src/buildroot-specs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# for projects which have their canonical spec files upstream, use those instead
# since they're more up to date
https://raw.githubusercontent.com/coreos/rpm-ostree/master/packaging/rpm-ostree.spec.in
5 changes: 5 additions & 0 deletions src/install-buildroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,9 @@ echo "${deps}" | xargs yum -y install
brs=$(grep -v '^#' "${dn}"/buildroot-buildreqs.txt)
echo "Installing build dependencies of primary packages"
echo "${brs}" | xargs yum -y builddep
specs=$(grep -v '^#' "${dn}"/buildroot-specs.txt)
echo "Installing build dependencies from canonical spec files"
tmpd=$(mktemp -d) && trap 'rm -rf ${tmpd}' EXIT
(cd "${tmpd}" && echo "${specs}" | xargs curl -L --remote-name-all)
(cd "${tmpd}" && find . -type f -print0 | xargs -0 yum -y builddep --spec)
echo 'Done!'