You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(1) The file has been moved to /etc/portage/make.conf. Even if this file exists on older systems it is no longer used (unless it's a symlink to ./portage/make.conf).
(2) If there is already an existing PORTDIR_OVERLAY this will break the working system by replacing it with a new one.
A better approach would be:
. /etc/portage/make.conf;
if [ -n "$PORTDIR_OVERLDAY" ]
then
# append whatever you like to the file, or better yet, insert it near the top
# where any existing definitions are already defined.
else
# install into $PORTDIR_OVERLAY
fi
However you like it, the path to make.conf needs to be updated for the instructions to work and some check for an existing PORTDIR_OVERLAY is necessary to avoid breaking existing installations.
The text was updated successfully, but these errors were encountered:
A better way is to make it possible to add the overlay with layman. As far as I know, it only requires an xml file.
A layman description file is present. So the instructions can be updated to use layman to add the overlay.
The instructions include:
echo "PORTDIR_OVERLAY=$PORTDIR_OVERLAY /usr/local/portage/overlays" >> /etc/make.conf
(1) The file has been moved to /etc/portage/make.conf. Even if this file exists on older systems it is no longer used (unless it's a symlink to ./portage/make.conf).
(2) If there is already an existing PORTDIR_OVERLAY this will break the working system by replacing it with a new one.
A better approach would be:
. /etc/portage/make.conf;
if [ -n "$PORTDIR_OVERLDAY" ]
then
# append whatever you like to the file, or better yet, insert it near the top
# where any existing definitions are already defined.
else
# install into $PORTDIR_OVERLAY
fi
However you like it, the path to make.conf needs to be updated for the instructions to work and some check for an existing PORTDIR_OVERLAY is necessary to avoid breaking existing installations.
The text was updated successfully, but these errors were encountered: