Commit Graph

26 Commits

Author SHA1 Message Date
Ariel Abreu
8e3da42792 [deb,rpm] Remove python2 dep
[ci] Allow Dockerfiles to be reused for different base images
2023-11-01 18:29:48 -04:00
Ariel Abreu
ac7c9d9c0d Forgot to update darling-cli-devenv RPM 2023-05-12 10:05:42 -07:00
Ariel Abreu
f01520161f Update some package and component names
...and update main package descriptions (Darling is not an emulator)
2023-05-12 10:05:42 -07:00
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
4505dc6344 No long accidentally remove module
- There was a bug in the spec, when updating/upgrading would delete the kernel
  module after it was successfully added, due to the version number being the
  same. This is finally fixed

Signed-off-by: Andy Neff <andy@visionsystemsinc.com>
2020-08-20 09:14:02 -04:00
Andy Neff
02a78f36cf Update to work on Fedora 31 with newest version
Signed-off-by: Andy Neff <andy@visionsystemsinc.com>
2020-08-19 07:03:23 -04:00
TheBrokenRail
23513d3c79
Remove Redundant File
This is in Darling Docs now
2020-05-11 11:11:01 -04:00
Hin-Tak Leung
a3b4bf2932 The default is now 30; make 31 as example 2020-05-09 23:23:35 +01:00
TheBrokenRail
9f841f7964 Move LKM to src/external 2020-02-16 16:18:33 -05:00
Andy Neff
07793c1bda Updated to fedora 30 as default
Signed-off-by: Andy Neff <andy@visionsystemsinc.com>
2019-08-12 18:10:45 -04:00
Andy Neff
c78475aab8 Fedora 29 cleanup
Signed-off-by: Andy Neff <andy@visionsystemsinc.com>
2019-03-18 11:05:20 -04:00
Mohamed Mediouni
a5acffa8ac Another change for F28 2018-10-22 16:09:55 +02:00
Mohamed Mediouni
ce5f93be5d Fix builds for Fedora 28 2018-10-22 12:50:24 +02:00
Andy Neff
d9352f9532 Added missing rtsig.h file 2018-07-19 18:16:03 -04:00
Andy Neff
0b2009415e Update rpm scripts to work with newest version and Fedora 28 2018-07-19 16:01:07 -04:00
Andy Neff
5b6ffc21c1 Tar better so there is no / warning 2018-07-19 16:01:07 -04:00
Andy Neff
bda72f7d66 Initial fix to get dkms working on kernel upgrades 2018-02-16 12:45:07 -05:00
Andy Neff
0097a23dd9 Added README
- Renamed dkms to mach
- Copied a few missing pieces from debian build
- Added override mechanism for OS

Signed-off-by: Andy Neff <andy@visionsystemsinc.com>
2018-01-23 12:59:40 -05: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
1489740901 Missed dkms.conf file 2018-01-22 19:36:23 -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