*rootfs: fix remaining x86 rootfs issues.
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user