fix(packaging): make .deb install and upgrade actually work end-to-end
- Generate internal CA + CA-signed web TLS cert in postinst (port 443 was falling back to plain HTTP because no cert files existed) - Repair stale sqlx migration checksums for upgrades from <= 1.1.7 - Restore health check as advisory only (never fails the install) - Use runuser instead of sudo (sudo is not guaranteed on minimal images) - Replace predictable /tmp password file with mktemp under /run - Frontend assets root-owned read-only (security) - Drop Pre-Depends: postgresql-16 (misuse); drop argon2 dep (unused) - Add openssl, curl, cron, util-linux as proper dependencies
This commit is contained in:
@ -22,7 +22,7 @@ warn() { echo -e "${YELLOW}[WARN]${NC} $*"; }
|
||||
error() { echo -e "${RED}[ERROR]${NC} $*" >&2; exit 1; }
|
||||
|
||||
PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
VERSION="1.1.12"
|
||||
VERSION="1.1.13"
|
||||
RELEASE="1"
|
||||
PKG_NAME="linux-patch-manager"
|
||||
DEB_NAME="${PKG_NAME}_${VERSION}-${RELEASE}_amd64.deb"
|
||||
|
||||
Reference in New Issue
Block a user