Hauser l33t
Joined: 27 Dec 2003 Posts: 650 Location: 4-dimensional hyperplane
|
Posted: Fri Oct 13, 2006 7:40 am Post subject: How to generate binary packages on the LiveCD |
|
|
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! |
|