Re: /etc/module content in initrd

Erich Titl <[email protected]>
Newsgroups gmane.linux.leaf.devel
Message-ID <[email protected]>
Sorry incomplete paste



Am 16.12.2015 um 16:03 schrieb Erich Titl:
> Hi Folks
> 
> I believe this is inherently wrong
> 

 mkdir -p $(PPTP_TARGET_DIR)/etc/modules.d
cp -aL accel-pptp.modules $(PPTP_TARGET_DIR)/etc/modules.d/accel-pptp
./accel-pptp/buildtool.mk
mkdir -p $(ISCSI_TARGET_DIR)/etc/modules.d
cp -aL iscsid.modules $(ISCSI_TARGET_DIR)/etc/modules.d
./iscsi/buildtool.mk
echo $(ESCKEY) "isofs\nvfat" > $(INITRD_TARGET_DIR)/boot/etc/modules
echo $(ESCKEY) "ext4" >> $(INITRD_TARGET_DIR)/boot/etc/modules
./initrd/buildtool.mk

> 
> This gets those modules loaded even if there is no iscsi used to access
> storage at boot.

Above copies even more modules to boot/etc/modules. This is most
certainly not a universal necessity.

cheers

ET

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.