Some of our people are running afoul of:
install-modules: modules
$(MAKE) -C $(KLIB_BUILD) M=$(PWD) $(KMODDIR_ARG) $(KMODPATH_ARG) \
modules_install
@./scripts/update-initramfs
in the compat-wireless/Makefile on Ubuntu.
If they are cross-compiling, this tries to diddle their local system.
What would be a robust sanity check to inhibit this action in those cases?
Thanks,
-Philip