Re: problemi di installazione del kernel
Conte Szandor wrote:
make-kpkg --rootcmd fakeroot --append-to-version -2628-1 --initrd binary
modules
$ man make-kpkg
[...]
--rootcmd foo
The command that provides a means of gaining super user access (for
example, `sudo' or `fakeroot') as needed by dpkg-buildpackage's
-r option. This option does not work for three of the targets, namely,
binary, binary-indep, and binary-arch. For those targets the entire
make-kpkg command must be run as (fake)root.
[...]
non conoscevo questa opzione, però, se non ho capito male, nel tuo caso
devi fare
# fakeroot make-kpkg ...
infatti più avanti nel man
[...]
binary This target produces all four Debian kernel packages by running
the targets binary-indep and binary-arch. However, this requires
make-kpkg to be run as root (or fakeroot), since --rootcmd will not work.
[...]
Il comando che uso io è qualcosa del genere:
$ time nice -n 15 fakeroot make-kpkg --initrd kernel_image \
modules_image --append_to_version=-VERSIONE
che effettua solo le compilazioni necessarie ad avere un binario di
Linux installabile con i relativi moduli.
Inoltre viene ritornato il tempo di compilazione e imposto nice in modo
che non mi rallenti per nulla gli altri processi utente in esecuzione.
dpkg: errore processando linux-image-2.6.28-2628-2 (--configure):
ma qui l'errore è su linux-image-2.6.28-2628-2, mentre tu hai detto che
hai compilato la versione -2628-1
Il problema potrebbe essere dovuto al fakeroot.
Ciao
Davide
--
Dizionari: http://linguistico.sourceforge.net/wiki
Elenco di software libero: http://tinyurl.com/eddgj
GNU/Linux User: 302090: http://counter.li.org
Non autorizzo la memorizzazione del mio indirizzo su outlook
Reply to: