From: Thierry Parmentelat Date: Sat, 8 Feb 2014 17:45:00 +0000 (+0100) Subject: fix for ubuntu builds that could not find python-rpm despite the addition of the... X-Git-Tag: 5.3.2~45 X-Git-Url: http://git.onelab.eu/?p=build.git;a=commitdiff_plain;h=c7065bb6a0a0fa27667b6dfc117630f938c10014 fix for ubuntu builds that could not find python-rpm despite the addition of the universe source list (apt-get update needed) --- diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh index 34c9115d..b346fe2a 100755 --- a/lbuild-initvm.sh +++ b/lbuild-initvm.sh @@ -724,6 +724,8 @@ function devel_or_vtest_tools () { ( cd /vservers/$lxc/etc/apt ; head -1 sources.list | sed -e s,main,universe, > sources.list.d/universe.list ) # also adding a link to updates sounds about right ( cd /vservers/$lxc/etc/apt ; head -1 sources.list | sed -e 's, main,-updates main,' > sources.list.d/updates.list ) + # tell apt about the changes + chroot /vservers/$lxc apt-get update fi for package in $packages ; do # container not started yet