mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-27 07:48:55 +00:00
build: initrd make it coherent to the image build
Add -f for moving the initrd to the correct file path Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
This commit is contained in:
parent
3c29c1707d
commit
95b69c5732
@ -54,7 +54,7 @@ build_initrd() {
|
|||||||
artifact_name=${artifact_name/.initrd/"-${nvidia_driver_version}".initrd}
|
artifact_name=${artifact_name/.initrd/"-${nvidia_driver_version}".initrd}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mv "kata-containers-initrd.img" "${install_dir}/${artifact_name}"
|
mv -f "kata-containers-initrd.img" "${install_dir}/${artifact_name}"
|
||||||
(
|
(
|
||||||
cd "${install_dir}"
|
cd "${install_dir}"
|
||||||
ln -sf "${artifact_name}" "${final_artifact_name}${image_initrd_extension}"
|
ln -sf "${artifact_name}" "${final_artifact_name}${image_initrd_extension}"
|
||||||
|
Loading…
Reference in New Issue
Block a user