Jump to content

Photo

How to update kits.

- - - - -

Best Answer Oleg Vinichenko , 19 August 2017 - 06:08 AM

if you use only prime branch, then use "ego sync"

if you have some of kits with other branches enabled (such as master), do not use "ego sync"

to update kits with other branches enabled, use following sequence of commands:

 

cd /var/git/meta-repo

git pull

git submodule update

chown -R portage:portage /var/git/meta-repo

 

eix-sync does not update meta-repo, neither default branches nor any other branches. after manually updating meta-repo or if you use default branches and ego sync, you can use eix-update.

Go to the full post »


4 replies to this topic

#1
Sandro

Sandro

    Advanced Member

  • Members
  • PipPipPip
  • 369 posts
  • LocationSaronno, Via IV Novembre, 23 21047 Italy

Hi,

 

When i use "ego sync", all kits are automatically switched in "prime[-v]"

 

Ego sync which commands performs?
 
Can eix-sync be used to update the "portage + kits" or not?
 
I'm a bit confused

 

 

I'd like to know how to update the entire tree maintaining my impostation (master or prime for the various kits)

 

Last question: i see that:

auto-sync = no

Is the good choice or it is better to switch to "Yes" ?

 

Thanx. and excuse my ignorance.



#2
Oleg Vinichenko

Oleg Vinichenko

    Staff

  • Moderators
  • 412 posts
✓  Best Answer

if you use only prime branch, then use "ego sync"

if you have some of kits with other branches enabled (such as master), do not use "ego sync"

to update kits with other branches enabled, use following sequence of commands:

 

cd /var/git/meta-repo

git pull

git submodule update

chown -R portage:portage /var/git/meta-repo

 

eix-sync does not update meta-repo, neither default branches nor any other branches. after manually updating meta-repo or if you use default branches and ego sync, you can use eix-update.


  • Sandro likes this
www.funtoo.org

#3
Sandro

Sandro

    Advanced Member

  • Members
  • PipPipPip
  • 369 posts
  • LocationSaronno, Via IV Novembre, 23 21047 Italy

Ok .... i've finished now this little script:

 

ci74771ht ~ # cat Aggiorna  
cd /var/git/meta-repo
git pull
git submodule update
chown -R portage:portage /var/git/meta-repo
eix-update
emerge -DNu world --with-bdeps=y

 

 

haha ... at the same time :) Thanxxxxxxxx great :)



#4
NikosAlexandris

NikosAlexandris

    Advanced Member

  • Members
  • PipPipPip
  • 66 posts
  • LocationSwitzerland

By the way, what about esync (aka ego sync)?


Nikos Alexandris | Remote Sensing *
GPG Key Fingerprint 6F9D4506F3CA28380974D31A9053534B693C4FB3


#5
sphakka

sphakka

    Newbie

  • Members
  • Pip
  • 1 posts

I guess overlays should still be synced via "eix-sync", right?





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users