Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Hack] Semi-multilib system profile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
wykladowca
n00b
n00b


Joined: 27 Mar 2010
Posts: 3

PostPosted: Sat Mar 27, 2010 10:58 pm    Post subject: [Hack] Semi-multilib system profile Reply with quote

Gentoo has a quite totalitarian attitude towards the multi-library systems. Either everything is to be multilib, or nothing is to be compiled this way. I need a few 32-bit libs to launch a virtual machine, but other mulitlib apps are for me completely unnecessary. Fortunately, such a configuration is achievable by making custom profiles.

Following profile:
  • allows adjusting the multilib flag per package
  • forces the multilib flag for gcc and glib, so the system will not break
  • is based on multilib profile
  • is "normal" amd64 profile, not a hardened or selinux one
  • is to be installed in /etc, so syncs will not override it

To install profile run:
Code:

base64 -id - > ./semi-multilib.tar.lzma

Copy following entity, and terminate input with [Enter], [Ctrl]+[D] (md5sum of resulting ./semi-multilib.tar.lzma should be f2ca04f59d9a5dc4dd742291a5493785 )
Code:
XQAAgAD//////////wA2nkGlmh9KE5WKEAddYEhEPxpCdI6vaJtKdBI19zTwCinMDDWCCiPKqAAJ
4IFOgIDJ+rvaaR70MM/q0WDHc4pyf1jgg5AVzZfjDN0+xL4cmkfpsaum0w6mVvpNI9/T/cm0BNtH
c8LAFE+rXDgZzStarR5EPYYBithN9XAeb5NPiPbp15a7U/Hc1ORP4gZT0vzD825YCFnq9LKH6mR7
Ta8eK0spriPrUthrKnvSMeF0cMqDILggPR4DMTod5LowRrHCf6teAlZchDnIvzjh8UHyuDT7tbEN
5X+t1fyjagFUgezxqRh9/Xwbtlv7xSCX/ygaV5EPuQD2x/xfpq23c55STQdDfJxyfGVhvGkkFlwQ
0gqgxqqPpeIEaZbiqHnCXoHzqv1D+kBZcQlBrGadvtGIqyOPvYYlxpI44uJLnPdJ8XKpGwRK/I/j
pKh9TbEpmJHusf4dpj2FAD8DGGtogSAeXbp26BFQl5+0bJZWDI/YyiDSoPlmb1X1DLA+ExzDqm7d
CQ8hA8Z6NytcMPDzslbVjPFDWBe4pgBcfVh0M/6GjAnSJNg2H6mIoFOyTrWbYpdLbS/lK1GXoo3q
W0F9uVuniDib/1PGHvvxSLATkNrAAij2RFNxYhBVX9PNjDqfY1IQsoJoK813rs0/qGHIrRjrE74Y
uhiIbcSH9QKj+81+mhuup2j5wLHoYPlRRlA+HQCu9juXQnocMbZwrryBbiSRRD6zXMZQW8eAeZ2c
dVGO2Mvb9tsjJzv431EyFPGhTsdrbRxlcRjsCN0/r0DFcUEIGtGQD5x4a1kbS/l6/lIcNLeGUfon
Kr4o/A2H+JW70kMgGg1cvku+0sNe9go6CcYImPG4WIZ+eOe6WOGfzY/repj04RKoYwnQzY/rpnT8
hQu1l1Yz38TBeiKKc5wMyMrDAd400KMlXG1+rFTinieEnqNROblPbEJ7t7pLl1iWTSgzuIHmmLCR
/VJgC1UWnVOl4Z2nD9Wn/UJcn8/i1rJMt5sttOjraRur+1ubrQ==

Then, run as root:
Code:
tar -xapf semi-multilib.tar.lzma -C /etc
ln -sf ./my-profiles/default/linux/amd64/10.0/semi-multilib make.profile

If you use paludis, remember that it stores the profile information in its own configuration file.

If you want to convert a no-multilib system to a [semi-]multilib system see
This topic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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