Skip to content

Commit

Permalink
Merge pull request dotnet/coreclr#5209 from prajwal-aithal/devel/arm-…
Browse files Browse the repository at this point in the history
…ci-fix

ARM-CI: Mount Linux ARM emulator rootfs during each build

Commit migrated from dotnet/coreclr@dfdb63b
  • Loading branch information
mmitche committed May 25, 2016
2 parents 7cdfb27 + 824954a commit cb51c8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/coreclr/netci.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1710,6 +1710,8 @@ combinedScenarios.each { scenario ->
break
}
else {
// Unmount previously mounted rootfs and mount the Linux ARM emulator rootfs at /opt/linux-arm-emulator-root/
buildCommands += "sudo umount /opt/linux-arm-emulator-root/; sudo mount /opt/linux-arm-emulator/platform/rootfs-t30.ext4 /opt/linux-arm-emulator-root/"
// Remove old copy of coreclr and copy the latest version of coreclr
// This need to be done as it is not possible to clone the repository inside the chroot jail
buildCommands += "sudo rm -rf /opt/linux-arm-emulator-root/home/coreclr; sudo mkdir /opt/linux-arm-emulator-root/home/coreclr; sudo cp -R ./ /opt/linux-arm-emulator-root/home/coreclr"
Expand Down

0 comments on commit cb51c8f

Please sign in to comment.