Skip to content

Commit

Permalink
Merge pull request #5636 from AenBleidd/vko_add_all_projects_list_xml…
Browse files Browse the repository at this point in the history
…_file_into_linux_package

[linux] add 'all_projects_list.xml' to the linux installation package
  • Loading branch information
AenBleidd committed May 24, 2024
2 parents 552b3e2 + 880ab75 commit 2fc386d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/debrepo/package_prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ function prepare_client() {
for dir in $(find ./locale -maxdepth 1 -mindepth 1 -type d); do mkdir -p usr/local/share/$dir/LC_MESSAGES; for file in $(find $dir -type f -iname BOINC-Client.mo); do mv $file usr/local/share/$dir/LC_MESSAGES/; done; done
exit_on_fail
rm -rf locale/
mv all_projects_list.xml var/lib/boinc/
exit_on_fail
}

function prepare_manager() {
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/rpmrepo/package_prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ function prepare_client() {
for dir in $(find ./locale -maxdepth 1 -mindepth 1 -type d); do mkdir -p $RPM_BUILDROOT/usr/local/share/$dir/LC_MESSAGES; for file in $(find $dir -type f -iname BOINC-Client.mo); do mv $file $RPM_BUILDROOT/usr/local/share/$dir/LC_MESSAGES/; done; done
exit_on_fail
rm -rf locale/
mv all_projects_list.xml $RPM_BUILDROOT/var/lib/boinc/
exit_on_fail
}

function prepare_manager() {
Expand Down
1 change: 1 addition & 0 deletions deploy/prepare_deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
'./packages/deb/*',
'./packages/generic/36x11-common_xhost-boinc',
'locale/*/*.mo',
'./win_build/installerv2/redist/all_projects_list.xml'
]

linux_apps_list = [
Expand Down
1 change: 1 addition & 0 deletions tests/linux_package_tests/integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def test_files_exist(self):
ts.expect_true(os.path.exists("/var/lib/boinc/ca-bundle.crt"), "Test 'ca-bundle.crt' file exists in '/var/lib/boinc/'")
ts.expect_true(os.path.islink("/var/lib/boinc/ca-bundle.crt"), "Test '/var/lib/boinc/ca-bundle.crt' file is a symbolic link")
ts.expect_equal(self._get_ca_certificates_file_path(), os.readlink("/var/lib/boinc/ca-bundle.crt"), "Test '/var/lib/boinc/ca-bundle.crt' file is a symbolic link to the system 'ca-certificates.crt' file")
ts.expect_true(os.path.exists("/var/lib/boinc/all_projects_list.xml"), "Test 'all_projects_list.xml' file exists in '/var/lib/boinc/'")
return ts.result()

def test_version(self):
Expand Down

0 comments on commit 2fc386d

Please sign in to comment.