Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo offline update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
erm67
l33t
l33t


Joined: 01 Nov 2005
Posts: 653
Location: EU

PostPosted: Tue Apr 17, 2007 5:11 pm    Post subject: gentoo offline update Reply with quote

I have a sparc ultra2 creator3d with 2 296mhz in my second home where there is no internet connection at all, since I am going there I would like to upgrade it offline.
So on my gentoo x86 box I changed my make.profile link to /usr/portage/profiles/default-linux/sparc/sparc64/2007.0 created a /etc/portage/package.keywords replacing ~x86 with ~sparc and finally emerge -f world. Now I am planning to burn on dvd the entire /usr/portage hierarchy (distfiles included), copy it to the sparc and emerge --update --world there.
I would of course only install the same app I have in the world file on my x86 box, and packages required by the sparc profile.
Is my plan going to work?
What about cross-compiling all packages for sparc64? I found this guide http://gentoo-wiki.com/HOWTO_Cross_Compile and http://www.gentoo.org/doc/en/cross-compiling-distcc.xml. Would it be easier to cross compile sparc packages on my x86 box connected to the internet or try to make it download all distfiles I need for my sparc machine and then compile there?
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Wed Apr 18, 2007 10:33 am    Post subject: Reply with quote

This won´t work, since emerge -f world does not fetch all files and patches.
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Wed Apr 18, 2007 11:45 am    Post subject: Reply with quote

As long as you make sure to have everything sparc will need for the update on your dvd, I don't know why it wouldn't work. It's easy enough to try and see what happens in any case.
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Wed Apr 18, 2007 12:17 pm    Post subject: Reply with quote

Ususally I execute emerge -f world before emerge -e world.
In this case, I have made the experience, that emerge -f world didn´t fetch all nessecary files. Sometimes emerge -f world didn´t fetch some patches.
Back to top
View user's profile Send private message
erm67
l33t
l33t


Joined: 01 Nov 2005
Posts: 653
Location: EU

PostPosted: Wed Apr 18, 2007 5:00 pm    Post subject: Reply with quote

I have also ordered a free Solaris 10 dvd, but already solaris 9 was rather slow on that old machine....
I try tomorrow the offline update method, cross-compiling an entire system is more complicated and probably doesn't work anyway.
I am pretty sure something will be missing but the ultra2 has a floppy and maybe I can download small things in an internet cafe, some also offer to burn cd usually at a high price.
Back to top
View user's profile Send private message
erm67
l33t
l33t


Joined: 01 Nov 2005
Posts: 653
Location: EU

PostPosted: Wed Apr 18, 2007 6:19 pm    Post subject: Reply with quote

Keruskerfuerst wrote:
This won´t work, since emerge -f world does not fetch all files and patches.


There is a syntax for SRC_URI to conditionally download based on use flags but not based on the arch I think, so unless there is a sparc use flag it shouldn't happen. Most patches are usually in the files directories directly in the portage tree
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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