My-distro-DI-configs/my-distro-devuan-32-pae/deb-installer/scripts/07update-system

19 lines
583 B
Bash
Executable File

#!/bin/sh -e
################################################################################
# Title: Bldhelper.sh
# Description: Script to build My-distro ISO image
# Author: manuel rosa <manuelsilvarosa@gmail.com>
# Date: Outubro 29, 2023
# License: GPL-3.0-or-later
################################################################################
# This script updates the system after Debian installation.
# Update the system
chroot /target apt update
chroot /target apt upgrade -y
# Clean up unnecessary packages
chroot /target apt autoremove -y