Commit Graph

9 Commits

Author SHA1 Message Date
Ariel Abreu
a405dbea35 [rpm] Build binary RPMs only
This should help cut down build times
2023-05-12 10:05:41 -07:00
Ariel Abreu
be134fcbec Build RPMs with the CI; enable ccache on CI 2023-05-12 10:05:41 -07:00
Ariel Abreu
f1153d9b1a Major overhaul for RPM packaging
First of all, the RPM packaging code hadn't been updated in quite a
while (it was still using the LKM), so this updates it to build with
darlingserver instead of the LKM.

Second, this update also adds a dependency generator that is used at
build time to automatically pick up the ELF dependencies in installed
Mach-Os. I prefer Debian's approach to this (simply having the option to
dynamically generate the requirements into a file at build time). This
seems like a convoluted approach (having to install a `fileattribute`
globally on the build machine), but at least it works.

Finally, this update also splits the package into multiple component
packages like the Debian packages. Note that `darling-cli-devenv` needs
to install files with the same names as those installed by
`darling-gui`, so it has to be built as a completely separate package. To
avoid having to rebuild a large portion of the project (about 8000
files), we simply generate a binary "source" tarball when building the
main Darling packages and then use this as the source for
`darling-cli-devenv`.
2023-05-12 10:05:41 -07:00
Andy Neff
7a3f77e4ad
Rpm auto version (#918)
* Auto update rpm version based on date of last commit

Signed-off-by: Andy Neff <andy@visionsystemsinc.com>

* Remove test code left behind by accident

Signed-off-by: Andy Neff <andy@visionsystemsinc.com>

* Use git describe instead

Signed-off-by: Andy Neff <andy@visionsystemsinc.com>

* Update Dockerfile
2021-02-12 12:58:46 -05:00
Andy Neff
8ac02960b1 Stop including the RPMS in the source tarball
Signed-off-by: Andy Neff <andy@visionsystemsinc.com>
2020-08-20 11:34:15 -04:00
Andy Neff
5b6ffc21c1 Tar better so there is no / warning 2018-07-19 16:01:07 -04:00
Andy Neff
0e58836f09 RPM working on Fedora 27
I didn't add setsebool -P mmap_low_allowed 1 to the install script because
I didn't feel comfortable adding that
2018-01-23 11:16:59 -05:00
Andy Neff
5962cfa0f1 RPM's building at least... 2018-01-22 19:35:28 -05:00
Andy Neff
59ba8dc0f9 First go at rpm 2018-01-22 16:21:39 -05:00