ubuntu: iproute is now called iproute2

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
Stéphane Graber 2013-09-03 11:36:09 -04:00
parent c66e9b01f0
commit d08c3aaebc
No known key found for this signature in database
GPG Key ID: C638974D64792D67

View File

@ -577,8 +577,14 @@ post_process()
write_sourceslist $rootfs $hostarch "multiarch" write_sourceslist $rootfs $hostarch "multiarch"
# Finally update the lists and install upstart using the host architecture # Finally update the lists and install upstart using the host architecture
HOST_PACKAGES="upstart:${hostarch} mountall:${hostarch} isc-dhcp-client:${hostarch}"
chroot $rootfs apt-get update chroot $rootfs apt-get update
chroot $rootfs apt-get install --force-yes -y --no-install-recommends upstart:${hostarch} mountall:${hostarch} iproute:${hostarch} isc-dhcp-client:${hostarch} if chroot $rootfs dpkg -l iproute2 | grep -q ^ii; then
HOST_PACKAGES="$HOST_PACKAGES iproute2:${hostarch}"
else
HOST_PACKAGES="$HOST_PACKAGES iproute:${hostarch}"
fi
chroot $rootfs apt-get install --force-yes -y --no-install-recommends $HOST_PACKAGES
fi fi
# rmdir /dev/shm for containers that have /run/shm # rmdir /dev/shm for containers that have /run/shm