From 2dfdbc9e6511292631d8d1fa324ba708259803fd Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Mon, 31 Oct 2011 15:46:49 -0500 Subject: [PATCH] Fix up sources.list --- tools/get_uec_image.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/get_uec_image.sh b/tools/get_uec_image.sh index a824eeb..28af71a 100755 --- a/tools/get_uec_image.sh +++ b/tools/get_uec_image.sh @@ -144,6 +144,7 @@ mount -t ext4 ${NBD}p1 $MNTDIR # Install our required packages cp -p files/sources.list $MNTDIR/etc/apt/sources.list +sed -e "s,%DIST%,$DIST_NAME,g" -i $MNTDIR/etc/apt/sources.list cp -p /etc/resolv.conf $MNTDIR/etc/resolv.conf chroot $MNTDIR apt-get update chroot $MNTDIR apt-get install -y $MIN_PKGS