Error in the HOWTO: Safely mix Entropy... wiki article

Anything that pertains to Portage

Moderator: Moderators

Error in the HOWTO: Safely mix Entropy... wiki article

Postby fusion809 » Sat Oct 10, 2015 4:36

Hi,

I've been trying to follow the Sabayon Wiki's guide on Safely mixing Entropy with Portage, and under the "Keeping Portage's configuration file..." section I found this code
Code: Select all
# arch=$(uname -m | sed -e 's/x86_64/amd64/' -e 's/i.86/x86/')
# mv /etc/make.conf /etc/portage/make.conf.$arch
# cd /etc/portage
# ln -s make.conf.$arch make.conf


the second line of which has an error. See on my Sabayon system there is no /etc/make.conf file, so I suspect one of two things happened: either this code became outdated with a Sabayon update (and most likely this conf file was moved somewhere else) and no one realized this and edited this article accordingly, or a typo was made when this code was added to the article.

Thanks for your time,
Brenton
Brenton Horne
Favourite distros: Arch Linux, Fedora, openSUSE, Sabayon Linux and Ubuntu.
Usernames: Fuse809 (Wikimedia), fusion809 (RuneScape), Brenton (Sabayon Wiki) and fusion809 (Gentoo Wiki).
My Blog on Sabayon | Google+
fusion809
Growing Hen
 
Posts: 116
Joined: Fri Jul 03, 2015 15:11
Location: Townsville, Australia

Re: Error in the HOWTO: Safely mix Entropy... wiki article

Postby svantoviit » Sat Oct 10, 2015 18:22

This is still valid for systems installed before September 2012 (I would say Sabayon 10 and earlier) when the location of portage-config-files changed. The instructions work like a charm for me. Haven't bothered to move the files since portage still checks the old locations as well.

/etc/make.conf is present:
Code: Select all
$ [[ -e /etc/make.conf ]]; echo $?
0

Announcement of the change (eselect news):
Code: Select all
2012-09-09-make.conf-and-make.profile-move
  Title                     make.conf and make.profile move
  Author                    Jorge Manuel B. S. Vicetto <[email protected]>
  Posted                    2012-09-09
  Revision                  1

Starting next week, new stages will have make.conf and make.profile
moved from /etc to /etc/portage. This is a change in the installation
defaults, that will only affect new installs so it doesn't affect
current systems.

Current users don't need to do anything. But if you want to follow the
preferred location, you may want to take the chance to move the files
in your system(s) to the new location.

Detail on configuration files handling from portage manual page:
Code: Select all
MAKE.CONF(5)                        Portage                       MAKE.CONF(5)

NAME
       make.conf - custom settings for Portage

SYNOPSIS
       /etc/make.conf and /etc/portage/make.conf

DESCRIPTION
       [...]
       Portage will check the currently-defined  environment  variables  first
       for  any  settings.  If no environment settings are found, Portage then
       checks    the    make.conf    files.    Both     /etc/make.conf     and
       /etc/portage/make.conf  are  checked  (if  present),  and settings from
       /etc/portage/make.conf will override settings from /etc/make.conf...

If you have a younger system /etc/portage/make.conf is used already.
Something an advanced user knows ;)
svantoviit
Old Dear Hen
 
Posts: 706
Joined: Sun Feb 28, 2010 17:55

Re: Error in the HOWTO: Safely mix Entropy... wiki article

Postby svantoviit » Sat Oct 10, 2015 22:05

I would actually be more worried about the sync-entropy-files.sh script.
Just spotted another (minor) errors in it...
svantoviit
Old Dear Hen
 
Posts: 706
Joined: Sun Feb 28, 2010 17:55


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest