Default name for ramdisks to image.
If you build a ramdisk with ramdisk-image-create and forget to specify -o, you end up with a .kernel and .initramfs file as the image outputs. This commit defaults the $IMAGE_NAME value to image so you'd end up with image.kernel and image.initramfs Change-Id: I10f3ac9ad178c32119523e4da930070e3ade4f73
This commit is contained in:
parent
d7e43c0861
commit
6b220a044f
@ -3,5 +3,7 @@
|
|||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
IMAGE_NAME=${IMAGE_NAME:-'image'}
|
||||||
|
|
||||||
cp $TMP_MOUNT_PATH/tmp/ramdisk $IMAGE_NAME.initramfs
|
cp $TMP_MOUNT_PATH/tmp/ramdisk $IMAGE_NAME.initramfs
|
||||||
cp $TMP_MOUNT_PATH/tmp/kernel $IMAGE_NAME.kernel
|
cp $TMP_MOUNT_PATH/tmp/kernel $IMAGE_NAME.kernel
|
||||||
|
Loading…
Reference in New Issue
Block a user