From 7128eb8e3573641f190473ff4acf8e6fc7647bf7 Mon Sep 17 00:00:00 2001 From: RouxAntoine Date: Sat, 6 Jan 2024 15:46:15 +0100 Subject: [PATCH] features Signed-off-by: RouxAntoine --- rootfs-kernel/Makefile | 5 ++++- rootfs-kernel/kernel.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/rootfs-kernel/Makefile b/rootfs-kernel/Makefile index aa82d73..ee731bb 100644 --- a/rootfs-kernel/Makefile +++ b/rootfs-kernel/Makefile @@ -10,7 +10,10 @@ use-arch: ../out/arch-rootfs.ext4 use-ubuntu: ../out/ubuntu-22.04.ext4 ../out/ubuntu-22.04.id_rsa ln -fs $< ../out/rootfs.ext4 -kernel: ../out/vmlinux-5.10.204 +use-kernel: ../out/vmlinux-5.10.204 + ln -fs $< ../out/vmlinux + +use-kernel-custom: ../out/vmvmlinux-custom ln -fs $< ../out/vmlinux ../out/vmlinux-5.10.204: diff --git a/rootfs-kernel/kernel.sh b/rootfs-kernel/kernel.sh index 2dbd9bc..494a1c8 100755 --- a/rootfs-kernel/kernel.sh +++ b/rootfs-kernel/kernel.sh @@ -44,4 +44,4 @@ make kvm_guest.config #make -j$(nproc) # -#./scripts/extract-vmlinux ./arch/x86_64/boot/bzImage > "$WD"/arch-vmlinux.bin +#./scripts/extract-vmlinux ./arch/x86_64/boot/bzImage > "$WD"/vmlinux-$KERNEL_VERSION.bin