git clone -b current --single-branch https://github.com/vyos/vyos-build
docker pull vyos/vyos-build:current
#vyos-build/scripts/package-build/linux-kernel/arch/x86/configs/vyos_defconfig for DAE
CONFIG_KPROBES=y
CONFIG_BPF_STREAM_PARSER=y
#CONFIG_DEBUG_INFO_NONE=y
CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_INFO_BTF=y
CONFIG_DEBUG_INFO_DWARF5=y
cd ~/vyos-build/ && docker run -it --name vyosbuild --privileged -v $(pwd):/vyos -w /vyos vyos/vyos-build:current bash
cd scripts/package-build/linux-kernel
./build.py
cd /vyos/packages && ln -s ../scripts/package-build/linux-kernel/*.deb ./
cd /vyos && ./build-vyos-image generic --architecture amd64 --build-by "huzheyi"