mirror of
https://github.com/TheGrandWazoo/freenas-proxmox.git
synced 2026-10-21 03:07:14 +02:00
fix: add Debian changelog to both packages (#273)
Adds packaging/changelog.Debian and packaging/DEBIAN-transitional/changelog.Debian and wires them into the build staging steps. The gzipped changelog lands at /usr/share/doc/truenas-proxmox/changelog.Debian.gz and /usr/share/doc/freenas-proxmox/changelog.Debian.gz respectively, satisfying Debian policy §12.7 and silencing the 'apt changelog' failure. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
19a3ec2edd
commit
1c98591ed4
@@ -169,6 +169,11 @@ jobs:
|
||||
cp ui/truenas-storage.js "${STAGING}/usr/share/truenas-proxmox/truenas-storage.js"
|
||||
cp ui/truenas-storage-help.html "${STAGING}/usr/share/truenas-proxmox/truenas-storage-help.html"
|
||||
|
||||
# Debian changelog (required by Debian policy §12.7)
|
||||
mkdir -p "${STAGING}/usr/share/doc/truenas-proxmox"
|
||||
gzip -9c packaging/changelog.Debian \
|
||||
> "${STAGING}/usr/share/doc/truenas-proxmox/changelog.Debian.gz"
|
||||
|
||||
echo "==> Package contents:"
|
||||
find "${STAGING}" | sort
|
||||
|
||||
@@ -185,6 +190,11 @@ jobs:
|
||||
cp packaging/DEBIAN-transitional/postinst "${STAGING}/DEBIAN/postinst"
|
||||
chmod 0755 "${STAGING}/DEBIAN/postinst"
|
||||
|
||||
# Debian changelog
|
||||
mkdir -p "${STAGING}/usr/share/doc/freenas-proxmox"
|
||||
gzip -9c packaging/DEBIAN-transitional/changelog.Debian \
|
||||
> "${STAGING}/usr/share/doc/freenas-proxmox/changelog.Debian.gz"
|
||||
|
||||
echo "==> Transitional package contents:"
|
||||
find "${STAGING}" | sort
|
||||
|
||||
|
||||
Reference in New Issue
Block a user