301b3bcf25
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.
8 lines
156 B
Bash
Executable file
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
|