Add print statements to tell when certain processes begin and end. Added
priority to hydros repo to install newer devel tools
This commit is contained in:
@@ -1,11 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo "--- Start adding repos and priorities ---"
|
||||
dnf -y config-manager addrepo --from-repofile=https://git.hydrosaber.com/api/packages/hydros/rpm/f43.repo
|
||||
|
||||
dnf -y config-manager --save --setopt="f43.priority=1"
|
||||
dnf -y config-manager --save --setopt="fedora.priority=10"
|
||||
|
||||
echo "--- Setup workspace and packages ---"
|
||||
dnf -y install rpmdevtools
|
||||
rpmdev-setuptree
|
||||
|
||||
dnf -y builddep $1
|
||||
|
||||
echo "--- Download sources ---"
|
||||
rpmdev-spectool -g -C ~/rpmbuild/SOURCES $1
|
||||
echo "--- Build RPM packages ---"
|
||||
rpmbuild --nodebuginfo --bb $1
|
||||
echo "--- Done! ---"
|
||||
|
||||
Reference in New Issue
Block a user