gentoo-asahi-releng/tools-hardened/desktop/update.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

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