update bootloader files and add copy-files-to-cdrom script

This commit is contained in:
Manuel 2023-05-20 16:10:10 +00:00
parent c0b27cfe4b
commit a990c56c23
12 changed files with 26 additions and 4 deletions

View File

@ -56,6 +56,8 @@ mkdir -p $uchinanchu/fusato/config/includes.chroot/etc/default
mkdir -p $uchinanchu/fusato/config/includes.installer/usr/share
mkdir -p $uchinanchu/fusato/config/includes.chroot/etc
mkdir -p $uchinanchu/fusato/config/includes.chroot/etc/firewalld/zones
mkdir -p $uchinanchu/fusato/config/includes.installer/preseed/grub
mkdir -p $uchinanchu/fusato/config/includes.installer/usr/lib/finish-install.d
# Install software
echo "#Install system packages.
@ -78,7 +80,7 @@ cockpit-pcp
podman
nfs-common
firewalld
#samba
samba
cups
gvfs-backends
git
@ -87,12 +89,12 @@ wget
" >> $uchinanchu/fusato/config/package-lists/package.list.chroot
# Copy single files and folder to the chroot
cp $uchinanchu/pepgrub/grub $uchinanchu/fusato/config/includes.chroot/etc/default
cp $uchinanchu/pepgrub/grub $uchinanchu/fusato/config/includes.installer/preseed/grub
cp $uchinanchu/pephooks/normal/* $uchinanchu/fusato/config/hooks/normal
cp $uchinanchu/peprepo/* $uchinanchu/fusato/config/archives
cp $uchinanchu/pepfirewall/* $uchinanchu/fusato/config/includes.chroot/etc/firewalld/zones
cp $uchinanchu/pepinstaller/preseed/preseed.cfg $uchinanchu/fusato/config/includes.installer
cp $uchinanchu/pepscripts/* $uchinanchu/fusato/config/includes.installer/usr/lib/finish-install.d
# Copy recursive files and sub-directories, containing symlinks.
cp -r $uchinanchu/peploadersplash/boot $uchinanchu/fusato/config/includes.binary

1
bookworm/pepscripts Symbolic link
View File

@ -0,0 +1 @@
../pepscripts

1
daedalus/pepscripts Symbolic link
View File

@ -0,0 +1 @@
../pepscripts

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View File

@ -1,7 +1,7 @@
menu hshift 4
menu width 70
menu title PeppermintOS Server Edition installer menu (BIOS mode)
menu title PeppermintOS net installer menu (BIOS mode)
include stdmenu.cfg
include gtk.cfg
include txt.cfg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View File

@ -0,0 +1,18 @@
#!/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 /cdrom/etc/default
# update grub and initramfs
chroot /cdrom update-initramfs -u
chroot /cdrom update-grub
exit 0