From 83eb784a70f69ab4730c246c563e3a4ba7d6f1b2 Mon Sep 17 00:00:00 2001 From: dm Date: Sun, 5 Jan 2025 20:04:38 +0600 Subject: [PATCH] test --- src/configuration/kernel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configuration/kernel.sh b/src/configuration/kernel.sh index af4bf6b..5d3f76d 100755 --- a/src/configuration/kernel.sh +++ b/src/configuration/kernel.sh @@ -21,7 +21,7 @@ for KVER in $kver; do echo "Generating initramfs for kernel version $KVER..." # Используем make-initrd для создания initramfs - make-initrd -N -v -k "$KVER" AUTODETECT= -c ./source/initrd.mk.oem \ + make-initrd -N -v -k "$KVER" AUTODETECT= -c "$(dirname "$0")/../source/initrd.mk.oem" \ || { echo "** Error: make-initrd failed for $KVER" >&2; exit 1; } # Определяем имя файла ядра в зависимости от архитектуры