mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-01 07:00:10 +00:00
Simplify to static kernel file location
Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
@@ -17,10 +17,9 @@ cd files
|
||||
[ -t 0 ] || tar xf -
|
||||
|
||||
INITRD="$(find . -name '*.img')"
|
||||
KERNEL="$(find . -name kernel -or -name '*bzImage')"
|
||||
KERNEL="./kernel"
|
||||
CMDLINE="$*"
|
||||
|
||||
[ "$KERNEL" = "./kernel" ] || mv "$KERNEL" vmlinuz64
|
||||
[ "$INITRD" = "./initrd.img" ] || mv "$INITRD" initrd.img
|
||||
|
||||
# clean up subdirectories
|
||||
|
Reference in New Issue
Block a user