mirror of
https://git.proxmox.com/git/proxmox-mailgateway
synced 2025-06-01 19:22:30 +00:00
add test if we have correct kernel on staging
This commit is contained in:
parent
de416bd67f
commit
95dcef8f94
7
Makefile
7
Makefile
@ -11,10 +11,17 @@ KREL=1
|
|||||||
EXTRAVERSION=-${KREL}-pve
|
EXTRAVERSION=-${KREL}-pve
|
||||||
KVNAME=${KERNEL_VER}${EXTRAVERSION}
|
KVNAME=${KERNEL_VER}${EXTRAVERSION}
|
||||||
|
|
||||||
|
ARCH=amd64
|
||||||
|
DIST=stretch
|
||||||
|
STAGING_REPO=/pve/repoman/staging/pmg/dists/${DIST}/pmg-${RELEASE}/binary-${ARCH}/
|
||||||
|
|
||||||
|
KERNEL:=$(shell find ${STAGING_REPO} -name "pve-kernel-${KVNAME}_*deb")
|
||||||
|
|
||||||
all: ${DEB}
|
all: ${DEB}
|
||||||
|
|
||||||
${DEB}: control copyright changelog.Debian postinst postrm proxmox-release-5.x.pubkey
|
${DEB}: control copyright changelog.Debian postinst postrm proxmox-release-5.x.pubkey
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
test -n "${KERNEL}" || false "kernel not found"
|
||||||
mkdir -p build/DEBIAN
|
mkdir -p build/DEBIAN
|
||||||
mkdir -p build/usr/share/doc/${PACKAGE}
|
mkdir -p build/usr/share/doc/${PACKAGE}
|
||||||
mkdir -p build/etc/apt/trusted.gpg.d
|
mkdir -p build/etc/apt/trusted.gpg.d
|
||||||
|
Loading…
Reference in New Issue
Block a user