From 8b91497b9eb6ddf950d5576c2f27c1405f75a047 Mon Sep 17 00:00:00 2001 From: Christopher Spinrath <christopher.spinrath@rwth-aachen.de> Date: Fri, 27 Feb 2015 17:12:18 +0100 Subject: [PATCH] Call apt-get autoremove to remove old kernels --- scripts/remaster_rootfs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/remaster_rootfs.sh b/scripts/remaster_rootfs.sh index c865a30..3a67469 100755 --- a/scripts/remaster_rootfs.sh +++ b/scripts/remaster_rootfs.sh @@ -63,6 +63,7 @@ function install_packages_from_file() function install_packages() { apt-get dist-upgrade --assume-yes --force-yes + apt-get -y autoremove #apt-get install aptitude -y #apt-get dist-upgrade -y # make sure we have the newest versions -- GitLab