Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO][HOWTO]Domanda su gentoo-sources e squashfs
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
hokusbacco
n00b
n00b


Joined: 11 Dec 2004
Posts: 23
Location: Milano

PostPosted: Thu Dec 30, 2004 6:18 pm    Post subject: [RISOLTO][HOWTO]Domanda su gentoo-sources e squashfs Reply with quote

Ciao a tutti,
mi chiedevo come mai la versione "gentoo-sources-2.4.28-r3" supporta lo squashfs versione 1.3 mentre nel tree dei ports la versione piu' bassa e' ls 'squashfs-tools-2.0_p2"?
Come posso fare a ritrovare la versione 1.3 di squashfs, perche' se provo a patchare i suddetti kernel con la 2.0 non sembra funzionare.
_________________
Gentoo on Dell Latitude Cpi 400 Gt
Gentoo on BenQ Joybook 7000


Last edited by hokusbacco on Sat Jan 01, 2005 2:40 pm; edited 3 times in total
Back to top
View user's profile Send private message
hokusbacco
n00b
n00b


Joined: 11 Dec 2004
Posts: 23
Location: Milano

PostPosted: Fri Dec 31, 2004 11:26 am    Post subject: Reply with quote

Finalmente ho risolto,pero' il problema e' che devo fare tutta questa trafila ogni volta che il kernel
uscira',speriamo che nei prossimi mettano la patch per squashfs-2.0, vi posto cmq i miei passi fatti
cosi' potra' servire anche per altri:

1) Scompattare il .bz2 contenente le patch di gentoo-sources
Code:
 
tar xvjpf gentoo-sources-2.4.28-r1.tar.bz2

2) Estrarre la patch da squashfs-tools
Code:
 
ebuild /usr/portage/sys-fs/squashfs-tools/squashfs-tools-2.0_p2.ebuild unpack

3) Copiare la patch squashfa nella directory dove avete scompattato il .bz2 precendente con le altre patch
Code:

 cp /var/tmp/portage/squashfs-tools-2.0_p2/work/squashfs2.0r2/linux-2.4.26/squashfs2.0-patch 03-02.squashfs2.0.patch

4) Ri-tarbizippare tutto
Code:
 
tar cvjpf ~/gentoo-sources-2.4.28-r1.tar.bz2 *

5) riposizionare il .bz2 nella distfiles e cambiare il gruppo del file
Code:
 
 chown root:portage gentoo-sources-2.4.28-r1.tar.bz2

6) Ricreare il digest (in questo cosa ho usato una portdir diversa perche' uso squashfs )
Code:

 ebuild /root/portTemp/sys-kernel/gentoo-sources/gentoo-sources-2.4.28-r3.ebuild digest

7) Emergere il kernel
Code:

 emerge gentoo-sources


e finalmente il kernel gentoo-sources e' patchato con squashfs-tools-2.0
_________________
Gentoo on Dell Latitude Cpi 400 Gt
Gentoo on BenQ Joybook 7000
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum