summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon GECOS <u@adam>2024-08-04 10:04:51 -0400
committerGordon GECOS <u@adam>2024-08-04 10:04:51 -0400
commit5d511570a724a6dc5c125f4e4b59f8e21241b627 (patch)
treea645d49ad1f7912e892d654ea715b21b5f8c9a70
parent538f1de87b4819f8dc692d6958d1c00a0849dd9a (diff)
-rw-r--r--README.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/README.txt b/README.txt
new file mode 100644
index 0000000..6dc0925
--- /dev/null
+++ b/README.txt
@@ -0,0 +1,27 @@
1This script locates and installs the 'linux-image-amd64' meta-package
2that corresponds to the booted kernel.
3
4This should be done if the meta-package was upgraded to a version that
5does not boot on the local machine. (E.g., because the bootloader
6configuration cannot be updated.)
7
8In that case, the unused kernel should be removed, and the meta-package
9downgraded to match the kernel in use. But the matching meta-package
10has probably been removed from the Debian archives, making this
11impossible to do with a mere 'apt' command.
12
13This script will:
14
151) download the correct 'linux-image-amd64' deb from
16 snapshots.debian.org
17
182) install it via dpkg
19
20 and then
21
223) mark it 'held' via dpkg
23
24 to prevent accidental upgrades in the future.
25
26We don't check the gpg signature of the deb, but rely on the https
27connection to snapshots.debian.org.