dacfc23c36
This patch fixes the profile autodetect. If the profile was passed at install time, it would overridden by the environment.d script. This was fixed by accepting the value passed by the user, if one was passed. The enviroment.d file is run outside of chroot, because of this eselect will not be available on non-gentoo systems. We change the behavior to work elsewhere, it was not working on non-gentoo systems and giving bad results on gentoo systems (returing values from the host, not the guest being built). This patch also fixes shm detection by checking if it is mounted already. Change-Id: Ie58d8e19529a731bfbc9eeb4bb246988d1aaa772
2 lines
94 B
Bash
Executable file
2 lines
94 B
Bash
Executable file
export DISTRO_NAME=gentoo
|
|
export GENTOO_PROFILE=${GENTOO_PROFILE:-'default/linux/amd64/13.0'}
|