Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to generate binary packages on the LiveCD
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
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Fri Oct 13, 2006 7:40 am    Post subject: How to generate binary packages on the LiveCD Reply with quote

In the LiveCD environment, open a terminal, type:
Code:
$ equery files gentoolkit | grep qpkg

to find the correct qpkg command. Then type:
Code:
$ /usr/share/doc/gentoolkit-0.2.2/deprecated/qpkg/qpkg -I | less

Copy the output, one page at a time to a textfile, say pkgs.txt. After you finish, open this textfile with vim. Then copy the following string:
Code:
$xj$xj$xj$xj$xj$xj$xj$xj$xj$xj$xj$xj$xj$xj$xj$xj

In the command mode, press Shift-Insert repeatedly until all the * at the end of each line disappear. Notice what the last line looks like. For 2006.1 LiveCD, it should be "x11-wm/twm". If somehow it got truncated, press "u" to get it back. Save the file and exit.
Then mount the relevant directory on the hardisk partition where you're going to install Gentoo, assuming you have already unpacked the snapshot on the LiveCD:
Code:
# mount -o bind /mnt/gentoo/usr/portage /usr/portage

Then execute the following command:
Code:
# for all x in `cat /path/to/pkgs.txt`; do quickpkg $x; done

Then you should be able to install these binary packages in the chroot environment by issuing commands like "emerge -K packagename".
_________________
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
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