Ensure we can read the kernel out.
If the kernel is restricted read (as a security measure) we may not be able to read it without chmodding it. Change-Id: Ib577705c27d8c351288334de03a7848cf49f2de9
This commit is contained in:
parent
83aee34534
commit
072fee1a74
@ -5,5 +5,6 @@ set -o pipefail
|
||||
|
||||
IMAGE_NAME=${IMAGE_NAME:-'image'}
|
||||
|
||||
sudo chmod a+r $TMP_MOUNT_PATH/tmp/ramdisk $TMP_MOUNT_PATH/tmp/kernel
|
||||
cp $TMP_MOUNT_PATH/tmp/ramdisk $IMAGE_NAME.initramfs
|
||||
cp $TMP_MOUNT_PATH/tmp/kernel $IMAGE_NAME.kernel
|
||||
|
Loading…
Reference in New Issue
Block a user