[hal] Add SystemServer DS support (#7466)

This commit is contained in:
Thad House
2024-12-02 01:05:07 +00:00
committed by GitHub
parent 5a9e0abe44
commit bf653d9895
4 changed files with 290 additions and 254 deletions

View File

@@ -82,7 +82,7 @@ deploy {
all {
postdeploy << { ctx ->
ctx.execute("sync")
ctx.execute("ldconfig")
ctx.execute("sudo ldconfig /home/systemcore/frc/third-party/lib")
}
}
@@ -104,7 +104,7 @@ deploy {
postdeploy << { ctx ->
ctx.execute("echo '/home/systemcore/developerRobotCppStatic' > /home/systemcore/robotCommand")
ctx.execute("chmod +x /home/systemcore/robotCommand; chown systemcore /home/systemcore/robotCommand")
ctx.execute("setcap cap_sys_nice+eip \"/home/systemcore/developerRobotCppStatic\"")
ctx.execute("sudo setcap cap_sys_nice+eip \"/home/systemcore/developerRobotCppStatic\"")
ctx.execute('chmod +x developerRobotCppStatic')
}
}
@@ -130,7 +130,6 @@ deploy {
tasks.register('deployJava') {
try {
dependsOn tasks.named('deployjresystemcore')
dependsOn tasks.named('deploydeveloperRobotJavasystemcore')
dependsOn tasks.named('deploydeveloperRobotCppJavasystemcore') // Deploying shared C++ is how to get the Java shared libraries.
} catch (ignored) {