From e1f2309d782c00b609d17399588ed7d247a90850 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Wed, 26 Feb 2014 15:55:51 +0100 Subject: [PATCH] download SlackwareARM rootfs only if necessary --- build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 03d245a..3aab9dd 100644 --- a/build.sh +++ b/build.sh @@ -207,10 +207,9 @@ mount $LOOP1 $DEST/output/sdcard/ echo "------ Get basic Slackware System" cd $DEST/output/sdcard/ -wget -c ftp://ftp.arm.slackware.com/slackwarearm/slackwarearm-devtools/minirootfs/roots/slack-$SLACKWARE_VERSION-miniroot_$ROOTFS_VERSION.tar.xz -tar xf slack-$SLACKWARE_VERSION-miniroot_$ROOTFS_VERSION.tar.xz +wget -c ftp://ftp.arm.slackware.com/slackwarearm/slackwarearm-devtools/minirootfs/roots/slack-$SLACKWARE_VERSION-miniroot_$ROOTFS_VERSION.tar.xz -O $CWD/slack-$SLACKWARE_VERSION-miniroot_$ROOTFS_VERSION.tar.xz +tar xf $CWD/slack-$SLACKWARE_VERSION-miniroot_$ROOTFS_VERSION.tar.xz sync -rm slack-$SLACKWARE_VERSION-miniroot_$ROOTFS_VERSION.tar.xz cat > $DEST/output/sdcard/etc/motd <