Mercurial > hg > aboriginal
diff sources/sections/linux-headers.sh @ 1663:8c8256e18ad2
Clean up some minor kernel version bit-rot.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 02 Jul 2014 20:04:18 -0500 |
parents | ffa79617fb3f |
children |
line wrap: on
line diff
--- a/sources/sections/linux-headers.sh Mon Jun 23 06:59:56 2014 -0500 +++ b/sources/sections/linux-headers.sh Wed Jul 02 20:04:18 2014 -0500 @@ -18,7 +18,8 @@ make -j $CPUS headers_install ARCH="${KARCH}" INSTALL_HDR_PATH="$STAGE_DIR" \ $VERBOSITY && # This makes some very old package builds happy. -ln -s ../sys/user.h "$STAGE_DIR/include/asm/page.h" +[ ! -e "$STAGE_DIR/include/asm/page.h" ] && + ln -sf ../sys/user.h "$STAGE_DIR/include/asm/page.h" cleanup