From 70ed8907421dfc810ce9a5a433015427b1985c0f Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 23 Apr 2024 07:50:04 +0300 Subject: [PATCH] dnf/protected.d: add README.md, aminda-{desktop,essentials}.conf --- etc/dnf/protected.d/README.md | 44 ++++++++++++++++++++++ etc/dnf/protected.d/aminda-desktop.conf | 2 + etc/dnf/protected.d/aminda-essentials.conf | 3 ++ 3 files changed, 49 insertions(+) create mode 100644 etc/dnf/protected.d/README.md create mode 100644 etc/dnf/protected.d/aminda-desktop.conf create mode 100644 etc/dnf/protected.d/aminda-essentials.conf diff --git a/etc/dnf/protected.d/README.md b/etc/dnf/protected.d/README.md new file mode 100644 index 0000000..9758829 --- /dev/null +++ b/etc/dnf/protected.d/README.md @@ -0,0 +1,44 @@ +# dnf protected packages + +In normal operation, packages listed here will not be removed by dnf even +when told it to do so. + + + + + + + +- [My list](#my-list) +- [Fedora 40 list](#fedora-40-list) + + + + + + +## My list + +- `aminda-desktop.conf` protects packages I consider essential for my desktop + experience, mainly `sway` and `waybar`, the latter which once got removed + due to dependency issue with Fedora 40 during its rawhide days and that was + a bit painful. +- `aminda-essentials.conf` protects essential packages that are CLI, mainly + `tmux`, `git` and `zsh` at this time. +- `README.md` explains what these files are about and is the file you are + currently reading, isn't it? +- `{sdubby,systemd-boot-unsigned}.conf` are required and recommended to be + protected for `systemd-bootd` when not using `grub`. +- `systemd-{networkd,resolved}.conf` protect the two which I use for + `resolv.conf` and network management and I will be unhappy if they vanish + mysteriously (Debian testing once stripped systemd-resolved from core + systemd and broke my DNS, so just in case...) +- `unbound.conf` is what I use in addition to `systemd-resolved` recommended + or not, so I have at least one working DNS resolver on my system. + +## Fedora 40 list + +``` +grub2-efi-ia32.conf grub2-pc.conf shim.conf +grub2-efi-x64.conf grub2-tools-minimal.conf setup.conf sudo.conf systemd.conf +``` diff --git a/etc/dnf/protected.d/aminda-desktop.conf b/etc/dnf/protected.d/aminda-desktop.conf new file mode 100644 index 0000000..fc07c08 --- /dev/null +++ b/etc/dnf/protected.d/aminda-desktop.conf @@ -0,0 +1,2 @@ +sway +waybar diff --git a/etc/dnf/protected.d/aminda-essentials.conf b/etc/dnf/protected.d/aminda-essentials.conf new file mode 100644 index 0000000..e994e64 --- /dev/null +++ b/etc/dnf/protected.d/aminda-essentials.conf @@ -0,0 +1,3 @@ +tmux +zsh +git