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

ci: integration_test: update boot-deploy paths

This was moved to /usr/bin
parent 442f819b
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !73. Comments created here will be created in the context of that merge request.
......@@ -92,7 +92,7 @@ pmbootstrap install --no-image --password 1
# Replace the installed boot-deploy with the local copy
echo "==> Installing boot-deploy to device chroot"
# we use a wrapper script to install it as boot-deploy.real
sudo cp boot-deploy "$rootfs"/sbin/boot-deploy.real
sudo cp boot-deploy "$rootfs"/usr/bin/boot-deploy.real
sudo cp boot-deploy-functions.sh "$rootfs"/usr/share/boot-deploy/boot-deploy-functions.sh
echo "==> Installing boot-deploy wrapper"
......@@ -146,10 +146,10 @@ echo "work_dir=\$work_dir.copy" >> "/tmp/boot-deploy.args"
echo "output_dir=\$output_dir" >> "/tmp/boot-deploy.args"
echo "local_deviceinfo=\$local_deviceinfo" >> "/tmp/boot-deploy.args"
exec /sbin/boot-deploy.real \$orig_args
exec /usr/bin/boot-deploy.real \$orig_args
EOF
chmod +x "boot-deploy-wrapper"
sudo mv "boot-deploy-wrapper" "$rootfs/sbin/boot-deploy"
sudo mv "boot-deploy-wrapper" "$rootfs/usr/bin/boot-deploy"
echo "==> Running boot-deploy in chroot"
pmbootstrap chroot -r mkinitfs
......
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