add update system script
This commit is contained in:
parent
95e2ce0657
commit
3799a89389
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue