update final cleanup script
This commit is contained in:
parent
de5c6bae6d
commit
28a34d0c7a
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
|
# 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
|
# Remove unwanted packages
|
||||||
chroot /target apt purge --autoremove -y \
|
chroot /target apt purge --autoremove -y \
|
||||||
|
@ -16,13 +16,8 @@ chroot /target apt purge --autoremove -y \
|
||||||
audacious \
|
audacious \
|
||||||
connman \
|
connman \
|
||||||
deluge \
|
deluge \
|
||||||
galculator
|
galculator \
|
||||||
|
raspi-firmware
|
||||||
|
|
||||||
# Clear package cache
|
# Clean unnecessary files
|
||||||
chroot /target apt clean
|
rm -r /target/boot/firmware
|
||||||
|
|
||||||
# Update system packages
|
|
||||||
chroot /target apt update
|
|
||||||
|
|
||||||
# Upgrade system packages
|
|
||||||
chroot /target apt upgrade -y
|
|
Loading…
Reference in New Issue