Skip to content

Commit

Permalink
ARM-CI: added a fix to mount Linux ARM emulator rootfs during each build
Browse files Browse the repository at this point in the history
* Previous PR dotnet/coreclr#4141 assumed that the rootfs is mounted
  throughout the lifespan of the CI machine
* Changing this to mount and unmount everytime a build is triggered

Signed-off-by: Prajwal A N <an.prajwal@samsung.com>


Commit migrated from dotnet/coreclr@148abd1
  • Loading branch information
Prajwal A N committed May 25, 2016
1 parent 298b1e0 commit 824954a
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 824954a

Please sign in to comment.