projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b90d41
)
GRMLBASE/98-clean-chroot: do not execute apt-get update
author
Michael Prokop
<mika@grml.org>
Wed, 18 Dec 2013 20:34:29 +0000
(21:34 +0100)
committer
Michael Prokop
<mika@grml.org>
Wed, 18 Dec 2013 20:34:29 +0000
(21:34 +0100)
There should be no point in running the apt-get update
command at this place.
etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot
patch
|
blob
|
history
diff --git
a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot
b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot
index
19464a2
..
8b3a8bf
100755
(executable)
--- a/
etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot
+++ b/
etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot
@@
-49,15
+49,6
@@
if grep -q 'updatebase.GRMLBASE' ${target}/etc/udev/kernel-upgrade 2>/dev/null ;
$ROOTCMD rm -f /etc/udev/kernel-upgrade
fi
-set +u
-if ifclass RELEASE ; then
-set -u
- echo "Not updating package list as RELEASE class is set."
-else
- echo "Updating package list"
- $ROOTCMD apt-get update
-fi
-
echo "Cleaning apt places"
$ROOTCMD apt-get check 2>/dev/null
$ROOTCMD dpkg --clear-avail