#!/bin/sh -e # SPDX-License-Identifier: GPL-3.0-or-later # # SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me) # This script removes unwanted software and files after Debian installation. # Remove unwanted packages chroot /target apt purge --autoremove -y \ calamares \ calamares-settings-debian \ raspi-firmware # Clean unnecessary files rm -r /target/boot/firmware