diff --git a/misc/sample_application/image_builder/create_image.sh b/misc/sample_application/image_builder/create_image.sh index 0dcc5a988..cb6baed41 100755 --- a/misc/sample_application/image_builder/create_image.sh +++ b/misc/sample_application/image_builder/create_image.sh @@ -227,7 +227,7 @@ function cleanup() { mount_point=$(pwd)/mnt if [[ ${vm_type} == "hmi-vm" ]]; then target_image=${hmi_vm_image} - size_modifier="+4G" + size_modifier="+5G" elif [[ ${vm_type} == "rt-vm" ]]; then target_image=${rt_vm_image} size_modifier="+1G" @@ -236,7 +236,7 @@ else exit 1 fi -try_step "Download Ubuntu Focal cloud image" download_image ${cloud_image} ${cloud_image_url} +try_step "Download Ubuntu cloud image" download_image ${cloud_image} ${cloud_image_url} if [[ ${vm_type} == "rt-vm" ]]; then try_step "Copy the RT kernel to build directory" copy_rt_kernel try_step "Check availability of RT kernel image" check_rt_kernel diff --git a/misc/sample_application/image_builder/setup_rt_vm.sh b/misc/sample_application/image_builder/setup_rt_vm.sh index 6d86ffa75..912c619e3 100644 --- a/misc/sample_application/image_builder/setup_rt_vm.sh +++ b/misc/sample_application/image_builder/setup_rt_vm.sh @@ -35,7 +35,8 @@ function install_rt_kernel() { search_dir=$1 for file in $(ls -r ${search_dir}/*acrn-kernel-*.deb) do - sudo apt install ${file} -y + cp ${file} /tmp + sudo apt install /tmp/${file##*/} -y done }