Merge "Fix building on gentoo hosts"
This commit is contained in:
commit
103b7dea6d
@ -58,9 +58,13 @@ function unfix_shm {
|
|||||||
|
|
||||||
function install_gentoo_packages {
|
function install_gentoo_packages {
|
||||||
RUN_ONCE_SHM='1'
|
RUN_ONCE_SHM='1'
|
||||||
|
if ! grep -q /dev/shm /proc/mounts; then
|
||||||
fix_shm
|
fix_shm
|
||||||
emerge $@
|
emerge $@
|
||||||
unfix_shm
|
unfix_shm
|
||||||
|
else
|
||||||
|
emerge $@
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
TEMP="$(getopt -o huem: -n ${SCRIPTNAME} -- ${@})"
|
TEMP="$(getopt -o huem: -n ${SCRIPTNAME} -- ${@})"
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
export DISTRO_NAME=gentoo
|
export DISTRO_NAME=gentoo
|
||||||
export GENTOO_PROFILE=$(eselect profile show | tail -n 1)
|
export GENTOO_PROFILE=${GENTOO_PROFILE:-'default/linux/amd64/13.0'}
|
||||||
|
Loading…
Reference in New Issue
Block a user