vm.install: Turn on verbose output
Helps debug mock rebuild errors for the .src.rpm
This commit is contained in:
parent
0eb01b84a8
commit
a02538fdc3
@ -25,7 +25,7 @@ rootlv=$(findmnt --noheadings -oSOURCE /)
|
|||||||
lvresize $rootlv -l+100%FREE -r
|
lvresize $rootlv -l+100%FREE -r
|
||||||
|
|
||||||
rm -rf build-results
|
rm -rf build-results
|
||||||
su builder -c "/usr/bin/mock --no-clean --resultdir build-results --rebuild $SRPM"
|
su builder -c "/usr/bin/mock --verbose --no-clean --resultdir build-results --rebuild $SRPM"
|
||||||
|
|
||||||
packages=$(find build-results -name '*.rpm' -not -name '*.src.rpm')
|
packages=$(find build-results -name '*.rpm' -not -name '*.src.rpm')
|
||||||
rpm -e --verbose $(basename -a ${packages[@]} | sed 's/-[0-9].*.rpm$//') || true
|
rpm -e --verbose $(basename -a ${packages[@]} | sed 's/-[0-9].*.rpm$//') || true
|
||||||
|
Loading…
Reference in New Issue
Block a user