Browse Source

Do not hardcode suite in bootstrap fixup

tags/0.1
devrandom 8 years ago
parent
commit
f0c9e68fed
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      target-bin/bootstrap-fixup

+ 4
- 2
target-bin/bootstrap-fixup View File

@@ -2,5 +2,7 @@

set -e

echo 'deb http://10.0.2.2:3142/archive.ubuntu.com/ubuntu lucid main universe' > $1/etc/apt/sources.list
echo 'deb http://10.0.2.2:3142/archive.ubuntu.com/ubuntu lucid-updates main universe' >> $1/etc/apt/sources.list
. /etc/lsb-release

echo "deb http://10.0.2.2:3142/archive.ubuntu.com/ubuntu $DISTRIB_CODENAME main universe" > $1/etc/apt/sources.list
echo "deb http://10.0.2.2:3142/archive.ubuntu.com/ubuntu $DISTRIB_CODENAME-updates main universe" >> $1/etc/apt/sources.list

Loading…
Cancel
Save