Bug#406845: [Pbuilder-maint] Bug#406845: pbuilder-uml: allow pbuilder-user-mode-linux to mount /lib/modules on the host

Mattia Dongili malattia at linux.it
Tue Jan 30 23:46:01 CET 2007


On Tue, Jan 30, 2007 at 11:35:00PM +0900, Junichi Uekawa wrote:
> Hi,
> 
> > As rootstrap allows this configuration it would be nice if pbuilder-uml
> > was aware of it too and mount /lib/modules early enough to avoid errors
> > and warnings.
> 
> 
> Thanks for the patch, but is this $kernel_modules variable documented anywhere?

Yes, rootstrap(1):

   [uml]
       Creates /etc/fstab and necessary device nodes, it eventually copies
       kernel  modules  into the target image.  It uses the fstype global
       parameter.

       kernel_modules
	 How  to  deal  with  kernel modules for the guest Linux.  It can be
	 one of none, hostfs or copy, defaults to the latter which copies the
         available modules in the target filesystem.

       kernel_modules_dir
	 The  directory  where kernel_modules are located on the host filesys-
         tem. It defaults to /usr/lib/uml/modules

       install_modules
	 This parameter is  superseeded  by  kernel_modules  and
        kernel_modules_dir.  It accepts a boolean value (true/false).

-- 
mattia
:wq!




More information about the Pbuilder-maint mailing list