Mercurial > hg > aboriginal
comparison package-mini-native.sh @ 395:c2b290c1df40
Upgrade BUILD_SHORT to make a small busybox+uClibc system in /usr, with top level symlinks (/bin, /lib, etc) and adjustments to boot script and run-emulator.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 15 Sep 2008 18:24:27 -0500 |
parents | 996b3bfb4d60 |
children | d7fe6ae2c9e9 |
comparison
equal
deleted
inserted
replaced
394:f6802733e627 | 395:c2b290c1df40 |
---|---|
110 ln "$WORK"/{image-$ARCH.ext2,zImage-$ARCH,run-*.sh} system-image-$ARCH && | 110 ln "$WORK"/{image-$ARCH.ext2,zImage-$ARCH,run-*.sh} system-image-$ARCH && |
111 cp "$SOURCES"/toys/run-with-{distcc,home}.sh system-image-$ARCH | 111 cp "$SOURCES"/toys/run-with-{distcc,home}.sh system-image-$ARCH |
112 | 112 |
113 [ $? -ne 0 ] && dienow | 113 [ $? -ne 0 ] && dienow |
114 | 114 |
115 if [ ! -z "$BUILD_SHORT" ] | |
116 then | |
117 sed -i 's@/tools/@/usr/@g' "system-image-$ARCH"/*.sh || dienow | |
118 fi | |
119 | |
115 [ "$ARCH" == powerpc ] && cp "$SOURCES"/toys/ppc_rom.bin system-image-$ARCH | 120 [ "$ARCH" == powerpc ] && cp "$SOURCES"/toys/ppc_rom.bin system-image-$ARCH |
116 tar cvjf "$BUILD"/system-image-$ARCH.tar.bz2 system-image-$ARCH | 121 tar cvjf "$BUILD"/system-image-$ARCH.tar.bz2 system-image-$ARCH |
117 } | 122 } |
118 | 123 |
119 shipit | 124 shipit |