Changeset 30542


Ignore:
Timestamp:
2012-02-14T21:11:28+01:00 (6 years ago)
Author:
blogic
Message:

[kernel] add missing autoload shortcut to crypto modules for btrfs

Currently the btrfs module (and other fs modules) is loaded before other modules to provide early extroot compatibility. This will fail for btrfs however, because the dependencies crypto-core and crypto-hash are missing. This patch makes them available for early loading too.

Signed-off-by: Jan Willies <jan@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/crypto.mk

    r29985 r30542  
    3030        $(foreach mod,$(CRYPTO_MODULES),$(call crypto_confvar,$(mod))) 
    3131  FILES:=$(foreach mod,$(CRYPTO_MODULES),$(call crypto_file,$(mod))) 
    32   AUTOLOAD:=$(call AutoLoad,01,$(foreach mod,$(CRYPTO_MODULES),$(call crypto_name,$(mod)))) 
     32  AUTOLOAD:=$(call AutoLoad,01,$(foreach mod,$(CRYPTO_MODULES),$(call crypto_name,$(mod))),1) 
    3333endef 
    3434$(eval $(call KernelPackage,crypto-core)) 
     
    4444  KCONFIG:=CONFIG_CRYPTO_HASH2 
    4545  FILES:=$(LINUX_DIR)/crypto/crypto_hash.ko 
    46   AUTOLOAD:=$(call AutoLoad,02,crypto_hash) 
     46  AUTOLOAD:=$(call AutoLoad,02,crypto_hash,1) 
    4747  $(call AddDepends/crypto) 
    4848endef 
Note: See TracChangeset for help on using the changeset viewer.