gentoo-asahi-releng/tools-hardened/desktop/rebuild.sh
Devan Franchini 301b3bcf25 tools-hardened/desktop: Adds KERNEL_DIR env var to emerge calls
It is important that when emerging packages no kernel configuration
is taken from the running kernel, to fix this all calls to emerge
have been prepended with the KERNEL_DIR env var which includes the
kernel src dir that emerge should look at inside the chroot.
2014-10-07 13:32:52 -04:00

8 lines
156 B
Bash
Executable file

#!/bin/bash -l
kernel_dir="/usr/src/linux-tinhat"
source /etc/profile
env-update
KERNEL_DIR="${kernel_dir}" emerge -evq --keep-going --with-bdeps=y world