Skip to content

Commit

Permalink
Merge pull request kata-containers#7981 from BbolroC/fix-agent-double…
Browse files Browse the repository at this point in the history
…-build-for-initrd

cc|osbuilder: Correct a typo in the initrd-image
  • Loading branch information
fidencio authored Sep 15, 2023
2 parents ee15a38 + 5e5e78c commit 6b3c635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/packaging/guest-image/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ build_initrd() {
module_dir="${repo_root_dir}/tools/packaging/kata-deploy/local-build/build/kernel-sev/builddir/kata-linux-${kernel_version}-${config_version}/lib/modules/${kernel_version}"
sudo -E PATH="$PATH" make rootfs AGENT_INIT=yes USE_DOCKER=1 ROOTFS_BUILD_DEST="${builddir}/initrd-image" KERNEL_MODULES_DIR="${module_dir}"
else
sudo -E PATH="$PATH" make rootfs AGENT_INIT=yes USE_DOCKER=1 ROOTFS_BUILD_DEST="${builddir}/intrd-image"
sudo -E PATH="$PATH" make rootfs AGENT_INIT=yes USE_DOCKER=1 ROOTFS_BUILD_DEST="${builddir}/initrd-image"
fi

if [ -n "${INCLUDE_ROOTFS:-}" ]; then
Expand Down

0 comments on commit 6b3c635

Please sign in to comment.