apt-get install git debhelper build-essential dh-python dh-systemd sphinx-common lintian
apt-get install asciidoc-base bison flex libdw-dev libelf-dev libiberty-dev libnuma-dev libslang2-dev libssl-dev lz4 xmlto zlib1g-dev
cd /usr/src
git clone git://git.proxmox.com/git/pve-kernel.git
cd pve-kernel
git branch -a
# choose a branch
git checkout pve-kernel-5.3
# try to place the patch in the correct place.
wget
https://gist.githubusercontent.com/...3d0553bb246b5bc327d67abb/fix-vega-reset.patch -O patches/kernel/0007-fix-vega-reset.patch
make
# will download related kernel sources.