bootloader: do not try to autoload NetBSD modules
The NetBSD bootloader attempts to load NetBSD kernel modules for "unusual" file systems. We do not support NetBSD kernel modules, and thus, the bootloader gives us warnings about not being able to load them, in particular when booting CD images. This patch disables the NetBSD file system module autoload feature. Change-Id: I55fce53b4bb0282b7d8a005192200fe466312f62
This commit is contained in:
parent
4f5713cc0a
commit
1d80a87694
@ -303,9 +303,11 @@ common_load_kernel(const char *file, u_long *basemem, u_long *extmem,
|
||||
|
||||
close(fd);
|
||||
|
||||
#if !defined(__minix) /* this just gives us a cd9660-not-found warning.. */
|
||||
/* If the root fs type is unusual, load its module. */
|
||||
if (fsmod != NULL)
|
||||
module_add_common(fsmod, BM_TYPE_KMOD);
|
||||
#endif /* !defined(__minix) */
|
||||
|
||||
/*
|
||||
* Gather some information for the kernel. Do this after the
|
||||
|
Loading…
x
Reference in New Issue
Block a user