@@ -176,6 +176,11 mount -t proc none $R/proc | |||
|
176 | 176 | mount -t sysfs none $R/sys |
|
177 | 177 | mount --bind /dev/pts $R/dev/pts |
|
178 | 178 | |
|
179 | # Use proxy inside chroot | |
|
180 | if [ -z "$APT_PROXY" ] ; then | |
|
181 | echo "Acquire::http::Proxy \"$APT_PROXY\"" >> $R/etc/apt/apt.conf.d/10proxy | |
|
182 | fi | |
|
183 | ||
|
179 | 184 | # Pin package flash-kernel to repositories.collabora.co.uk |
|
180 | 185 | cat <<EOM >$R/etc/apt/preferences.d/flash-kernel |
|
181 | 186 | Package: flash-kernel |
@@ -708,6 +713,7 rm -rf $R/tmp/* | |||
|
708 | 713 | rm -f $R/var/lib/urandom/random-seed |
|
709 | 714 | [ -L $R/var/lib/dbus/machine-id ] || rm -f $R/var/lib/dbus/machine-id |
|
710 | 715 | rm -f $R/etc/machine-id |
|
716 | rm -fr $R/etc/apt/apt.conf.d/10proxy | |
|
711 | 717 | |
|
712 | 718 | # Calculate size of the chroot directory |
|
713 | 719 | CHROOT_SIZE=$(expr `du -s $R | awk '{ print $1 }'` / 1024) |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant