archlinuxhardened / selinux

PKGBUILDs to build SELinux enabled packages for Arch Linux
145 stars 25 forks source link

Use a privileged container to build packages #83

Closed tqre closed 3 years ago

tqre commented 3 years ago

This solves issue #82

I basically copied the Dockerfile contents to the workflow file with small modifications to function correctly. This enables the usage of a privileged container.

tqre commented 3 years ago

Now systemd tests are run for some reason, and they are known to fail inside a container.

tqre commented 3 years ago

I made a simple check to see if /.dockerenv file is present. I think this is what systemd-detect-virt is failing to do: https://github.com/bugaevc/systemd/commit/5a482393c9ef9da4c43d0caec3cdbfa549b79a3a

tqre commented 3 years ago

Issue #81 is also successfully addressed by this PR :)

fishilico commented 3 years ago

This PR was reviewed and merged as part of https://github.com/archlinuxhardened/selinux/pull/84.