mirror of
https://github.com/darlinghq/darling.git
synced 2024-12-01 00:00:35 +00:00
c78475aab8
Signed-off-by: Andy Neff <andy@visionsystemsinc.com>
840 B
840 B
Building RPMs
- Install
docker
anddocker-compose
cd rpm
- Build the docker image:
docker-compose build rpm
- Build the rpms:
docker-compose run rpm
(Can take over half an hour) - Now you can run
dnf install RPMS/x84_64/darling*.rpm
setsebool -P mmap_low_allowed 1
to allow darling low level access and run
Building on other operating systems
By default, it will build for Fedora 29. To use a different OS, simply
RPM_OS=fedora:27 docker-compose build rpm
Future improvements
- Everything is based off of dnf. Supporting zypper and yum will reach others
- Because of the way the submodules are handled, this isn't quite ready for official releasing but this can be solved using %autosetup in the %prep to checkout the submodules.