View previous topic :: View next topic |
Author |
Message |
rofro Apprentice
Joined: 21 Jun 2004 Posts: 234 Location: Piaseczno, Poland
|
Posted: Fri Jan 09, 2009 9:17 pm Post subject: [howto] funtoo.org, portage i git |
|
|
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 |
|
|
SlashBeast Retired Dev
Joined: 23 May 2006 Posts: 2922
|
Posted: Fri Jan 09, 2009 11:35 pm Post subject: |
|
|
Stage z funtoo mozna uzywac bez pobierania drzewa portage z funtoo, generalnie jak funtoo traktuje jako zaktualizowane stage, tyle. |
|
Back to top |
|
|
n0rbi666 l33t
Joined: 04 Mar 2005 Posts: 707 Location: \Poland\Krakow
|
Posted: Fri Jan 09, 2009 11:37 pm Post subject: Re: [how to] funtoo.org, portage i git |
|
|
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 |
|
|
rofro Apprentice
Joined: 21 Jun 2004 Posts: 234 Location: Piaseczno, Poland
|
Posted: Sat Jan 10, 2009 7:23 am Post subject: |
|
|
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 |
|
|
n0rbi666 l33t
Joined: 04 Mar 2005 Posts: 707 Location: \Poland\Krakow
|
Posted: Sat Jan 10, 2009 12:24 pm Post subject: |
|
|
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 |
|
|
mziab l33t
Joined: 01 Oct 2004 Posts: 644
|
Posted: Sat Jan 10, 2009 1:40 pm Post subject: |
|
|
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 |
|
|
rofro Apprentice
Joined: 21 Jun 2004 Posts: 234 Location: Piaseczno, Poland
|
Posted: Sat Jan 10, 2009 2:38 pm Post subject: |
|
|
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 |
|
|
mziab l33t
Joined: 01 Oct 2004 Posts: 644
|
Posted: Sat Jan 10, 2009 2:49 pm Post subject: |
|
|
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 |
|
|
SlashBeast Retired Dev
Joined: 23 May 2006 Posts: 2922
|
Posted: Sat Jan 10, 2009 3:26 pm Post subject: |
|
|
Przy drzewie z funtoo (git) nie uzywamy emerge --sync a w kataogu /usr/portage wpisujemy git pull. |
|
Back to top |
|
|
mziab l33t
Joined: 01 Oct 2004 Posts: 644
|
Posted: Sat Jan 10, 2009 4:43 pm Post subject: |
|
|
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 |
|
|
|