Last active
November 30, 2023 17:05
-
-
Save robertoschwald/eefce1330e3d730580dc29625472d6be to your computer and use it in GitHub Desktop.
Revisions
-
robertoschwald revised this gist
Nov 30, 2023 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Build Bareos Debian Packages, e.g. for Raspberry PI OS / arm64 BAREOS_BUILD_VERSION=23.0.0-pre BAREOS_BUILD_DATE=`date --rfc-email` -
robertoschwald revised this gist
Nov 30, 2023 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ # Build Bareos Debian Packages, e.g. for RaspberryOS / arm64 BAREOS_BUILD_VERSION=23.0.0-pre BAREOS_BUILD_DATE=`date --rfc-email` -
robertoschwald created this gist
Nov 30, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,34 @@ BAREOS_BUILD_VERSION=23.0.0-pre BAREOS_BUILD_DATE=`date --rfc-email` git clone https://github.com/bareos/bareos.git git checkout tags/WIP/${BAREOS_BUILD_VERSION} sudo apt install dpkg-dev fakeroot dch sudo apt build-dep ./bareos cd bareos # just compile # mkdir build # cd build # cmake -Dclient-only=yes -Dconfdir=/etc/bareos ../ # make # Only on initial build cat <<EOF > debian/changelog bareos (${BAREOS_BUILD_VERSION}) unstable; urgency=low * Initial package for ${BAREOS_BUILD_VERSION} release -- pi <[email protected]> ${BAREOS_BUILD_DATE} EOF # on subsequent builds, we increment the version in the changelog file and edit. dch -i # Build the bareos packages fakeroot debian/rules clean fakeroot debian/rules binary # Alternatively # dpkg-buildpackage --no-sign -b