summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-07-10 09:22:16 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-07-10 09:22:16 -0400
commit3a00916f4eb86a96de7f8c94974d20e3ea91c474 (patch)
treee8b89ffa5c9dd83570e592aa86c7eedf072ccc5c /Makefile
parent8ebb68394c059b3c92586ee4a4ed3136a3011c61 (diff)
downloadminitramfs-3a00916f4eb86a96de7f8c94974d20e3ea91c474.tar.xz
minitramfs-3a00916f4eb86a96de7f8c94974d20e3ea91c474.zip
switch to ed25519, zstd
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 3a2f16b..e408200 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,13 @@
all: initramfs.img
-initramfs.img: gen_init_cpio dropbear_rsa_host_key dropbear_ecdsa_host_key
+initramfs.img: gen_init_cpio dropbear_ed25519_host_key
./make
gen_init_cpio: gen_init_cpio.c
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) gen_init_cpio.c -o $@
-dropbear_rsa_host_key:
- dropbearkey -t rsa -f $@
-
-dropbear_ecdsa_host_key:
- dropbearkey -t ecdsa -f $@
+dropbear_ed25519_host_key:
+ dropbearkey -t ed25519 -f $@
install: initramfs.img
rm -f /boot/initramfs.img.old /boot/initramfs.img.new