Skip to content
Snippets Groups Projects
Unverified Commit a139bf66 authored by Clayton Craft's avatar Clayton Craft :speech_balloon:
Browse files

ci: integration: preserve boot-deploy's changes in the work dir (MR 54)

This fixes a problem where the kernel-dtb check in bootimg testing
failed, because the work dir only had artifacts from mkinitfs and not
from boot-deploy.
parent 4904909f
No related branches found
No related tags found
1 merge request!54ci: integration: fix vmlinuz-dtb path
Pipeline #143685 passed
......@@ -130,7 +130,12 @@ do
esac
done
cp -r "\$work_dir" "\$work_dir.copy"
# Move the work dir and create a symlink back to the original location to
# preserve its contents, especially anything new created by boot-deploy that
# will be used in later testing. mkinitfs will delete the symlink instead of
# the actual work dir contents.
mv "\$work_dir" "\$work_dir.copy"
ln -s "\$work_dir.copy" "\$work_dir"
# Boot-deploy gets run twice so clear the args file
echo "" > /tmp/boot-deploy.args
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment