DIB: remove deprecated extension and output image size for convenience

Change-Id: Ifbb242e4846a233c685ba3dba6d2ecdae101f4b2
This commit is contained in:
Dmitry Tantsur 2019-09-18 18:31:13 +02:00
parent ca0652c1c5
commit 5e189fca97

View File

@ -49,10 +49,5 @@ sudo find . -xdev \
select_boot_kernel_initrd $TARGET_ROOT
sudo cp $BOOTDIR/$KERNEL ${IMAGE_PATH}.kernel
sudo chown $USER: ${IMAGE_PATH}.kernel
# TODO(lucasagomes): Create a hard link for the .vmlinuz file to keep
# it backward compatible. Remove it after it has been consistent and
# documented in both places for at least one full OpenStack release cycle
echo "WARNING: The kernel extension .vmlinuz has been deprecated. Please rely on the file with the extension .kernel instead."
sudo rm -f ${IMAGE_PATH}.vmlinuz
ln ${IMAGE_PATH}.kernel ${IMAGE_PATH}.vmlinuz
# Output image sizes for debugging
sudo ls -lh ${IMAGE_PATH}.*