Skip to content

Commit

Permalink
Fixed issue with built archive when deploying to the ProGet instance
Browse files Browse the repository at this point in the history
For some reason ProGet requires the first file in a Debian archive to be 
'debian-binary', so I've changed it to do so.

I've also compared the file order to that of packages built with 'dpkg 
-b', and the new order is the same as the one present in those.
  • Loading branch information
hwittenborn committed Jul 30, 2021
1 parent a1189ff commit 0290012
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ _gitdir=$(git rev-parse --show-toplevel)
_foldername=$(basename "${_gitdir}")

pkgname=makedeb
pkgver=5.11.4
pkgver=5.11.5
pkgrel=1
pkgdesc="Create Debian archives from PKGBUILDs (git release)"
arch=('any')
Expand Down
2 changes: 1 addition & 1 deletion src/functions/fakeroot_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fakeroot_build() {
tar -czf data.tar.gz $(find ./ -type f | grep -v '^\./DEBIAN' | grep -v 'control\.tar\.gz')
echo "2.0" > debian-binary

ar r "${package}_${built_deb_version}_${makedeb_arch}.deb" control.tar.gz data.tar.gz debian-binary &> /dev/null
ar r "${package}_${built_deb_version}_${makedeb_arch}.deb" debian-binary control.tar.gz data.tar.gz &> /dev/null

mv "${package}_${built_deb_version}_${makedeb_arch}.deb" ../../
msg2 "Built ${pkgname}."
Expand Down

0 comments on commit 0290012

Please sign in to comment.