Skip to content
Snippets Groups Projects
Unverified Commit ba3690c9 authored by Alexander Couzens's avatar Alexander Couzens
Browse files

include/kernel: sort autoload modules list to fix reproducible builds


When autoloading more than one modules per packages,
/etc/modules.d/$module depends on the file system ordering.
To test this: use disorderfs on the build_dir and build kmod-sched.

Signed-off-by: default avatarAlexander Couzens <lynxis@fe80.eu>
parent 994428f3
Branches
Tags
1 merge request!8Feeds update
...@@ -243,7 +243,7 @@ $(call KernelPackage/$(1)/config) ...@@ -243,7 +243,7 @@ $(call KernelPackage/$(1)/config)
exit 1; \ exit 1; \
fi; \ fi; \
done; done;
$(call ModuleAutoLoad,$(1),$$(1),$(filter-out 0-,$(word 1,$(AUTOLOAD))-),$(filter-out 0,$(word 2,$(AUTOLOAD))),$(wordlist 3,99,$(AUTOLOAD))) $(call ModuleAutoLoad,$(1),$$(1),$(filter-out 0-,$(word 1,$(AUTOLOAD))-),$(filter-out 0,$(word 2,$(AUTOLOAD))),$(sort $(wordlist 3,99,$(AUTOLOAD))))
$(call KernelPackage/$(1)/install,$$(1)) $(call KernelPackage/$(1)/install,$$(1))
endef endef
$(if $(CONFIG_PACKAGE_kmod-$(1)), $(if $(CONFIG_PACKAGE_kmod-$(1)),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment