Skip to content

Instantly share code, notes, and snippets.

@anthr76
Last active November 24, 2021 15:50
Show Gist options
  • Save anthr76/a83d3014a89c321f53e7fa5bc3b306b3 to your computer and use it in GitHub Desktop.
Save anthr76/a83d3014a89c321f53e7fa5bc3b306b3 to your computer and use it in GitHub Desktop.
Reset rpm-ostree kernel overrides fedora
#!/bin/sh
sudo -- sh -c '
rpm-ostree override reset \
python3-perf \
python3-perf-debuginfo \
kernel-doc \
kernel-tools \
kernel-devel-matched \
libperf-devel \
bpftool-debuginfo \
kernel-debug \
kernel-cross-headers \
kernel-debug-devel-matched \
libperf \
bpftool \
kernel-debug-core \
kernel-debug-modules-extra \
kernel-debug-debuginfo \
kernel-tools-libs-devel \
kernel-debuginfo \
libperf-debuginfo \
kernel-tools-debuginfo \
kernel-tools-debugsource \
kernel-tools-libs \
kernel-tools-libs-debuginfo \
perf \
kernel-debug-modules \
perf-debuginfo \
kernel-debug-devel \
kernel-modules-internal \
kernel-debug-modules-internal \
kernel \
kernel-modules-extra \
kernel-devel \
kernel-modules \
kernel-core \
kernel-headers;
rpm-ostree upgrade;
rpm-ostree status -v;
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment