- more aggressive package and package lists caching master bomba/master
authorJosef Spillner <josef.spillner@tu-dresden.de>
Wed, 3 Dec 2014 00:17:41 +0000 (01:17 +0100)
committerJosef Spillner <josef.spillner@tu-dresden.de>
Wed, 3 Dec 2014 00:17:41 +0000 (01:17 +0100)
scripts/createimg.sh
scripts/fill-demonstrator-nubisave-system.sh
scripts/fill-demonstrator-owncloud-system.sh

index 2523913..8b57fd6 100755 (executable)
@@ -12,7 +12,7 @@ if [ -f $sys/etc/apt/sources.list.notfinal ]; then
        cat $sys/etc/apt/sources.list | sed -e 's/^\([^#]\)/##\1/;s/^#\([^#]\)/\1/' > /tmp/sources.list
        sudo mv /tmp/sources.list $sys/etc/apt/
        sudo rm -f $sys/etc/apt/sources.list.notfinal
-       sudo chroot $sys apt-get update
+       #sudo chroot $sys apt-get update
 fi
 
 safesizemb=$((`sudo du -s $sys | cut -f 1`*130/100/1024))
index dcfa918..452b885 100755 (executable)
@@ -15,7 +15,8 @@ origdir=$PWD
 gui=0
 
 sudo chroot $system sh -c "wget -O- http://nubisave.org/downloads/nubisave.key | sudo apt-key add -"
-echo "deb http://nubisave.org/packages/ ./" | sudo tee -a $system/etc/apt/sources.list
+echo "deb http://localhost:3142/nubisave.org/packages/ ./" | sudo tee -a $system/etc/apt/sources.list
+echo "#deb http://nubisave.org/packages/ ./" | sudo tee -a $system/etc/apt/sources.list
 sudo chroot $system apt-get update
 
 if [ "$gui" -eq "1" ]; then
index 09c03ca..5cfb553 100755 (executable)
@@ -2,7 +2,8 @@
 
 system=system
 
-echo "deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_7.0/ /" | sudo tee -a $system/etc/apt/sources.list
+echo "deb http://localhost:3142/download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_7.0/ /" | sudo tee -a $system/etc/apt/sources.list
+echo "#deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_7.0/ /" | sudo tee -a $system/etc/apt/sources.list
 sudo chroot $system apt-get update
 
 sudo chroot $system apt-get --assume-yes --force-yes install owncloud