roboconf / roboconf-system-installers

System installers for Roboconf
Apache License 2.0
1 stars 1 forks source link

RPM packages cannot be built on Ubuntu #13

Closed vincent-zurczak closed 8 years ago

vincent-zurczak commented 8 years ago

When trying to build the RPM packages on Ubuntu, the following error occurs.

[ERROR] Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.1.4:rpm (generate-rpm) on project roboconf-dist-rpm-dm: Unable to query for default vendor from RPM: Error while executing process. Cannot run program "rpm": error=2, Aucun fichier ou dossier de ce type -> [Help 1]

It seems this plug-in only works on systems where RPM is already installed.

vincent-zurczak commented 8 years ago

I took a look at Redline RPM, a pure Java solution to build RPMs. But I am feeling lazy to migrate everything. :sweat_smile:

On Ubuntu and Debian systems, we can still use apt-get install rpm. It solves the previous message. Unlike for other projects, I think it is not a problem if system installers can only be built on Linux systems.