Adding asusctl to ga402r
This commit is contained in:
1 parent
73b7efecde
commit
c79d8cf361
1 file changed
+9
-3
@@ -7,15 +7,19 @@ RUN wget -O /etc/udev/rules.d/42-logitech-unify-permissions.rules https://raw.gi
|
||||
/keys/RPM-GPG-KEY-rpmfusion-free-fedora-2020 \
|
||||
/keys/RPM-GPG-KEY-rpmfusion-nonfree-fedora-2020 \
|
||||
/keys/brave-core.asc \
|
||||
/keys/terra.asc \
|
||||
/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-44-x86_64 && \
|
||||
rm -rf /keys && \
|
||||
dnf5 install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
|
||||
https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm && \
|
||||
curl -fsSLo /etc/yum.repos.d/brave-browser.repo https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo && \
|
||||
curl -fsSLo /etc/yum.repos.d/terra.repo https://github.com/terrapkg/subatomic-repos/raw/main/terra.repo && \
|
||||
mkdir /var/opt /usr/brave.com && \
|
||||
ln -s /usr/brave.com /var/opt/brave.com && \
|
||||
echo "L /var/opt/brave.com - - - - /usr/brave.com" >> /usr/lib/tmpfiles.d/brave.conf && \
|
||||
dnf5 install -y \
|
||||
asusctl \
|
||||
asusctl-rog-gui \
|
||||
brave-browser \
|
||||
distrobox \
|
||||
fuse-sshfs \
|
||||
@@ -32,23 +36,25 @@ RUN wget -O /etc/udev/rules.d/42-logitech-unify-permissions.rules https://raw.gi
|
||||
mesa-vulkan-drivers-freeworld \
|
||||
steam \
|
||||
syncthing \
|
||||
terra-release \
|
||||
vdpauinfo \
|
||||
vim \
|
||||
vulkan-tools && \
|
||||
dnf5 swap -y ffmpeg-free ffmpeg --allowerasing && \
|
||||
dnf5 swap -y tuned-ppd power-profiles-daemon --allowerasing && \
|
||||
dnf5 clean all
|
||||
|
||||
|
||||
# The first check makes sure that we have exactly 9 gpg pubkeys trusted in the rpmdb (the ones manually imported above) (Brave adds 6, apparently?).
|
||||
# The first check makes sure that we have exactly 10 gpg pubkeys trusted in the rpmdb (the ones manually imported above) (Brave adds 6, apparently?).
|
||||
# Any more than that means that dnf automatically added a new one, which is shady!
|
||||
# Then: cleanup image for linting
|
||||
# Finally: verify image is good
|
||||
# FIXME - remove the `--skip nonempty-run-tmp` when it's no longer needed
|
||||
RUN echo "" && \
|
||||
echo "Expecting 9 keys to follow this line!" && \
|
||||
echo "Expecting 10 keys to follow this line!" && \
|
||||
rpm -qa gpg-pubkey* && \
|
||||
echo "" && \
|
||||
[[ 9 -eq $(rpm -qa gpg-pubkey* | wc -l) ]] && \
|
||||
[[ 10 -eq $(rpm -qa gpg-pubkey* | wc -l) ]] && \
|
||||
rm -rf /var /boot && mkdir /var /boot && \
|
||||
bootc container lint --fatal-warnings --skip nonempty-run-tmp
|
||||
|
||||
Reference in new issue
Block a user