diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aa4de7e4..f56f468e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -250,7 +250,10 @@ jobs: -G Ninja \ -S ${{ github.workspace }}/SourceCache/ds2 cmake --build ${{ github.workspace }}/BinaryCache/ds2 --config Release - tar -C ${{ github.workspace }}/BinaryCache -cvf ${{ github.workspace }}/BinaryCache/ds2.tar ds2 + + # Tar the output to preserve permissions. + - name: tar output + run: tar -C ${{ github.workspace }}/BinaryCache -cvf ${{ github.workspace }}/BinaryCache/ds2.tar ds2 - uses: actions/upload-artifact@v4 with: diff --git a/Sources/Host/FreeBSD/Platform.cpp b/Sources/Host/FreeBSD/Platform.cpp index 188988f6..f6423649 100644 --- a/Sources/Host/FreeBSD/Platform.cpp +++ b/Sources/Host/FreeBSD/Platform.cpp @@ -36,9 +36,9 @@ static struct utsname const *GetCachedUTSName() { char const *Platform::GetOSVersion() { return GetCachedUTSName()->release; } -char const *Platform::GetOSBuild() { return GetCachedUTSName()->version; } +char const *Platform::GetOSBuild() { return GetCachedUTSName()->release; } -char const *Platform::GetOSKernelPath() { return nullptr; } +char const *Platform::GetOSKernelVersion() { return GetCachedUTSName()->version; } const char *Platform::GetSelfExecutablePath() { return Host::FreeBSD::ProcStat::GetExecutablePath(getpid()).c_str();