archlinuxhardened / selinux

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

Reproducible Builds #40

Open shammancer opened 4 years ago

shammancer commented 4 years ago

I was wondering if any one would want to share their packages and we could see where we stand on reproducible builds.

tqre commented 4 years ago

UPDATED 20200901 I have a pacman repository up and running. The packages are built currently from my testbuild branch, which might have some updates not here yet plus substitute base meta packages to allow bootstrapping.
https://github.com/tqre/selinux/tree/testbuild

[selinux-testing]
Server = http://selinux.tqre.fi/selinux-testing

To use it from Arch Linux installation ISO, put the repo into /etc/pacman.conf, and on the pacstrap phase, run

pacstrap /mnt base-selinux linux grub

Packages have been created with the script build_and_install_all.sh with small additions to include the said base meta packages.

SELinux supporting packages can be installed as normal with the repo configured:

pacman -S openssh-selinux sudo-selinux

There is also a base-devel-selinux package, which has to be used instead of base-devel group. The normal base-devel group conflicts as it wants to install normal findutils and sudo. I made base-devel-selinux a meta package instead of a group in the same style as base and base-selinux are.