summarylogtreecommitdiffstats
path: root/shared-cryptboot-build
diff options
context:
space:
mode:
Diffstat (limited to 'shared-cryptboot-build')
-rw-r--r--shared-cryptboot-build6
1 files changed, 6 insertions, 0 deletions
diff --git a/shared-cryptboot-build b/shared-cryptboot-build
new file mode 100644
index 000000000000..c1327300a826
--- /dev/null
+++ b/shared-cryptboot-build
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+SHARED_CRYPTBOOT_IMAGE_SUFFIX=${SHARED_CRYPTBOOT_IMAGE_SUFFIX:-$(hostname)}
+
+cp /boot/vmlinuz-linux /boot/vmlinuz-linux-${SHARED_CRYPTBOOT_IMAGE_SUFFIX}
+cp /boot/initramfs-linux.img /boot/initramfs-linux-${SHARED_CRYPTBOOT_IMAGE_SUFFIX}.img