Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[howto] funtoo.org, portage i git
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
rofro
Apprentice
Apprentice


Joined: 21 Jun 2004
Posts: 234
Location: Piaseczno, Poland

PostPosted: Fri Jan 09, 2009 9:17 pm    Post subject: [howto] funtoo.org, portage i git Reply with quote

jeśli ktoś zamierza spróbować funtoo.org to na początek może małe how-to jak użyć portage przez git.

Portage musi być w wersji >=2.2_rc20 aby operowało z pełną prędkością na repozytorium git.

następnie
Code:
mv /usr/portage /usr/portage.bak
wget -c http://www.funtoo.org/linux/snapshots/funtoo-2009.01.08.tar.bz2
tar -xf funtoo-2009.01.08.tar.bz2 -C /usr/
cd /usr/portage
git checkout gentoo.org
emerge --sync

Jak zobaczymy
Code:
>>> Starting git pull in /usr/portage...

znaczy że emerge --sync używa git.

http://www.funtoo.org/en/articles/funtoo/quick-install-howto/
http://wiki.github.com/funtoo/portage/first-steps
http://www.funtoo.org/en/articles/funtoo/quick-install-howto/
_________________
Linux #358594
gentoo bug comment 175808#c26
You either must have patience or contribute to open source. There is only one guaranteed way to have open source do what you want it to do, and that's write it yourself.


Last edited by rofro on Wed Jan 14, 2009 9:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Fri Jan 09, 2009 11:35 pm    Post subject: Reply with quote

Stage z funtoo mozna uzywac bez pobierania drzewa portage z funtoo, generalnie jak funtoo traktuje jako zaktualizowane stage, tyle.
Back to top
View user's profile Send private message
n0rbi666
l33t
l33t


Joined: 04 Mar 2005
Posts: 707
Location: \Poland\Krakow

PostPosted: Fri Jan 09, 2009 11:37 pm    Post subject: Re: [how to] funtoo.org, portage i git Reply with quote

Code:
git checkout gentoo.org

Nie powinno być przypadkiem
Code:
git checkout funtoo.org

Jakieś duże zmiany w stosunku do normalnego gentoo ?
Back to top
View user's profile Send private message
rofro
Apprentice
Apprentice


Joined: 21 Jun 2004
Posts: 234
Location: Piaseczno, Poland

PostPosted: Sat Jan 10, 2009 7:23 am    Post subject: Reply with quote

Stage3 funtoo.org zawiera już portage oparte na git. Ten how-to jest raczej dla tych co mają stage3 z gentoo.org.

dlatego też checkout gentoo.org, żeby pozostać na starym portage ale używać nowszej technologii. Powinno być szybciej, bo git ściąga tylko zmiany a nie całe pliki. Następnym how-to może być i stage3 funtoo.org.
_________________
Linux #358594
gentoo bug comment 175808#c26
You either must have patience or contribute to open source. There is only one guaranteed way to have open source do what you want it to do, and that's write it yourself.
Back to top
View user's profile Send private message
n0rbi666
l33t
l33t


Joined: 04 Mar 2005
Posts: 707
Location: \Poland\Krakow

PostPosted: Sat Jan 10, 2009 12:24 pm    Post subject: Reply with quote

Mhm, czyli dzięki temu how-to korzystamy z portage opartego na git, ale dalej korzystamy z drzewa gentoo ? Może być ciekawe :)
A dużo jest różnic w drzewie gentoo i funtoo ?
Back to top
View user's profile Send private message
mziab
l33t
l33t


Joined: 01 Oct 2004
Posts: 644

PostPosted: Sat Jan 10, 2009 1:40 pm    Post subject: Reply with quote

Tyle, że gałąź gentoo.org jest trochę do tyłu w stosunku do mirrorów rsync. Ciekawe jak często oni to synchronizują z głównym drzewem.
_________________
Gentoo Linux 13.0 | 3.19 | glibc 2.19 | gcc 4.9.2

mteam | mziab's blog | roslin
Back to top
View user's profile Send private message
rofro
Apprentice
Apprentice


Joined: 21 Jun 2004
Posts: 234
Location: Piaseczno, Poland

PostPosted: Sat Jan 10, 2009 2:38 pm    Post subject: Reply with quote

Tutaj http://funtoo.org/linux/snapshots/ są pliki funtoo*.bz2 oraz portage*.bz2. Ostatni portage jest z 2008-01-09 czyli raczej nowy.

a co do zalet to powinien się szybciej wykonywać --sync ponieważ git ściąga bloby.

dodatkowo można łatwo stworzyć sobie gałąź dla własnych ebuildów. A w drzewie funtoO jest od razu sunrise
_________________
Linux #358594
gentoo bug comment 175808#c26
You either must have patience or contribute to open source. There is only one guaranteed way to have open source do what you want it to do, and that's write it yourself.
Back to top
View user's profile Send private message
mziab
l33t
l33t


Joined: 01 Oct 2004
Posts: 644

PostPosted: Sat Jan 10, 2009 2:49 pm    Post subject: Reply with quote

Dziwne, bo widzę m.in. stare sdlmame, openssl i xine, a nowe wersje są w portage już od paru dni.
_________________
Gentoo Linux 13.0 | 3.19 | glibc 2.19 | gcc 4.9.2

mteam | mziab's blog | roslin
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Sat Jan 10, 2009 3:26 pm    Post subject: Reply with quote

Przy drzewie z funtoo (git) nie uzywamy emerge --sync a w kataogu /usr/portage wpisujemy git pull.
Back to top
View user's profile Send private message
mziab
l33t
l33t


Joined: 01 Oct 2004
Posts: 644

PostPosted: Sat Jan 10, 2009 4:43 pm    Post subject: Reply with quote

SlashBeast wrote:
Przy drzewie z funtoo (git) nie uzywamy emerge --sync a w kataogu /usr/portage wpisujemy git pull.

Od portage-2.2_rc20 można i emerge --sync:
blog.funtoo.org wrote:
“emerge --sync” will now properly recognize an existing git-based Portage repository.

_________________
Gentoo Linux 13.0 | 3.19 | glibc 2.19 | gcc 4.9.2

mteam | mziab's blog | roslin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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