The purpose of these scripts is to assist the automated setup of Fedora onto a Raspberry Pi 4. Primarly for use as a "camera" server, more specifically a Fedora server running motion and accepting RTSP camera feeds from other Raspberry Pi models.
Once the scripts are more stable I will update the proper usage.
build_libcamera-apps.sh currently isn't being used. Once I get libcamera building from the Raspeberry Pi respository it will be updated.
dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
ausearch -c 'ml1:Driveway' --raw | audit2allow -M my-ml1Driveway#012# semodule -X 300 -i my-ml1Driveway.pp#012
semodule -X 300 -i my-ml1Driveway.pp
ausearch -c 'motion' --raw | audit2allow -M my-motion
semodule -X 300 -i my-motion.pp
firewall-cmd --add-port=8554/tcp --permanent
firewall-cmd --add-port=8554/udp --permanent
firewall-cmd --reload
dnf install gstreamer1-libav
alsa-plugins-usbstream.aarch64 alsa-tools alsa-tools-firmware alsa-firmware -y