try to uuse root user
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2019-02-09 14:56:11 +01:00
parent 5b8c62b404
commit 1b71ce210e

View File

@ -5,9 +5,9 @@ name: default
steps: steps:
- name: build - name: build
image: rpmbuild/centos7 image: rpmbuild/centos7
user: root
pull: always pull: always
commands: commands:
- sudo su -
- yum install -y wget gnutls-devel pam-devel dbus-devel avahi-devel systemd-devel - yum install -y wget gnutls-devel pam-devel dbus-devel avahi-devel systemd-devel
- wget https://github.com/apple/cups/releases/download/release-2.2.10/cups-2.2.10-source.tar.bz2 - wget https://github.com/apple/cups/releases/download/release-2.2.10/cups-2.2.10-source.tar.bz2
- rpmbuild -ta --without libusb1 cups-2.2.10-source.tar.bz2 - rpmbuild -ta --without libusb1 cups-2.2.10-source.tar.bz2