mirror of
https://bitbucket.org/gwenhael/cubietruck-slackware.git
synced 2024-12-26 21:58:20 +01:00
download SlackwareARM rootfs only if necessary
This commit is contained in:
parent
fa2bdbc58e
commit
e1f2309d78
1 changed files with 2 additions and 3 deletions
5
build.sh
5
build.sh
|
@ -207,10 +207,9 @@ mount $LOOP1 $DEST/output/sdcard/
|
||||||
|
|
||||||
echo "------ Get basic Slackware System"
|
echo "------ Get basic Slackware System"
|
||||||
cd $DEST/output/sdcard/
|
cd $DEST/output/sdcard/
|
||||||
wget -c ftp://ftp.arm.slackware.com/slackwarearm/slackwarearm-devtools/minirootfs/roots/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 slack-$SLACKWARE_VERSION-miniroot_$ROOTFS_VERSION.tar.xz
|
tar xf $CWD/slack-$SLACKWARE_VERSION-miniroot_$ROOTFS_VERSION.tar.xz
|
||||||
sync
|
sync
|
||||||
rm slack-$SLACKWARE_VERSION-miniroot_$ROOTFS_VERSION.tar.xz
|
|
||||||
|
|
||||||
cat > $DEST/output/sdcard/etc/motd <<EOF
|
cat > $DEST/output/sdcard/etc/motd <<EOF
|
||||||
_ _ _ _
|
_ _ _ _
|
||||||
|
|
Loading…
Reference in a new issue