mirror of
https://github.com/ManInDark/bootc-image.git
synced 2026-01-20 22:44:28 +01:00
Compare commits
7 Commits
dadc897884
...
42
| Author | SHA1 | Date | |
|---|---|---|---|
|
9da45bb1a5
|
|||
|
d51d1055dc
|
|||
|
f1c5bfeb2d
|
|||
|
c37006e861
|
|||
|
5ee2df4af6
|
|||
|
c63cea685a
|
|||
|
aa1c153015
|
1
Makefile
1
Makefile
@@ -1,6 +1,7 @@
|
|||||||
clean:
|
clean:
|
||||||
sudo rm -fr flathub output output-repo
|
sudo rm -fr flathub output output-repo
|
||||||
sudo podman system prune
|
sudo podman system prune
|
||||||
|
for container in $$(sudo podman container list --external --format "{{.ID}}"); do sudo podman rm $$container; done
|
||||||
|
|
||||||
oci:
|
oci:
|
||||||
sudo podman build --network=host -t podman-image .
|
sudo podman build --network=host -t podman-image .
|
||||||
|
|||||||
31
README.md
31
README.md
@@ -54,7 +54,38 @@ It is possible to keep a revision by pinning it: `ostree admin pin 0`
|
|||||||
- ffmpeg
|
- ffmpeg
|
||||||
- pandoc
|
- pandoc
|
||||||
- ansible
|
- ansible
|
||||||
|
- sqlite
|
||||||
|
- netcat
|
||||||
|
- tor & torbrowser-launcher
|
||||||
- Flatpak (with default repository configured)
|
- Flatpak (with default repository configured)
|
||||||
- Chromium
|
- Chromium
|
||||||
|
- Veracrypt
|
||||||
- VSCode
|
- VSCode
|
||||||
- NVIDIA Drivers
|
- NVIDIA Drivers
|
||||||
|
|
||||||
|
## Referenced Sources for NVIDIA Driver Installation
|
||||||
|
|
||||||
|
### NVIDIA
|
||||||
|
|
||||||
|
- https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
|
||||||
|
- https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#handle-uninstallation
|
||||||
|
- https://developer.nvidia.com/cuda-downloads
|
||||||
|
|
||||||
|
### ublue-os
|
||||||
|
|
||||||
|
- https://github.com/ublue-os/main
|
||||||
|
- https://github.com/ublue-os/akmods
|
||||||
|
- https://github.com/ublue-os/hwe/pkgs/container/akmods-nvidia
|
||||||
|
|
||||||
|
### RPM Fusion
|
||||||
|
|
||||||
|
- https://rpmfusion.org/Howto/NVIDIA
|
||||||
|
|
||||||
|
### Bluefin
|
||||||
|
|
||||||
|
- https://github.com/ublue-os/bluefin/blob/main/build_files/base/03-install-kernel-akmods.sh
|
||||||
|
- https://github.com/ublue-os/bluefin/blob/main/build_files/base/19-initramfs.sh
|
||||||
|
|
||||||
|
### Notes
|
||||||
|
|
||||||
|
Those also include links that didn't work out in the end for various reasons, the one I use now is based on extracting the relevant parts of the bluefin scripts.
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ dnf5 update -y --setopt=install_weak_deps=False
|
|||||||
dnf5 install -y man-pages man-db glibc-langpack-en glibc-langpack-de plymouth
|
dnf5 install -y man-pages man-db glibc-langpack-en glibc-langpack-de plymouth
|
||||||
dnf5 install -y --setopt=exclude=gnome-tour,malcontent-control gnome-shell gnome-keyring gnome-keyring-pam gnome-bluetooth gnome-terminal nautilus seahorse evolution totem gstreamer1-plugin-libav gnome-extensions-app gnome-browser-connector gnome-shell-extension-appindicator
|
dnf5 install -y --setopt=exclude=gnome-tour,malcontent-control gnome-shell gnome-keyring gnome-keyring-pam gnome-bluetooth gnome-terminal nautilus seahorse evolution totem gstreamer1-plugin-libav gnome-extensions-app gnome-browser-connector gnome-shell-extension-appindicator
|
||||||
dnf5 install -y gnome-calculator gnome-disk-utility gnome-backgrounds
|
dnf5 install -y gnome-calculator gnome-disk-utility gnome-backgrounds
|
||||||
dnf5 install -y curl git btop nvtop tmux flatpak pciutils tailscale make fzf direnv xsel chromium pandoc-common pandoc-pdf texlive-collection-langgerman ansible-core ansible-collection-community-general vlc
|
dnf5 install -y curl git btop nvtop tmux flatpak pciutils tailscale make fzf direnv xsel chromium pandoc-common pandoc-pdf texlive-collection-langgerman ansible-core ansible-collection-community-general vlc sqlite netcat tor torbrowser-launcher
|
||||||
git clone https://github.com/Tudmotu/gnome-shell-extension-clipboard-indicator.git /usr/share/gnome-shell/extensions/clipboard-indicator@tudmotu.com
|
git clone https://github.com/Tudmotu/gnome-shell-extension-clipboard-indicator.git /usr/share/gnome-shell/extensions/clipboard-indicator@tudmotu.com
|
||||||
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
echo "LANG=de_DE.UTF-8" >> /etc/default/locale
|
echo "LANG=de_DE.UTF-8" >> /etc/default/locale
|
||||||
@@ -21,3 +21,7 @@ curl -fsSLo /etc/yum.repos.d/vscode.repo https://packages.microsoft.com/yumrepos
|
|||||||
rpm-ostree install code
|
rpm-ostree install code
|
||||||
rm /etc/yum.repos.d/vscode.repo
|
rm /etc/yum.repos.d/vscode.repo
|
||||||
|
|
||||||
|
# Install Veracrypt: https://veracrypt.io/en/Downloads.html
|
||||||
|
curl -fsSLo /tmp/veracrypt.rpm "https://launchpad.net/veracrypt/trunk/1.26.24/+download/veracrypt-1.26.24-Fedora-40-x86_64.rpm"
|
||||||
|
rpm-ostree install -y /tmp/veracrypt.rpm
|
||||||
|
rm /tmp/veracrypt.rpm
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ if ! grep -q negativo17 <(rpm -qi mesa-dri-drivers); then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Install Nvidia RPMs
|
# Install Nvidia RPMs
|
||||||
curl -sSL "https://raw.githubusercontent.com/ublue-os/main/main/build_files/nvidia-install.sh" -o /tmp/nvidia-install.sh
|
curl -sSL "https://raw.githubusercontent.com/ublue-os/main/0454e5857ac43c47e8d0b365a1c6a3912a5f9859/build_files/nvidia-install.sh" -o /tmp/nvidia-install.sh
|
||||||
chmod +x /tmp/nvidia-install.sh
|
chmod +x /tmp/nvidia-install.sh
|
||||||
/tmp/nvidia-install.sh
|
/tmp/nvidia-install.sh
|
||||||
rm -f /usr/share/vulkan/icd.d/nouveau_icd.*.json
|
rm -f /usr/share/vulkan/icd.d/nouveau_icd.*.json
|
||||||
@@ -62,4 +62,4 @@ tee /usr/lib/bootc/kargs.d/00-nvidia.toml <<EOF
|
|||||||
kargs = ["rd.driver.blacklist=nouveau", "modprobe.blacklist=nouveau", "nvidia-drm.modeset=1", "initcall_blacklist=simpledrm_platform_driver_init"]
|
kargs = ["rd.driver.blacklist=nouveau", "modprobe.blacklist=nouveau", "nvidia-drm.modeset=1", "initcall_blacklist=simpledrm_platform_driver_init"]
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|||||||
Reference in New Issue
Block a user