*rootfs: fix remaining x86 rootfs issues.

This commit is contained in:
Juan RP
2016-04-20 16:19:55 +02:00
parent a15f8c0300
commit 06f8beb628
2 changed files with 14 additions and 13 deletions

View File

@@ -3,10 +3,10 @@
TARGET="$1"
[ -n "$TARGET" ] && shift
: ${PLATFORMS:="beaglebone cubieboard2 odroid-u2 rpi rpi2 usbarmory"}
: ${PLATFORMS:="beaglebone cubieboard2 odroid-u2 rpi rpi2 usbarmory x86_64 i686"}
DATE=$(date '+%Y%m%d')
for f in ${PLATFORMS} x ${PLATFORMS} ; do
for f in ${PLATFORMS} x ${PLATFORMS}; do
if [ "$f" = "x" ]; then
musl=1
continue
@@ -15,7 +15,11 @@ for f in ${PLATFORMS} x ${PLATFORMS} ; do
if [ -n "$musl" ]; then
target=${f}-musl
fi
if [ -z "$ARGET" -o "$TARGET" = "$target" ]; then
if [ "$target" = "i686-musl" ]; then
# XXX no i686-musl repo yet
continue
fi
if [ -z "$TARGET" -o "$TARGET" = "$target" ]; then
./mkrootfs.sh $@ $target
fi
done