Skip to content

Commit

Permalink
Use olddefconfig for configuring kernel
Browse files Browse the repository at this point in the history
This change updates the build script to use olddefconfig to use the old
.config file in the directory and use default values for unspecified
configuration options.

Fixes fabianishere#335
  • Loading branch information
fabianishere committed Nov 3, 2022
1 parent e56e969 commit a3db7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ ${KERNEL_SRC}/.config:
${KERNEL_SRC}/debian.master/config/${DEB_BUILD_ARCH}/config.common.${DEB_BUILD_ARCH} \
${KERNEL_SRC}/debian.master/config/${DEB_BUILD_ARCH}/config.flavour.generic \
debian/config/config.pve
${MAKE} -C ${KERNEL_SRC} CC=${PVE_KERNEL_CC} oldconfig
${MAKE} -C ${KERNEL_SRC} CC=${PVE_KERNEL_CC} olddefconfig

debian/${PVE_KERNEL_PKG}.%: debian/templates/pve-kernel.%.in
sed -e 's/@@KVNAME@@/${KVNAME}/g' < debian/templates/pve-kernel.$*.in > debian/${PVE_KERNEL_PKG}.$*
Expand Down

0 comments on commit a3db7c8

Please sign in to comment.