From 33fb5686853327dfeb7b69fe8247ca8241f723ff Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Fri, 25 Jul 2014 19:54:59 -0500 Subject: [PATCH] ubuntu: these are not needed Signed-off-by: Robert Nelson --- lib/ubuntu-finish.sh | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/lib/ubuntu-finish.sh b/lib/ubuntu-finish.sh index 0eb88fd..4941014 100644 --- a/lib/ubuntu-finish.sh +++ b/lib/ubuntu-finish.sh @@ -119,24 +119,6 @@ if [ ! "x${conf_smart_uboot}" = "xenable" ] ; then fi fi -#Cleanup: some of Ubuntu's packages: -apt-get remove -y linux-image-omap* || true -apt-get remove -y linux-headers-omap* || true -apt-get remove -y u-boot-linaro* || true -apt-get remove -y x-loader-omap* || true -if [ ! -f /usr/share/flash-kernel/rcn-ee.conf ] ; then - apt-get remove -y flash-kernel || true -fi -apt-get -y autoremove || true - - -#linux-version was patched.. -if [ -f /usr/bin/linux-version.broken ] ; then - rm -rf /usr/bin/linux-version || true - mv /usr/bin/linux-version.broken /usr/bin/linux-version - echo "INFO: [/usr/bin/linux-version] was patched..." >> /var/log/netinstall.log -fi - if [ "x${serial_tty}" != "x" ] ; then cat > /etc/init/${serial_tty}.conf <<-__EOF__ start on stopped rc RUNLEVEL=[2345]