PepOSServer/pepscripts/06copy-files-to-cdrom

19 lines
455 B
Plaintext
Raw Normal View History

#!/bin/sh -e
# SPDX-License-Identifier: GPL-3.0-or-later
#
# SPDX-FileCopyrightText: 2023 PeppemrintOS Team (peppermintosteam@proton.me)
# This script copies a file to the chroot and runs commands during the Debian installation process.
# Copy files to the chroot directory
echo "Copying files to chroot..."
2023-10-07 19:54:23 +00:00
cp /preseed/grub/grub /target/etc/default
# update grub and initramfs
2023-10-07 19:54:23 +00:00
chroot /target update-initramfs -u
chroot /target update-grub
exit 0