mirror of
https://git.proxmox.com/git/debcargo-conf
synced 2025-04-28 13:24:24 +00:00
When checking build-deps, use packages from unstable
This commit is contained in:
parent
d7cd8cfd40
commit
60864af1c5
2
build.sh
2
build.sh
@ -55,7 +55,7 @@ check_build_deps() {
|
||||
if shouldbuild dpkg-dummy/status /var/cache/apt/pkgcache.bin; then
|
||||
# pretend dpkg status file that marks all packages as installed
|
||||
# this is because dpkg-checkbuilddeps only works on installed pkgs
|
||||
apt-cache dumpavail | \
|
||||
apt-cache dumpavail -o APT::Default-Release=unstable | \
|
||||
sed -e 's/Package: .*/\0\nStatus: install ok installed/g' > dpkg-dummy/status
|
||||
fi
|
||||
( cd "$PKGNAME" && dpkg-checkbuilddeps --admindir=../dpkg-dummy )
|
||||
|
Loading…
Reference in New Issue
Block a user