I spent a good part of the day integrating Ignition into a portage overlay. Gentoo uses OpenRC for its initscripts, so the Ubuntu style scripts in the download aren’t compatible. Gentoo also strongly discourages embedding extra copies of system libraries, so the ebuild filters out the private copies of tomcat and javamail, and specifies the dependencies instead.
The 7.1.1 ebuild is marked stable for x86 and amd64, while the 7.1.2 ebuild is marked unstable (~x86 and ~amd64). Note, the stable designation is for Ignition itself… I’m not entirely sure these ebuilds will unmerge cleanly, as the ignition service expands its context gpkg on first run. Portage is therefore left in the dark in regards to the true file list for the application.
(Carl, if you care to supply a bash script that’ll expand a context just shy of configuring it, I can blend that in. Or assemble the linux distribution files with the context pre-expanded.)
The ebuild also creates an ‘ignition-gcu’ script tailored to the gentoo environment, and creates the KDE or Gnome desktop entry for it. Running gcu is limited to members of the ‘ignition’ group, which is automatically created by the ebuild.
In any case, untar the attached file in a local overlay folder, then “emerge ignition”.
ignition-7.1.2.ebuild.tar.gz (11.3 KB)