Jump to content

Photo

eix and kits

- - - - - eix kits

Best Answer cafaia , 12 August 2017 - 05:50 PM

Hello, skunk!

 

I have this files:

 

/usr/local/sbin/meta-repo-update:

#!/bin/sh

cd /var/git/meta-repo/
git pull
git submodule update
cd /root/
chown -R portage:portage /var/git/meta-repo

/etc/eix-sync.conf:

*
@emerge --regen || true
@emerge --metadata || true

And I do this:

 

#meta-repo-update

#eix-remote update

#eix-sync

 

And the program "eix" is working for me.

I hope I have helped!

Go to the full post »


6 replies to this topic

#1
skunk

skunk

    Newbie

  • Members
  • Pip
  • 9 posts

hello funtooers,

i've managed to upgrade my box from kde4/stable/ports-2012 to plasma5/current/meta-repo, however i'm really missing the eix tool to search for packages and querying installed ones...

is there a way to make eix work with kits?

thank you!



#2
Oleg Vinichenko

Oleg Vinichenko

    Staff

  • Moderators
  • 412 posts

its possible, of course. but would be nice to know what's not working :)


www.funtoo.org

#3
cafaia

cafaia

    Advanced Member

  • Members
  • PipPipPip
  • 38 posts
✓  Best Answer

Hello, skunk!

 

I have this files:

 

/usr/local/sbin/meta-repo-update:

#!/bin/sh

cd /var/git/meta-repo/
git pull
git submodule update
cd /root/
chown -R portage:portage /var/git/meta-repo

/etc/eix-sync.conf:

*
@emerge --regen || true
@emerge --metadata || true

And I do this:

 

#meta-repo-update

#eix-remote update

#eix-sync

 

And the program "eix" is working for me.

I hope I have helped!


  • skunk likes this

#4
skunk

skunk

    Newbie

  • Members
  • Pip
  • 9 posts

thank you cafaia, adding

@emerge --metadata || true

did the trick (the rest was already there)

a hint: also adding

@ego sync

will just require eix-sync to sync the kit tree...



#5
cafaia

cafaia

    Advanced Member

  • Members
  • PipPipPip
  • 38 posts

Hello, skunk!

 

I'm glad I've helped!

Yes, you can put '@ego sync', I can not because I have this in '/usr/local/sbin/meta-repo-update':

#!/bin/sh

cd /var/git/meta-repo/
git pull
git submodule update
cd /var/git/meta-repo/kits/xorg-kit/
git checkout master
git pull
cd /var/git/meta-repo/kits/media-kit/
git checkout master
git pull
cd /root/
chown -R portage:portage /var/git/meta-repo

I use the branch master in the kits xorg-kit and media-kit!

With best regards!



#6
Oleg Vinichenko

Oleg Vinichenko

    Staff

  • Moderators
  • 412 posts

eix sync is unaware of ego sync. it calls emerge --sync, and latter one does nothing. as said it can be fixed.


www.funtoo.org

#7
niltsiar

niltsiar

    Newbie

  • Members
  • Pip
  • 7 posts

In order to get the eix-sync functionality i've created the following alias

alias eixsync="ego sync && eix-sync -u"

When we pass -u to eix-sync it does all its work without the "emerge --sync" part so it syncs through ego and then it updates eix databases and run eix-diff

 

Hope this can help someone  :)


  • McQ likes this



Reply to this topic



  



Also tagged with one or more of these keywords: eix, kits

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users