Disable MODULE_SIG for architectures not supported by linux-signed

This commit is contained in:
Ben Hutchings 2016-06-06 18:12:47 +01:00
parent 3df161c94f
commit cab1f743c8
3 changed files with 7 additions and 2 deletions

View File

@ -442,8 +442,11 @@ class Gencontrol(Base):
kconfig.extend(check_config("%s/%s/config" % (arch, featureset), False, arch, featureset))
kconfig.extend(check_config("%s/%s/config.%s" % (arch, featureset, flavour), False, arch, featureset, flavour))
makeflags['KCONFIG'] = ' '.join(kconfig)
makeflags['KCONFIG_OPTIONS'] = ''
if build_debug:
makeflags['KCONFIG_OPTIONS'] = '-o DEBUG_INFO=y'
makeflags['KCONFIG_OPTIONS'] += ' -o DEBUG_INFO=y'
if config_entry_build.get('signed-modules'):
makeflags['KCONFIG_OPTIONS'] += ' -o MODULE_SIG=y'
cmds_binary_arch = ["$(MAKE) -f debian/rules.real binary-arch-flavour %s" % makeflags]
if packages_dummy:

1
debian/changelog vendored
View File

@ -31,6 +31,7 @@ linux (4.6.1-1~exp1) UNRELEASED; urgency=medium
* debian/control: Drop obsolete versioned Depends and Breaks
* linux-libc-dev: Drop obsolete Replaces/Conflicts with linux-kernel-headers
* debian/control: Update policy version to 3.9.8; no changes required
* Disable MODULE_SIG for architectures not supported by linux-signed
-- Ben Hutchings <ben@decadent.org.uk> Sat, 04 Jun 2016 18:33:11 +0100

View File

@ -5575,7 +5575,8 @@ CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_MODVERSIONS=y
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_MODULE_SIG=y
#. This is overridden if the [build]signed-modules setting is enabled
# CONFIG_MODULE_SIG is not set
#. Signature validation is a run-time option
# CONFIG_MODULE_SIG_FORCE is not set
#. Signatures are added in linux-signed