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

Re: compilare kernel debian



paolo ha scritto:
# vi /etc/kernel-img.conf:
ed ho aggiunto le seguenti righe:

  postinst_hook = /sbin/update-grub
  postrm_hook = /sbin/update-grub
  do_bootloader = no
  do_initrd = Yes


"do_initrd=Yes" serve per dire a make-kpkg di creare sempre l'initrd? In sostanza: avendo tale opzione a Yes implica che, anche non passando --initrd in fase di compilazione, il file di initrd viene comunque creato?

no

$ man /etc/kernel-img.conf

do_initrd
  Set  to YES to prevent the kernel-image post installation script
  from issueing a warning when installing an initrd  kernel.  This
  assumes you have correctly set up your boot loader to be able to
  boot the initrd image. Default: no. This is deprecated in favour
  of the more descriptive warn_initrd option (please note that the
  sense of the option is inverted).

tra l'altro è deprecata, quindi ora cambio e metto il warn_initrd ...

Ciao
Davide

--
Linux User: 302090: http://counter.li.org
Prodotti consigliati:
Sistema operativo: Debian: http://www.it.debian.org
Strumenti per l'ufficio: OpenOffice.org: http://it.openoffice.org
Database: PostgreSQL: http://www.postgres.org
Browser: FireFox: http://texturizer.net/firefox
Client di posta: Thunderbird: http://texturizer.net/thunderbird
Enciclopedia: wikipedia: http://it.wikipedia.org
--
Non autorizzo la memorizzazione del mio indirizzo di posta a chi usa
outlook: non voglio essere invaso da spam



Reply to: