add update system script

This commit is contained in:
manuel 2023-10-06 11:37:56 +00:00
parent 95e2ce0657
commit 3799a89389
2 changed files with 25 additions and 0 deletions

11
pepscripts/07final-cleanup Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh -e
# SPDX-License-Identifier: GPL-3.0-or-later
#
# SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
# This script removes unwanted files after Debian installation.
# Remove unwanted files
rm -r /target/boot/firmware

14
pepscripts/07update-system Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh -e
# SPDX-License-Identifier: GPL-3.0-or-later
#
# SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
# This script updates the system after Debian installation.
# Update the system
chroot /cdrom apt update
chroot /cdrom apt upgrade -y
# Clean up unnecessary packages
chroot /cdrom apt autoremove -y