[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210818154646.925351-3-efremov@linux.com>
Date: Wed, 18 Aug 2021 18:46:43 +0300
From: Denis Efremov <efremov@...ux.com>
To: linux-kselftest@...r.kernel.org
Cc: Denis Efremov <efremov@...ux.com>, linux-kernel@...r.kernel.org,
linux-block@...r.kernel.org, Jens Axboe <axboe@...nel.dk>,
Jiri Kosina <jkosina@...e.cz>, Willy Tarreau <w@....eu>,
Masahiro Yamada <masahiroy@...nel.org>
Subject: [RFC PATCH 2/5] gen_initramfs.sh: use absolute path for gen_init_cpio
Use absolute path to call gen_init_cpio. This allows one
to use gen_initramfs.sh from any directory.
Cc: Masahiro Yamada <masahiroy@...nel.org>
Signed-off-by: Denis Efremov <efremov@...ux.com>
---
usr/gen_initramfs.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr/gen_initramfs.sh b/usr/gen_initramfs.sh
index 63476bb70b41..2e4a86181c79 100755
--- a/usr/gen_initramfs.sh
+++ b/usr/gen_initramfs.sh
@@ -244,4 +244,4 @@ if test -n "$KBUILD_BUILD_TIMESTAMP"; then
timestamp="-t $timestamp"
fi
fi
-usr/gen_init_cpio $timestamp $cpio_list > $output
+"$(dirname "$0")"/gen_init_cpio $timestamp $cpio_list > $output
--
2.31.1
Powered by blists - more mailing lists