Fix up sources.list
This commit is contained in:
parent
2c1a2d56c1
commit
2dfdbc9e65
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue