selfjungle Just another WordPress weblog

1Mar/150

update gentoo

emerge --update --newuse --deep --with-bdeps=y @world -av
emerge --depclean -av
emerge @preserved-rebuild -av
perl-cleaner --all
python-updater
revdep-rebuild -pv
rm -rf /usr/share/man/??
rm -rf /usr/share/man/??_*
eix-test-obsolete
glsa-check -t all

https://wiki.gentoo.org/wiki/Gentoo_Cheat_Sheet

Tagged as: No Comments
1Mar/150

migrating from openrc to systemd

# remove blocking package, systemd provides the functionality.
emerge -C sys-fs/udev openrc netifrc virtual/service-manager sysvinit
# comment out service manager and openrc from your @system set, defined in /usr/portage/profiles/base/packages 

# add systemd to use flags
emerge -av systemd
emerge -av virtual/udev virtual/libudev

# set kernel options& recompile
Gentoo Linux --->
  Support for init systems, system and service managers --->
    [*] systemd


# to kernel command line:
init=/usr/lib/systemd/systemd

hostnamectl set-hostname 
cat /etc/locale.conf
# LANG="en_US"
localectl set-locale LANG=en_US
localectl set-keymap us


http://wiki.gentoo.org/wiki/Systemd

http://forums.gentoo.org/viewtopic-p-7656898.html

Tagged as: No Comments