[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#586428: Please clear the apt cache



* Petter Reinholdtsen <pere@hungry.com> [2010-06-20 19:39]:
> Yes, assuming it is done right after debootstrap, and before the extra
> packages (like the kernel) is done.  The extra packages will be useful
> to cache for the LTSP chroot building.

I didn't hear any objections to this approach.  Petter, can you please
test the following patch to make sure it doesn't break LTSP (it
shouldn't).  If you confirm, I'll commit it.

Index: bootstrap-base.postinst
===================================================================
--- bootstrap-base.postinst	(revision 64063)
+++ bootstrap-base.postinst	(working copy)
@@ -131,6 +131,8 @@
 		exit_error base-installer/debootstrap-failed
 	fi
 
+	in-target apt-get clean
+
 	# Progress bar is now stepped to 100
 }
 

-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: