Skip to content

Commit

Permalink
gen_initramfs.sh: use absolute path for gen_init_cpio
Browse files Browse the repository at this point in the history
Use absolute path to call gen_init_cpio. This allows one
to use gen_initramfs.sh from any directory.

Cc: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Denis Efremov <efremov@linux.com>
  • Loading branch information
evdenis authored and intel-lab-lkp committed Aug 18, 2021
1 parent 6d1db0c commit 9794c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/gen_initramfs.sh
Expand Up @@ -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

0 comments on commit 9794c68

Please sign in to comment.