#!/bin/sh -e # EznixOS custom settings # SPDX-FileCopyrightText: no # SPDX-License-Identifier: CC0-1.0 # 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 chroot /target rm -r /boot/firmware