This reverts commit
f565065789c9c28146a9acd2efe5a5a1d2b0d2fb.
Looks like it's not deborphan which removes file-rc but
file-rc gets removed earlier and is just purged through
the DEBORPHAN/98-clean-chroot script.
-# avoid file-rc being considered for removal by deborphan
-if [ -d $target/usr/share/file-rc -a -x $target/usr/bin/deborphan ] ; then
- echo "Adding file-rc to keep-list of deborphan to avoid accidental removal"
- $ROOTCMD deborphan --add-keep file-rc || /bin/true
-fi
-
# remove all packages not necessary anymore:
$ROOTCMD apt-get -y --purge autoremove
# remove all packages not necessary anymore:
$ROOTCMD apt-get -y --purge autoremove