http://lwn.net/Articles/240399/ -- paludis (C++) and pkgcore (Python) are the alternatives to portage/emerge still using .ebuilds http://www.fireflymediaserver.org/ -- this is probably the right server for offering music to itunes mount --bind /dev /mnt/gentoo/dev mount -t proc proc /mnt/gentoo/proc cd /mnt/gentoo chroot /mnt/gentoo /bin/bash mount -t devpts devpts /dev/pts link localtime set date link /etc/make.profile /etc/make.conf /etc/portage/package.{keywords,mask.unmask,use} /etc/resolv.conf # vvv OBSOLETE. only need to download jce's, two small files, for 1.5 and 1.6. # and docs, two big files for 1.5 and 1.6 (see DOWNLOAD_URL in dev-java/java-sdk-docs) # also no need to install jre's when installing jdk download java {jre,{jdk,jce}}{1.4.2,1.5.0} -- six files. # vvv OBSOLETE. only need to download jce's, two small files, for 1.5 and 1.6. /usr/portage/profiles/base/virtuals change virtual/krb5 to app-crypt/heimdal -- doesn't work any more. too many packages mit-specific emerge -C pam-login -- blocks shadow passwords. ? emerge libXaw -- unrecorded dependency in graphviz USE="-ldap -X -berkdb" emerge heimdal -- circular dependency between heimdal and openldap # vvv OBSOLETE http://www.gentoo.org/proj/en/java/java-upgrade.xml emerge -C java-config emerge java-config emerge =dev-java/java-config-1* emerge dev-java/sun-jdk emerge =dev-java/sun-jdk-1.4.2... emerge -C blackdown-jdk java-config ... java-config-1 ... env-update . /etc/profile 2008-10-06 java autodownloads now, jce doesn't. USE=-doc to build java without circular dependencies there is no java-config-1 any more 2010-04-18 there is just java 1.5 and java 1.6 now, and few versions of each. you do still have to download jce's. see dev-java/sun-jce-bin packages. emerge java-config emerge sun-jdk:1.5 emerge sun-jdk * (require 'site-gentoo) * * See also http://www.gentoo.org/proj/en/lisp/emacs/xft.xml * for how to enable anti-aliased fonts. http://en.gentoo-wiki.com/wiki/X.Org/Fonts <-- how to get fonts that dont suck emerge sys-kernel/gentoo-sources cd /usr/src/linux && make oldconfig && make prepare # xxx -- really the kernel should be actually built before packages # containing modules are built. and one needs to manually # keep a list of such packages and rebuild them, since genkernel # happens outside portage. # xxx -- use x11-base/x11-drm or use kernel drm? for alsa, the rule is # use kernel but dunno about drm set CONFIG_CRYPTO_CRC32c in the kernel for iSCSI target set the FUSE filesysten for ntfs-3g USE=-xxx emerge dev-lang/python emerge portage (needed?) /usr/sbin/python-updater backup /var/lib/portage/world emerge restore /var/lib/portage/world USE=-doc emerge gcc binutils && USE=-doc emerge glib # the kernel needs to be actually built before any ebuilds of kernel modules are built, so it should be done sometime after building gcc and before emerge --deep --newuse world # now might be a good time, but you could work on 'make menuconfig' while lurching through the stuff below. cd /usr/src/linux make oldconfig make depend && make bzImage && make modules && make modules_install module-rebuild populate && module-rebuild rebuild && eselect opengl set nvidia depmod -a -e -F /usr/src/linux/System.map 2.6.32-gentoo-r7-ivy0 dracut "" 2.6.32-gentoo-r7-ivy0 kernel in /usr/src/linux/arch/x86/boot/bzImage initrd in /boot/initramfs-2.6.32-gentoo-r7-ivy0.img reasonable boot commandline options: rd_NO_LVM rd_NO_MD rd_NO_DM rdinfo rdshell rdinitdebug root=dhcp vga=0x37b video=vesafb:ypan fbcon=font:SUN12x22 for using serial port with virtualbox: http://automatthias.wordpress.com/2008/09/13/serial-port-in-virtualbox/ VBoxManage modifyvm "gentoo 64bit" --uartmode1 client /home/guest/gentoo64-console VBoxManage modifyvm "gentoo 64bit" --uart1 0x3f8 4 socat PTY,link=/home/guest/gentoo64-pty UNIX-LISTEN:/home/guest/gentoo64-console & screen /home/guest/gentoo64-pty [c-a c-d] nohup bash -c 'VBoxHeadless -s "gentoo 64bit" -v on > vbox.out 2>&1 &' screen -d -r if you use --uartmode server, and the VM outputs messages before socat attaches, it'll talk to itself. ?!!WHY?! well, it does. with the roles flipped like this to --uartmode client, virtualbox always has a socat attached. socat will drop data when there's no screen connected, like you'd want. however the tools tend to die when connections are broken... cd /etc && for t in $(find . -name ._\*); do mv "$t" "$( echo "$t" | sed 's/\._cfg0000_//' )"; done USE=-doc\ -cups emerge app-text/ghostscript-gpl USE=-doc\ -gtk emerge net-fs/samba USE=-doc emerge app-text/docbook-sgml-utils doxygen cups USE="-doc latex graphviz" emerge app-text/docbook-sgml-utils doxygen cups USE="-doc extras" emerge =sys-fs/udev-149 # or whatever is newest. needed by USE=pulseaudio. USE="-doc tk" emerge python # bunch of stuff wants python to have tk. USE=-doc emerge dev-python/sphinx # circular dependency with dev-python/jinja emerge x11-apps/mkfontdir # hidden dependency of media-fonts/x11fonts-jmk emerge --deep --update --newuse -p world | sed 's/^[[][^]]*] //' | cut -d\ -f 1 | sed -e 's/-r[0-9]*$//' -e 's/-[^-]*$//' | sort > t0 ( cd /var/db/pkg && echo */* ) | tr \ \\n | sed -e 's/-r[0-9]*$//' -e 's/-[^-]*$//' | sort > t1 backup /var/lib/portage/world emerge $( diff -u t1 t0 |grep -- ^- | sed 's/^-//' | tail -n +2 ) restore /var/lib/portage/world emerge dev-util/gtk-doc # hidden dependency of dev-libs/liboil USE=doc emerge --update --deep --newuse world emerge --depclean # need to look into @system instead of this? cp /var/lib/portage/world ~/world.bkp-DATE cd /var/db/pkg ls -ldt */* | less trim off the ones dated before you started building with new cflags replace beginning ls part with = emerge --oneshot $(cat THAT)