Run alien as root so package permissions are right

This commit is contained in:
Neil Alexander 2018-06-25 14:19:22 +01:00
parent 11acb0129d
commit a7d1f21271
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -32,7 +32,7 @@ jobs:
PKGARCH=mipsel sh contrib/deb/generate.sh && mv yggdrasil /tmp/upload/$CINAME-$CIVERSION-linux-mipsel && mv yggdrasilctl /tmp/upload/$CINAME-$CIVERSION-yggdrasilctl-linux-mipsel;
PKGARCH=mips sh contrib/deb/generate.sh && mv yggdrasil /tmp/upload/$CINAME-$CIVERSION-linux-mips && mv yggdrasilctl /tmp/upload/$CINAME-$CIVERSION-yggdrasilctl-linux-mips;
PKGARCH=armhf sh contrib/deb/generate.sh && mv yggdrasil /tmp/upload/$CINAME-$CIVERSION-linux-armh && mv yggdrasilctl /tmp/upload/$CINAME-$CIVERSION-yggdrasilctl-linux-armhf;
alien --to-rpm yggdrasil*.deb --scripts && mv *.rpm /tmp/upload/;
sudo alien --to-rpm yggdrasil*.deb --scripts && mv *.rpm /tmp/upload/;
mv *.deb /tmp/upload/
- run: