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:
21d61f3
)
03-get-sources: ensure that apt information is available + up2date
author
Michael Prokop
<mika@grml.org>
Thu, 17 Dec 2015 09:57:45 +0000
(10:57 +0100)
committer
Michael Prokop
<mika@grml.org>
Thu, 17 Dec 2015 09:57:45 +0000
(10:57 +0100)
If we don't run 'apt-get update' at this stage we might not have
the according files available needed to run 'apt-get source'.
etc/grml/fai/config/scripts/GRMLBASE/03-get-sources
patch
|
blob
|
history
diff --git
a/etc/grml/fai/config/scripts/GRMLBASE/03-get-sources
b/etc/grml/fai/config/scripts/GRMLBASE/03-get-sources
index
4deb887
..
5d59b07
100755
(executable)
--- a/
etc/grml/fai/config/scripts/GRMLBASE/03-get-sources
+++ b/
etc/grml/fai/config/scripts/GRMLBASE/03-get-sources
@@
-22,6
+22,8
@@
bailout() {
rm -f "$PACKAGE_LIST"
}
+$ROOTCMD apt-get update
+
$ROOTCMD dpkg-query -W -f='${Package}\n' > "${PACKAGE_LIST}"
if ! [ -r "${PACKAGE_LIST}" ] ; then