summaryrefslogtreecommitdiffstats
path: root/src/ukify
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2024-01-21 12:48:16 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2024-01-22 11:50:33 +0100
commit934288757c45e9d8d88e9e1cb4669762d804e89f (patch)
tree64d2b7b7a5ed0dff0bd869635182f9fc23a10038 /src/ukify
parentpo: Translated using Weblate (Indonesian) (diff)
downloadsystemd-934288757c45e9d8d88e9e1cb4669762d804e89f.tar.xz
systemd-934288757c45e9d8d88e9e1cb4669762d804e89f.zip
tree-wide: link to docs.kernel.org for kernel documentation
https://www.kernel.org/ links to https://docs.kernel.org/ for the documentation. These URLs are shorter and nicer looking.
Diffstat (limited to '')
-rwxr-xr-xsrc/ukify/ukify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ukify/ukify.py b/src/ukify/ukify.py
index 98739969ae..efa780992f 100755
--- a/src/ukify/ukify.py
+++ b/src/ukify/ukify.py
@@ -190,7 +190,7 @@ class Uname:
@classmethod
def scrape_x86(cls, filename, opts=None):
# Based on https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio/-/blob/master/functions#L136
- # and https://www.kernel.org/doc/html/latest/x86/boot.html#the-real-mode-kernel-header
+ # and https://docs.kernel.org/arch/x86/boot.html#the-real-mode-kernel-header
with open(filename, 'rb') as f:
f.seek(0x202)
magic = f.read(4)