comparison root-filesystem.sh @ 1198:78e786334c5b

Polish the strip logic a bit.
author Rob Landley <rob@landley.net>
date Sun, 08 Aug 2010 21:01:41 -0500
parents 2b7100b7de0c
children 42496ee2815f
comparison
equal deleted inserted replaced
1197:8b1017be9de8 1198:78e786334c5b
25 25
26 [ -z "$ROOT_NODIRS" ] && USRDIR="/usr" || USRDIR="" 26 [ -z "$ROOT_NODIRS" ] && USRDIR="/usr" || USRDIR=""
27 yes 'n' | cp -ia "$BUILD/native-compiler-$ARCH/." \ 27 yes 'n' | cp -ia "$BUILD/native-compiler-$ARCH/." \
28 "$BUILD/root-filesystem-$ARCH$USRDIR" 2>/dev/null || dienow 28 "$BUILD/root-filesystem-$ARCH$USRDIR" 2>/dev/null || dienow
29 29
30 # Strip everything again, just to be sure.
31
32 if [ -z "$SKIP_STRIP" ]
33 then
34 "${ARCH}-strip" --strip-unneeded "$STAGE_DIR"/lib/*.so
35 "${ARCH}-strip" "$STAGE_DIR"/{bin/*,sbin/*}
36 fi
37
30 create_stage_tarball 38 create_stage_tarball