Merge "debian: fix network on Wheezy"

This commit is contained in:
Jenkins 2014-06-20 08:55:31 +00:00 committed by Gerrit Code Review
commit 6744030be4

View File

@ -59,7 +59,7 @@ else
sudo sh -c "echo deb $DIB_DISTRIBUTION_MIRROR wheezy-backports main >> ${TARGET_ROOT}/etc/apt/sources.list" sudo sh -c "echo deb $DIB_DISTRIBUTION_MIRROR wheezy-backports main >> ${TARGET_ROOT}/etc/apt/sources.list"
sudo chroot ${TARGET_ROOT} apt-get update sudo chroot ${TARGET_ROOT} apt-get update
cat << EOF | sudo tee -a ${TARGET_ROOT}/etc/network/interfaces cat << EOF | sudo tee -a ${TARGET_ROOT}/etc/network/interfaces
source-directory /etc/interfaces.d source /etc/network/interfaces.d/*
EOF EOF
apt_get_bp_extra_opts="-t wheezy-backports" apt_get_bp_extra_opts="-t wheezy-backports"
fi fi