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.
17 lines
431 B
Bash
Executable file
17 lines
431 B
Bash
Executable file
#!/bin/bash -l
|
|
|
|
kernel_dir="/usr/src/linux-tinhat"
|
|
#Right now we're commenting out the cairo
|
|
#rebuild to see if it works in glibc.
|
|
#hacky - for some reason cairo fails to rebuild
|
|
#unless binutils is rebuilt first. It fails to
|
|
#find libibirty.
|
|
source /etc/profile
|
|
env-update
|
|
#emerge -q binutils
|
|
#source /etc/profile
|
|
#env-update
|
|
#emerge -1q x11-libs/cairo
|
|
|
|
KERNEL_DIR="${kernel_dir}" emerge -uvNDq --keep-going --with-bdeps=y world
|