Commit 7778103b authored by Guido Gunther's avatar Guido Gunther
Browse files

root.sh: Make sure we have all package metadata

Run `apt-get update` after the installation so we fetch all
the meta data for e.g. GNOME Software. This makes a better
first impression when firering this up.

Suggested by Matthias Klumpp
parent 8720ff56
......@@ -153,6 +153,8 @@ function check_patched()
function cleanup_chroot()
{
chroot "${basedir}" apt-get clean
# Make sure we have DEP11 info
chroot "${basedir}" apt-get update
rm "${basedir}/etc/resolv.conf"
mv "${basedir}/etc/resolv.conf.bak" "${basedir}/etc/resolv.conf"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment