mirror of https://github.com/BOINC/boinc.git
Merge pull request #5519 from AenBleidd/vko_add_new_linux_oss
Build linux packages for Debian 12 and Fedora 39
This commit is contained in:
commit
b612219afc
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
"rootDir": "http-data/bookworm",
|
||||||
|
"downloadConcurrency": 4,
|
||||||
|
"downloadSpeedLimit": 0,
|
||||||
|
"architectures": [],
|
||||||
|
"dependencyFollowSuggests": false,
|
||||||
|
"dependencyFollowRecommends": false,
|
||||||
|
"dependencyFollowAllVariants": false,
|
||||||
|
"dependencyFollowSource": false,
|
||||||
|
"dependencyVerboseResolve": false,
|
||||||
|
"gpgDisableSign": false,
|
||||||
|
"gpgDisableVerify": false,
|
||||||
|
"gpgProvider": "gpg1",
|
||||||
|
"downloadSourcePackages": false,
|
||||||
|
"skipLegacyPool": true,
|
||||||
|
"ppaDistributorID": "ubuntu",
|
||||||
|
"ppaCodename": "",
|
||||||
|
"FileSystemPublishEndpoints": {},
|
||||||
|
"S3PublishEndpoints": {},
|
||||||
|
"SwiftPublishEndpoints": {},
|
||||||
|
"enableMetricsEndpoint": false,
|
||||||
|
"logLevel": "info",
|
||||||
|
"logFormat": "default",
|
||||||
|
"serveInAPIMode": false
|
||||||
|
}
|
|
@ -28,18 +28,21 @@ function exit_usage() {
|
||||||
|
|
||||||
case "$1_$2" in
|
case "$1_$2" in
|
||||||
# ubuntu distros
|
# ubuntu distros
|
||||||
"jammy_linux_client")
|
"focal_linux_client")
|
||||||
echo "libc6,libxss1 (>= 1.2.3)"
|
echo "libc6,libxss1 (>= 1.2.3)"
|
||||||
;;
|
;;
|
||||||
"focal_linux_client")
|
"jammy_linux_client")
|
||||||
echo "libc6,libxss1 (>= 1.2.3)"
|
echo "libc6,libxss1 (>= 1.2.3)"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# debian distros
|
# debian distros
|
||||||
|
"buster_linux_client")
|
||||||
|
echo "libc6,libxss1 (>= 1.2.3)"
|
||||||
|
;;
|
||||||
"bullseye_linux_client")
|
"bullseye_linux_client")
|
||||||
echo "libc6,libxss1 (>= 1.2.3)"
|
echo "libc6,libxss1 (>= 1.2.3)"
|
||||||
;;
|
;;
|
||||||
"buster_linux_client")
|
"bookworm_linux_client")
|
||||||
echo "libc6,libxss1 (>= 1.2.3)"
|
echo "libc6,libxss1 (>= 1.2.3)"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
|
@ -130,7 +130,7 @@ jobs:
|
||||||
needs: prepare-binaries
|
needs: prepare-binaries
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [jammy, focal, bullseye, buster]
|
os: [focal, jammy, buster, bullseye, bookworm]
|
||||||
type: [client, manager]
|
type: [client, manager]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
env:
|
env:
|
||||||
|
@ -204,14 +204,14 @@ jobs:
|
||||||
echo "------------------------"
|
echo "------------------------"
|
||||||
|
|
||||||
- name: Create Ubuntu Package
|
- name: Create Ubuntu Package
|
||||||
if: ${{ success() && ( matrix.os == 'jammy' || matrix.os == 'focal') }}
|
if: ${{ success() && ( matrix.os == 'focal' || matrix.os == 'jammy' ) }}
|
||||||
run: |
|
run: |
|
||||||
cd ${{ github.workspace }}/
|
cd ${{ github.workspace }}/
|
||||||
# Build the actual package for Ubuntu with XZ compression
|
# Build the actual package for Ubuntu with XZ compression
|
||||||
dpkg-deb -Zxz --build "${{ github.workspace }}/${PKG_FULL}"
|
dpkg-deb -Zxz --build "${{ github.workspace }}/${PKG_FULL}"
|
||||||
|
|
||||||
- name: Create Debian Package
|
- name: Create Debian Package
|
||||||
if: ${{ success() && ( matrix.os == 'bullseye' || matrix.os == 'buster') }}
|
if: ${{ success() && ( matrix.os == 'buster' || matrix.os == 'bullseye' || matrix.os == 'bookworm' ) }}
|
||||||
run: |
|
run: |
|
||||||
cd ${{ github.workspace }}/
|
cd ${{ github.workspace }}/
|
||||||
# Build the actual package for Debian with GZIP compression
|
# Build the actual package for Debian with GZIP compression
|
||||||
|
@ -238,7 +238,7 @@ jobs:
|
||||||
needs: prepare-binaries
|
needs: prepare-binaries
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [fc38, fc37, suse15_5, suse15_4]
|
os: [fc37, fc38, fc39, suse15_4, suse15_5]
|
||||||
type: [client, manager]
|
type: [client, manager]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
env:
|
env:
|
||||||
|
@ -417,7 +417,7 @@ jobs:
|
||||||
needs: build-deb-package
|
needs: build-deb-package
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [bullseye, buster]
|
os: [buster, bullseye, bookworm]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -462,7 +462,7 @@ jobs:
|
||||||
needs: build-deb-package
|
needs: build-deb-package
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [jammy, focal]
|
os: [focal, jammy]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -507,7 +507,7 @@ jobs:
|
||||||
needs: build-rpm-package
|
needs: build-rpm-package
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [37, 38]
|
os: [37, 38, 39]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -519,27 +519,17 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
dnf install -y python3
|
dnf install -y python3
|
||||||
|
|
||||||
- name: Get OS name
|
|
||||||
if: success()
|
|
||||||
run: |
|
|
||||||
if [[ "${{ matrix.os }}" == "37" ]]; then
|
|
||||||
OS="fc37"
|
|
||||||
elif [[ "${{ matrix.os }}" == "38" ]]; then
|
|
||||||
OS="fc38"
|
|
||||||
fi
|
|
||||||
echo "OS=${OS}" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Download client
|
- name: Download client
|
||||||
if: success()
|
if: success()
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: linux-package_client_${{ env.OS }}_${{ github.event.pull_request.head.sha }}
|
name: linux-package_client_fc${{ matrix.OS }}_${{ github.event.pull_request.head.sha }}
|
||||||
|
|
||||||
- name: Download manager
|
- name: Download manager
|
||||||
if: success()
|
if: success()
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: linux-package_manager_${{ env.OS }}_${{ github.event.pull_request.head.sha }}
|
name: linux-package_manager_fc${{ matrix.OS }}_${{ github.event.pull_request.head.sha }}
|
||||||
|
|
||||||
- name: Install client and manager
|
- name: Install client and manager
|
||||||
if: success()
|
if: success()
|
||||||
|
@ -612,7 +602,7 @@ jobs:
|
||||||
needs: [test-debian-deb-package, test-ubuntu-deb-package]
|
needs: [test-debian-deb-package, test-ubuntu-deb-package]
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [jammy, focal, bullseye, buster]
|
os: [focal, jammy, buster, bullseye, bookworm]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- name: Check if build is running from origin repo
|
- name: Check if build is running from origin repo
|
||||||
|
@ -705,7 +695,7 @@ jobs:
|
||||||
needs: [test-fedora-rpm-package, test-opensuse-rpm-package]
|
needs: [test-fedora-rpm-package, test-opensuse-rpm-package]
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [fc38, fc37, suse15_5, suse15_4]
|
os: [fc37, fc38, fc39, suse15_4, suse15_5]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
env:
|
env:
|
||||||
ARCH: x86_64
|
ARCH: x86_64
|
||||||
|
|
|
@ -19,17 +19,6 @@
|
||||||
|
|
||||||
case "$1_$2" in
|
case "$1_$2" in
|
||||||
# fedora variants
|
# fedora variants
|
||||||
"fc38_linux_client")
|
|
||||||
echo """/etc/boinc-client/*
|
|
||||||
/etc/default/*
|
|
||||||
/etc/init.d/*
|
|
||||||
/etc/bash_completion.d/*
|
|
||||||
/var/lib/*
|
|
||||||
/usr/lib/systemd/system/*
|
|
||||||
/usr/bin/*
|
|
||||||
/usr/lib/*
|
|
||||||
"""
|
|
||||||
;;
|
|
||||||
"fc37_linux_client")
|
"fc37_linux_client")
|
||||||
echo """/etc/boinc-client/*
|
echo """/etc/boinc-client/*
|
||||||
/etc/default/*
|
/etc/default/*
|
||||||
|
@ -41,26 +30,7 @@ case "$1_$2" in
|
||||||
/usr/lib/*
|
/usr/lib/*
|
||||||
"""
|
"""
|
||||||
;;
|
;;
|
||||||
|
"fc38_linux_client")
|
||||||
"fc38_linux_manager")
|
|
||||||
echo """/usr/bin/*
|
|
||||||
/usr/share/applications/*
|
|
||||||
/usr/share/boinc-manager/*
|
|
||||||
/usr/share/locale/boinc/*
|
|
||||||
/usr/share/icons/boinc
|
|
||||||
"""
|
|
||||||
;;
|
|
||||||
"fc37_linux_manager")
|
|
||||||
echo """/usr/bin/*
|
|
||||||
/usr/share/applications/*
|
|
||||||
/usr/share/boinc-manager/*
|
|
||||||
/usr/share/locale/boinc/*
|
|
||||||
/usr/share/icons/boinc
|
|
||||||
"""
|
|
||||||
;;
|
|
||||||
|
|
||||||
# suse variants
|
|
||||||
"suse15_5_linux_client")
|
|
||||||
echo """/etc/boinc-client/*
|
echo """/etc/boinc-client/*
|
||||||
/etc/default/*
|
/etc/default/*
|
||||||
/etc/init.d/*
|
/etc/init.d/*
|
||||||
|
@ -71,6 +41,44 @@ case "$1_$2" in
|
||||||
/usr/lib/*
|
/usr/lib/*
|
||||||
"""
|
"""
|
||||||
;;
|
;;
|
||||||
|
"fc39_linux_client")
|
||||||
|
echo """/etc/boinc-client/*
|
||||||
|
/etc/default/*
|
||||||
|
/etc/init.d/*
|
||||||
|
/etc/bash_completion.d/*
|
||||||
|
/var/lib/*
|
||||||
|
/usr/lib/systemd/system/*
|
||||||
|
/usr/bin/*
|
||||||
|
/usr/lib/*
|
||||||
|
"""
|
||||||
|
;;
|
||||||
|
|
||||||
|
"fc37_linux_manager")
|
||||||
|
echo """/usr/bin/*
|
||||||
|
/usr/share/applications/*
|
||||||
|
/usr/share/boinc-manager/*
|
||||||
|
/usr/share/locale/boinc/*
|
||||||
|
/usr/share/icons/boinc
|
||||||
|
"""
|
||||||
|
;;
|
||||||
|
"fc38_linux_manager")
|
||||||
|
echo """/usr/bin/*
|
||||||
|
/usr/share/applications/*
|
||||||
|
/usr/share/boinc-manager/*
|
||||||
|
/usr/share/locale/boinc/*
|
||||||
|
/usr/share/icons/boinc
|
||||||
|
"""
|
||||||
|
;;
|
||||||
|
"fc39_linux_manager")
|
||||||
|
echo """/usr/bin/*
|
||||||
|
/usr/share/applications/*
|
||||||
|
/usr/share/boinc-manager/*
|
||||||
|
/usr/share/locale/boinc/*
|
||||||
|
/usr/share/icons/boinc
|
||||||
|
"""
|
||||||
|
;;
|
||||||
|
|
||||||
|
# suse variants
|
||||||
"suse15_4_linux_client")
|
"suse15_4_linux_client")
|
||||||
echo """/etc/boinc-client/*
|
echo """/etc/boinc-client/*
|
||||||
/etc/default/*
|
/etc/default/*
|
||||||
|
@ -80,6 +88,17 @@ case "$1_$2" in
|
||||||
/usr/lib/systemd/system/*
|
/usr/lib/systemd/system/*
|
||||||
/usr/bin/*
|
/usr/bin/*
|
||||||
/usr/lib/*
|
/usr/lib/*
|
||||||
|
"""
|
||||||
|
;;
|
||||||
|
"suse15_5_linux_client")
|
||||||
|
echo """/etc/boinc-client/*
|
||||||
|
/etc/default/*
|
||||||
|
/etc/init.d/*
|
||||||
|
/etc/bash_completion.d/*
|
||||||
|
/var/lib/*
|
||||||
|
/usr/lib/systemd/system/*
|
||||||
|
/usr/bin/*
|
||||||
|
/usr/lib/*
|
||||||
"""
|
"""
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue