From 45431db6a19a00d45d706f8e9baca242640be4f0 Mon Sep 17 00:00:00 2001 From: debianpepper Date: Fri, 17 May 2024 09:33:32 +0900 Subject: [PATCH] Updated: Modded the deb64 hooks Cleaned out older things not used Signed-off-by: debianpepper --- .../hooks/normal/deb_64/0540-misc.hook.chroot | 7 ++++++- .../normal/deb_64/0610-set-permissions.hook.chroot | 2 -- .../normal/deb_64/6050-rename-kernel.hook.binary | 13 +++++++++++-- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/iso_configs/hooks/normal/deb_64/0540-misc.hook.chroot b/iso_configs/hooks/normal/deb_64/0540-misc.hook.chroot index a84e199e..638f9cab 100755 --- a/iso_configs/hooks/normal/deb_64/0540-misc.hook.chroot +++ b/iso_configs/hooks/normal/deb_64/0540-misc.hook.chroot @@ -4,20 +4,26 @@ wget -P /opt https://github.com/minbrowser/min/releases/download/v1.32.1/min-1.32.1-amd64.deb dpkg -i /opt/min-1.32.1-amd64.deb apt-get install -f +rm /usr/share/applications/min.desktop + # Install Plank apt install --yes plank + # set the plymouth on boot plymouth-set-default-theme -R lines + # install the Wallpapers apt install --yes pepermint-wallpapers + # Set the desktop base theme # Remove it first rm -f /etc/alternatives/desktop-theme + # Then re-add it ln -s /usr/share/desktop-base/lines-theme /etc/alternatives/desktop-theme # Remove the grub symlink for the background @@ -26,7 +32,6 @@ rm -f /etc/alternatives/desktop-grub ln -s /usr/share/desktop-base/active-theme/grub/pep-grub-16x9.png /etc/alternatives/desktop-grub - # This will install hblock - a local ad-blocker utility # https://github.com/hectorm/hblock # This does not enable it. The user has the choice to turn it on diff --git a/iso_configs/hooks/normal/deb_64/0610-set-permissions.hook.chroot b/iso_configs/hooks/normal/deb_64/0610-set-permissions.hook.chroot index be56048f..c6f1558a 100755 --- a/iso_configs/hooks/normal/deb_64/0610-set-permissions.hook.chroot +++ b/iso_configs/hooks/normal/deb_64/0610-set-permissions.hook.chroot @@ -9,13 +9,11 @@ # Or rewrite welcome.py to write to the .db WHICH user requested to disable this feature. # Set Permissions on desktop files # Desktop links -chmod 755 /usr/share/applications/Pephub.desktop chmod 755 /usr/share/applications/Welcome.desktop chmod 755 /usr/share/applications/plank.desktop chmod 755 /usr/share/applications/kumo.desktop chmod 755 /usr/share/applications/Install-peppermint.desktop # Executables -chmod 755 /usr/local/bin/hub chmod 755 /usr/local/bin/xDaily chmod 755 /usr/local/bin/kumo chmod 755 /usr/local/bin/welcome diff --git a/iso_configs/hooks/normal/deb_64/6050-rename-kernel.hook.binary b/iso_configs/hooks/normal/deb_64/6050-rename-kernel.hook.binary index f3e592aa..2147845e 100644 --- a/iso_configs/hooks/normal/deb_64/6050-rename-kernel.hook.binary +++ b/iso_configs/hooks/normal/deb_64/6050-rename-kernel.hook.binary @@ -1,7 +1,16 @@ #!/bin/bash -#John's note: this will not harm the other architectures. + +# These commands are typically used in the context of updating the +# initial ramdisk image and the kernel image for a live Linux system. +# The steps can be summarized as follows: +# Removal of the current boot files: initrd.img and vmlinuz are +# removed to clear out the old versions. +# Copying the updated versions: New versions of these files, +# which match the patterns initrd.img-* and vmlinuz-*, are copied +# to the standard names initrd.img and vmlinuz. + rm live/initrd.img rm live/vmlinuz cp live/initrd.img-* live/initrd.img -cp live/vmlinuz-* live/vmlinuz \ No newline at end of file +cp live/vmlinuz-* live/vmlinuz