build: chmod 644 the .deb so apt's _apt user can read it
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
6534284c56
commit
06167a1e6d
@ -104,4 +104,5 @@ chmod 755 "$ROOT/DEBIAN/postrm"
|
|||||||
mkdir -p "$OUT_DIR"
|
mkdir -p "$OUT_DIR"
|
||||||
DEB="$OUT_DIR/${PKG}_${VER}_${ARCH}.deb"
|
DEB="$OUT_DIR/${PKG}_${VER}_${ARCH}.deb"
|
||||||
fakeroot dpkg-deb --build --root-owner-group "$ROOT" "$DEB" >/dev/null
|
fakeroot dpkg-deb --build --root-owner-group "$ROOT" "$DEB" >/dev/null
|
||||||
|
chmod 644 "$DEB"
|
||||||
echo "==> Built: $DEB ($(du -h "$DEB" | cut -f1))"
|
echo "==> Built: $DEB ($(du -h "$DEB" | cut -f1))"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user