2018-01-23 12:19:46 -05:00
# Building RPMs
1. Install `docker` and `docker-compose`
2. `cd rpm`
2019-03-18 11:01:26 -04:00
3. Build the docker image: `docker-compose build rpm`
3. Build the rpms: `docker-compose run rpm` (Can take over half an hour)
2018-01-23 12:19:46 -05:00
4. Now you can run `dnf install RPMS/x84_64/darling*.rpm`
5. `setsebool -P mmap_low_allowed 1` to allow darling low level access and run
## Building on other operating systems
2019-03-18 11:01:26 -04:00
By default, it will build for Fedora 29. To use a different OS, simply
2018-01-23 12:19:46 -05:00
2019-03-18 11:01:26 -04:00
RPM_OS=fedora:27 docker-compose build rpm
2018-01-23 12:19:46 -05:00
## Future improvements
- Everything is based off of dnf. Supporting zypper and yum will reach others
2019-03-18 11:01:26 -04:00
- 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. ](https://fedoraproject.org/wiki/Packaging:SourceURL#Git_Submodules )