Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UBUNTU: [Packaging] FTBFS with different dkms or when makeflags are set
BugLink: https://bugs.launchpad.net/bugs/2015361 dkms upstream, debian, lunar-proposed is changing return code for skip from 9 to 77. To support either editions of the dkms, update build_dkms invocation to support either return codes. lunar kernel started to export MAKEFLAGS to speed up and optimize our packaging builds. However, this can cause build_dkms to FTBFS if a given dkms module uses submake and relies on built-in Make variables to be set. Address this by unsetting MAKEFLAGS when invoking build-dkms. Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com> Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
- Loading branch information