projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2203377
)
Run apt-get update during softupdate
author
Christian Hofstaedtler
<ch@grml.org>
Mon, 26 Dec 2011 17:32:17 +0000
(18:32 +0100)
committer
Ulrich Dangel
<mru@grml.org>
Mon, 26 Dec 2011 22:02:09 +0000
(23:02 +0100)
FAI doesn't seem to do it, maybe we prevent it somewhere.
etc/grml/fai/config/hooks/instsoft.GRMLBASE
patch
|
blob
|
history
diff --git
a/etc/grml/fai/config/hooks/instsoft.GRMLBASE
b/etc/grml/fai/config/hooks/instsoft.GRMLBASE
index
a3c3d2f
..
ea1cfd0
100755
(executable)
--- a/
etc/grml/fai/config/hooks/instsoft.GRMLBASE
+++ b/
etc/grml/fai/config/hooks/instsoft.GRMLBASE
@@
-56,6
+56,10
@@
EOF
$ROOTCMD apt-get -y install aptitude
fi
+ # Update package lists (so they exist at all), so we actually can
+ # install software.
+ $ROOTCMD apt-get update
+
# make sure we can upgrade automatically,
# even with unsigned repos, but only if user wants it
if [ "${FAI_ALLOW_UNSIGNED:-}" = "1" ] ; then