summarylogtreecommitdiffstats
path: root/shared-cryptboot-build
diff options
context:
space:
mode:
authorEmil Lundberg2016-06-27 01:45:18 +0200
committerEmil Lundberg2016-06-27 01:45:18 +0200
commite03010e8ce62a4b5839b090f2910a2f8f1dea2f6 (patch)
tree1665c7f2e96c195957ee437606b5f1e34ba173c5 /shared-cryptboot-build
downloadaur-e03010e8ce62a4b5839b090f2910a2f8f1dea2f6.tar.gz
Initial commit
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