Permalink
Browse files

98-clean-chroot: get rid of /var/lib/aptitude/pkgstates.old in RELEAS…

…E class
  • Loading branch information...
mika committed Feb 4, 2014
1 parent 1b4b91f commit 8bdfb5456e44b654a4b7f6c536a7e5993ab66798
Showing with 3 additions and 0 deletions.
  1. +3 −0 etc/grml/fai/config/scripts/RELEASE/98-clean-chroot
@@ -21,6 +21,9 @@ rm -f $target/var/lib/apt/lists/*Packages \
$target/var/cache/debconf/*.dat-old \
$target/var/cache/apt/*.bin
+echo "Removing /var/lib/aptitude/pkgstates.old"
+rm -f "${target}/var/lib/aptitude/pkgstates.old"
+
# Remove all FAI logs from chroot via grml-live later then
echo "Setting up /etc/grml_fai_release for grml-live"
touch $target/etc/grml_fai_release

0 comments on commit 8bdfb54

Please sign in to comment.