summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2026-03-12 13:01:26 +0200
committerGitHub <noreply@github.com>2026-03-12 13:01:26 +0200
commit60e8563f4a0014305a03cc7a7887b8125ef99b03 (patch)
treef9ec88fad1564b165883a1e4cb971eb7dfdd1852 /data
parent1abd474dd52da7dee8e3c8c8b17f18c134ced964 (diff)
parent5fe0c17b8c6cb8e244762dcb88eb9c0bf705d9f5 (diff)
downloadvyos-build-60e8563f4a0014305a03cc7a7887b8125ef99b03.tar.gz
vyos-build-60e8563f4a0014305a03cc7a7887b8125ef99b03.zip
Merge pull request #1138 from asklymenko/current
T8334: arm64: updating image via 'add system image' fails with vmlinuz not found error
Diffstat (limited to 'data')
-rwxr-xr-xdata/live-build-config/hooks/live/19-kernel_symlinks.binary12
1 files changed, 12 insertions, 0 deletions
diff --git a/data/live-build-config/hooks/live/19-kernel_symlinks.binary b/data/live-build-config/hooks/live/19-kernel_symlinks.binary
new file mode 100755
index 00000000..9be4b979
--- /dev/null
+++ b/data/live-build-config/hooks/live/19-kernel_symlinks.binary
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+echo I: Creating Linux Kernel symbolic links for Live image
+
+cd live
+if [ ! -f initrd.img ]; then
+ cp -l initrd.img-* initrd.img
+fi
+
+if [ ! -f vmlinuz ]; then
+ cp -l vmlinuz-* vmlinuz
+fi