Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding of 0.3.0 package changes, control file updates, postinst chang… #613

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
839 changes: 629 additions & 210 deletions .github/workflows/packager.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packaging/templates/package_scripts/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: bor
Version: 0.3.0
Version: 0.3.1
Section: develop
Priority: standard
Maintainer: Polygon <release-team@polygon.technology>
Expand Down
2 changes: 1 addition & 1 deletion packaging/templates/package_scripts/control.arm64
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: bor
Version: 0.3.0
Version: 0.3.1
Section: develop
Priority: standard
Maintainer: Polygon <release-team@polygon.technology>
Expand Down
2 changes: 1 addition & 1 deletion packaging/templates/package_scripts/control.profile.amd64
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: bor-profile
Version: 0.3.0
Version: 0.3.1
Section: develop
Priority: standard
Maintainer: Polygon <release-team@polygon.technology>
Expand Down
2 changes: 1 addition & 1 deletion packaging/templates/package_scripts/control.profile.arm64
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: bor-profile
Version: 0.3.0
Version: 0.3.1
Section: develop
Priority: standard
Maintainer: Polygon <release-team@polygon.technology>
Expand Down
2 changes: 1 addition & 1 deletion packaging/templates/package_scripts/control.validator
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: bor-profile
Version: 0.3.0
Version: 0.3.1
Section: develop
Priority: standard
Maintainer: Polygon <release-team@polygon.technology>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: bor-profile
Version: 0.3.0
Version: 0.3.1
Section: develop
Priority: standard
Maintainer: Polygon <release-team@polygon.technology>
Expand Down
9 changes: 7 additions & 2 deletions packaging/templates/package_scripts/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
# This is a postinstallation script so the service can be configured and started when requested
#
sudo adduser --disabled-password --disabled-login --shell /usr/sbin/nologin --quiet --system --no-create-home --home /nonexistent bor
sudo mkdir -p /var/lib/bor
sudo chown -R bor /var/lib/bor
if [ -d "/var/lib/bor" ]
then
echo "Directory /var/lib/bor exists."
else
mkdir -p /var/lib/bor
sudo chown -R bor /var/lib/bor
fi
sudo systemctl daemon-reload
9 changes: 7 additions & 2 deletions packaging/templates/package_scripts/postinst.profile
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/bin/bash
# This is a postinstallation script so the service can be configured and started when requested
#
sudo mkdir -p /var/lib/bor
sudo chown -R bor /var/lib/bor
if [ -d "/var/lib/bor" ]
then
echo "Directory /var/lib/bor exists."
else
mkdir -p /var/lib/bor
sudo chown -R bor /var/lib/bor
fi
sudo systemctl daemon-reload