| Code: |
| mkdir -p /usr/local/portage/overlay # path to your local overlay
mkdir -p /usr/local/portage/overlay/profiles/ # profiles folder in your local overlay echo "local overlay" >> /usr/local/portage/overlay/profiles/repo_name # give your local overlay the name "local overlay" chown -R portage:portage /usr/local/portage/overlay # this is how it should be ;-) |
| Code: |
| echo "PORTDIR_OVERLAY=\"/usr/local/portage/overlay\"" >> /etc/make.conf |
| Quote: |
| * You must rebuild all drivers if upgrading from xorg-server 1.X
* or earlier, because the ABI changed. If you cannot start X because * of module version mismatch errors, this is your problem. * You can generate a list of all installed packages in the x11-drivers * category using this command: * emerge portage-utils; qlist -I -C x11-drivers/ |
| Code: |
| # install elogv
emerge -av elogv # tell portage what to show (log,info,warn,error) and what to save (warn,error) echo "PORTAGE_ELOG_CLASSES=\"log warn error info qa\" PORTAGE_ELOG_SYSTEM=\"echo:log,info,warn,error save:warn,error\"" >> /etc/make.conf |
| Code: |
| Example 1 (only warn and error will be saved) (what we set up in my example)
PORTAGE_ELOG_CLASSES="log warn error info qa" PORTAGE_ELOG_SYSTEM="echo:log,info,warn,error save:warn,error" Example 2 (+info messages) PORTAGE_ELOG_CLASSES="log warn error info qa" PORTAGE_ELOG_SYSTEM="echo:log,info,warn,error save:info,warn,error" Example 3 (from elogv documentation) PORTAGE_ELOG_SYSTEM="save" and at least one out of PORTAGE_ELOG_CLASSES="warn error info log qa" |
| Code: |
| echo "app-portage/layman git subversion
dev-util/subversion -dso" >> /etc/portage/package.use emerge -av layman echo "source /var/lib/layman/make.conf" >> /etc/make.conf |
| Code: |
| nano -w /etc/layman/layman.cfg |
| Code: |
| emerge -av cfg-update
nano -w /etc/cfg-update.conf |
| Quote: |
| # +----------+
# | MERGETOOL \ # +------------+-------------------------------------------------------------+ # | The recommended tool for merging is xxdiff but you can also use other | # | tools if you don't like xxdiff. The Supported tools are listed below: | # +----------+-----+--------------------------+------------------------------+ # | xxdiff | GUI | KDE (or Gnome with QT) | | # | kdiff3 | GUI | KDE (or Gnome with QT) | | # | meld | GUI | Gnome (or KDE with GTK) | | # | gtkdiff | GUI | Gnome (or KDE with GTK) | STAGE 3 not supported! | # | gvimdiff | GUI | Gnome (or KDE with GTK) | STAGE 3 not supported! | # | tkdiff | GUI | Gnome (or KDE with TK) | | # | vimdiff | CLI | Systems without X | STAGE 3 not supported! | # | sdiff | CLI | Systems without X | STAGE 3 not supported! | # | imediff2 | CLI | Systems without X | STAGE 3 not supported! | # +----------+-----+--------------------------+------------------------------+ MERGE_TOOL = /usr/bin/meld |
| Code: |
| BitKiller ~ # emerge -pv update
These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-admin/update-2.1_rc3 USE="X daily -weekly" 0 kB [1] Total: 1 package (1 reinstall), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /overlay BitKiller ~ # |
| Code: |
| echo "app-admin/update daily" >> /etc/portage/package.use |
| Code: |
| wget http://www.felixpetzold.de/Gentoo/update/InstallUpdateScript
chmod +x InstallUpdateScript ./InstallUpdateScript rm InstallUpdateScript |
| Code: |
| nano -w /etc/conf.d/update |
| Quote: |
| USER_NAME="felix |
| Code: |
| Update-Script v2.1 for Gentoo Linux by Felix Petzold
---------------------------------------------------- Syncing Portage, Eix & Layman. Finished Saving installed version-nr of firefox, thunderbird and xorg-server Found www-client/firefox-3.6.8-r1 Found x11-base/xorg-server-1.8.2 Finished Updating System. Finished Getting new version-nr of firefox, thunderbird and xorg-server Found www-client/firefox-3.6.8-r1 Found x11-base/xorg-server-1.8.2 Finished Checking version differences to react on updates Finished Running emerge --depclean. Finished Running lafilefixer --justfixit Finished. Running emerge @preserved-rebuild. Finished Running perl-cleaner --all Finished. Running revdep-rebuild. Finished Running cfg-update -ua Finished Running eclean packages. Finished Running eclean distfiles. Finished Exiting update script |