19 lines
455 B
Bash
Executable File
19 lines
455 B
Bash
Executable File
#!/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..."
|
|
cp /preseed/grub/grub /target/etc/default
|
|
|
|
# update grub and initramfs
|
|
chroot /target update-initramfs -u
|
|
chroot /target update-grub
|
|
|
|
exit 0
|
|
|