diff --git a/pepscripts/07final-cleanup b/pepscripts/07final-cleanup index 5c31200..eee0d94 100755 --- a/pepscripts/07final-cleanup +++ b/pepscripts/07final-cleanup @@ -4,7 +4,7 @@ # # SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me) -# This script removes unwanted software after Debian installation. +# This script removes unwanted software and files after Debian installation. # Remove unwanted packages chroot /target apt purge --autoremove -y \ @@ -16,13 +16,8 @@ chroot /target apt purge --autoremove -y \ audacious \ connman \ deluge \ - galculator + galculator \ + raspi-firmware -# Clear package cache -chroot /target apt clean - -# Update system packages -chroot /target apt update - -# Upgrade system packages -chroot /target apt upgrade -y +# Clean unnecessary files +rm -r /target/boot/firmware \ No newline at end of file diff --git a/pepscriptsdev/07final-cleanup b/pepscriptsdev/07final-cleanup index 5c31200..eee0d94 100755 --- a/pepscriptsdev/07final-cleanup +++ b/pepscriptsdev/07final-cleanup @@ -4,7 +4,7 @@ # # SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me) -# This script removes unwanted software after Debian installation. +# This script removes unwanted software and files after Debian installation. # Remove unwanted packages chroot /target apt purge --autoremove -y \ @@ -16,13 +16,8 @@ chroot /target apt purge --autoremove -y \ audacious \ connman \ deluge \ - galculator + galculator \ + raspi-firmware -# Clear package cache -chroot /target apt clean - -# Update system packages -chroot /target apt update - -# Upgrade system packages -chroot /target apt upgrade -y +# Clean unnecessary files +rm -r /target/boot/firmware \ No newline at end of file