[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1063804: FTBFS: depmod: FATAL: could not search modules: No such file or directory



Control: reassign -1 kmod

On Mon, Feb 12, 2024 at 10:37:46PM +0100, Marco d'Itri wrote:
> On Feb 12, Salvatore Bonaccorso <carnil@debian.org> wrote:
> > --with-module-directory=/usr/lib/modules
> I can revert it if it causes too much trouble, but maybe this is just 
> the right time to switch the kernel packages to /usr/lib/modules/ as well?

We can't change this on our own.  The usage of $BASE/lib/modules is
baked in pretty deep into the kernel build.

| MODLIB  = $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
and
| depmod -b "$INSTALL_MOD_PATH"

depmod need to learn to work with MODLIB to even be able to change this
value.

The main linux build does not break, because we skip depmod during
build.  But any other, including manual linux builds, will break.

Bastian

-- 
Only a fool fights in a burning house.
		-- Kank the Klingon, "Day of the Dove", stardate unknown


Reply to: