mirror of
https://git.proxmox.com/git/debcargo-conf
synced 2025-08-06 17:40:03 +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
|
if shouldbuild dpkg-dummy/status /var/cache/apt/pkgcache.bin; then
|
||||||
# pretend dpkg status file that marks all packages as installed
|
# pretend dpkg status file that marks all packages as installed
|
||||||
# this is because dpkg-checkbuilddeps only works on installed pkgs
|
# 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
|
sed -e 's/Package: .*/\0\nStatus: install ok installed/g' > dpkg-dummy/status
|
||||||
fi
|
fi
|
||||||
( cd "$PKGNAME" && dpkg-checkbuilddeps --admindir=../dpkg-dummy )
|
( cd "$PKGNAME" && dpkg-checkbuilddeps --admindir=../dpkg-dummy )
|
||||||
|
Loading…
Reference in New Issue
Block a user