Add plymouth
This commit is contained in:
1 parent
c040ef60b9
commit
c1197a3f58
2 files changed
+58
-4
No files matched your search
+14
-4
@@ -30,6 +30,7 @@ arch_packages=(
|
|||||||
gum
|
gum
|
||||||
jq
|
jq
|
||||||
openssl
|
openssl
|
||||||
|
plymouth
|
||||||
tzupdate # This is technically an AUR package
|
tzupdate # This is technically an AUR package
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -96,10 +97,7 @@ printf '%s\n' "${arch_packages[@]}" >>"$build_cache_dir/packages.x86_64"
|
|||||||
# Need to do this from the cache_dir
|
# Need to do this from the cache_dir
|
||||||
cd $build_cache_dir
|
cd $build_cache_dir
|
||||||
for patch in /builder/patches/*.patch; do
|
for patch in /builder/patches/*.patch; do
|
||||||
# Skip profiledef.patch as it conflicts with offline/permissions.patch
|
git apply "$patch"
|
||||||
if [[ "$(basename "$patch")" != "profiledef.patch" ]]; then
|
|
||||||
git apply "$patch"
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
@@ -128,6 +126,18 @@ git clone -b $OMARCHY_INSTALLER_REF --single-branch https://github.com/$OMARCHY_
|
|||||||
mkdir -p "$build_cache_dir/airootfs/root/.local/share/applications/icons"
|
mkdir -p "$build_cache_dir/airootfs/root/.local/share/applications/icons"
|
||||||
cp /builder/icons/*.png "$build_cache_dir/airootfs/root/.local/share/applications/icons/"
|
cp /builder/icons/*.png "$build_cache_dir/airootfs/root/.local/share/applications/icons/"
|
||||||
|
|
||||||
|
# Copy plymouth theme to the system location
|
||||||
|
mkdir -p "$build_cache_dir/airootfs/usr/share/plymouth/themes/omarchy"
|
||||||
|
cp "$build_cache_dir/airootfs/root/omarchy/default/plymouth/"* "$build_cache_dir/airootfs/usr/share/plymouth/themes/omarchy/"
|
||||||
|
|
||||||
|
# Configure plymouth to use our theme
|
||||||
|
mkdir -p "$build_cache_dir/airootfs/etc/plymouth"
|
||||||
|
tee "$build_cache_dir/airootfs/etc/plymouth/plymouthd.conf" >/dev/null <<EOF
|
||||||
|
[Daemon]
|
||||||
|
Theme=omarchy
|
||||||
|
ShowDelay=0
|
||||||
|
EOF
|
||||||
|
|
||||||
# Copy the autostart script (we'll need to create an offline version)
|
# Copy the autostart script (we'll need to create an offline version)
|
||||||
cp /builder/cmds/autostart-offline.sh $build_cache_dir/airootfs/root/.automated_script.sh
|
cp /builder/cmds/autostart-offline.sh $build_cache_dir/airootfs/root/.automated_script.sh
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,44 @@
|
|||||||
|
--- a/airootfs/etc/mkinitcpio.conf.d/archiso.conf
|
||||||
|
+++ b/airootfs/etc/mkinitcpio.conf.d/archiso.conf
|
||||||
|
@@ -1,3 +1,4 @@
|
||||||
|
-HOOKS=(base udev microcode modconf kms memdisk archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs block filesystems keyboard)
|
||||||
|
+HOOKS=(base udev plymouth microcode modconf kms memdisk archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs block filesystems keyboard)
|
||||||
|
+MODULES=(i915 amdgpu radeon nouveau)
|
||||||
|
COMPRESSION="xz"
|
||||||
|
COMPRESSION_OPTIONS=(-9e)
|
||||||
|
|
||||||
|
--- a/grub/grub.cfg
|
||||||
|
+++ b/grub/grub.cfg
|
||||||
|
@@ -53,13 +53,13 @@ timeout_style=menu
|
||||||
|
|
||||||
|
menuentry "Arch Linux install medium (%ARCH%, ${archiso_platform})" --class arch --class gnu-linux --class gnu --class os --id 'archlinux' {
|
||||||
|
set gfxpayload=keep
|
||||||
|
- linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID%
|
||||||
|
+ linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% quiet splash
|
||||||
|
initrd /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img
|
||||||
|
}
|
||||||
|
|
||||||
|
menuentry "Arch Linux install medium with speakup screen reader (%ARCH%, ${archiso_platform})" --hotkey s --class arch --class gnu-linux --class gnu --class os --id 'archlinux-accessibility' {
|
||||||
|
set gfxpayload=keep
|
||||||
|
- linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% accessibility=on
|
||||||
|
+ linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% accessibility=on quiet splash
|
||||||
|
initrd /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img
|
||||||
|
}
|
||||||
|
|
||||||
|
--- a/syslinux/archiso_sys-linux.cfg
|
||||||
|
+++ b/syslinux/archiso_sys-linux.cfg
|
||||||
|
@@ -6,7 +6,7 @@ ENDTEXT
|
||||||
|
MENU LABEL Arch Linux install medium (x86_64, BIOS)
|
||||||
|
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux
|
||||||
|
INITRD /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
|
||||||
|
-APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID%
|
||||||
|
+APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% quiet splash
|
||||||
|
|
||||||
|
# Accessibility boot option
|
||||||
|
LABEL arch64speech
|
||||||
|
@@ -17,4 +17,4 @@ ENDTEXT
|
||||||
|
MENU LABEL Arch Linux install medium (x86_64, BIOS) with ^speech
|
||||||
|
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux
|
||||||
|
INITRD /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
|
||||||
|
-APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% accessibility=on
|
||||||
|
+APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% accessibility=on quiet splash
|
||||||
Reference in new issue
Block a user