Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make.profile broken symlink in install env prior to chroot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Tue Jul 04, 2017 6:19 am    Post subject: make.profile broken symlink in install env prior to chroot Reply with quote

Hi all,

I seem to have missed something or done something bad because having unpacked my stage3 tarball and proceeded through to the point where I am about to chroot to the new environment I notice that the make.profile symlink in the /mnt/gentoo/etc/portage/ folder is broken (flashing red) as it is pointing to ../../usr/portage/profiles/default/linux/amd64/13.0:

Here is my session showing the copying of the resolv.conf and binding of the system mount points prior...

Code:
livecd repos.conf # cp -L /etc/resolv.conf /mnt/gentoo/etc/
livecd repos.conf # mount -t proc /proc /mnt/gentoo/proc
livecd repos.conf # mount --rbind /sys /mnt/gentoo/sys
livecd repos.conf # mount --make-rslave /mnt/gentoo/sys
livecd repos.conf # mount --rbind /dev /mnt/gentoo/dev
livecd repos.conf # mount --make-rslave /mnt/gentoo/dev
livecd repos.conf # cd ..
livecd portage # ls
bin        make.conf.catalyst  package.mask  postsync.d       repos.conf
make.conf  make.profile        package.use   repo.postsync.d  savedconfig
livecd portage # ls -l
total 36
drwxr-xr-x 2 root root 4096 Jun 22 06:16 bin
-rw-r--r-- 1 root root 1053 Jul  4 05:51 make.conf
-rw-r--r-- 1 root root  656 Jun 22 03:56 make.conf.catalyst
lrwxrwxrwx 1 root root   51 Jun 22 06:30 make.profile -> ../../usr/portage/profiles/default/linux/amd64/13.0
drwxr-xr-x 2 root root 4096 Feb 22  2015 package.mask
drwxr-xr-x 2 root root 4096 Feb 22  2015 package.use
drwxr-xr-x 2 root root 4096 Jun 22 06:16 postsync.d
drwxr-xr-x 2 root root 4096 Jun 22 04:14 repo.postsync.d
drwxr-xr-x 2 root root 4096 Jul  4 05:55 repos.conf
drwxr-xr-x 3 root root 4096 Jun 22 04:29 savedconfig
livecd portage # cd ../../usr/   
bin/                 lib32/               local/               src/
include/             lib64/               sbin/                tmp/
lib/                 libexec/             share/               x86_64-pc-linux-gnu/
livecd portage # cd ..       
livecd etc # cd ..
livecd gentoo # ls
bin   dev  home  lib32  lost+found  mnt  proc  run   stage3-amd64-20170622.tar.bz2  tmp  var
boot  etc  lib   lib64  media       opt  root  sbin  sys                            usr
livecd gentoo # cd usr
livecd usr # ls
bin  include  lib  lib32  lib64  libexec  local  sbin  share  src  tmp  x86_64-pc-linux-gnu
livecd usr #


and whilst there is a ../../usr/share/portage/ it contains only a directory called config (ie where the make.conf.example, globals and repos.conf are.

Do I have to configure the make.profile symlink to something else?

What have I missed or done along the road here guys?


TIA
Will
_________________
]8P
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2640

PostPosted: Tue Jul 04, 2017 7:25 am    Post subject: Reply with quote

The broken symlink will get fixed by extracting the ebuild repository snapshot.
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Tue Jul 04, 2017 9:15 am    Post subject: Reply with quote

Excellent, understood - I'm getting ahead of myself :)
_________________
]8P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum