-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
401 additions
and
0 deletions.
There are no files selected for viewing
56 changes: 56 additions & 0 deletions
56
KLV-Hyprland-Sway-CE/KLbuild_Void_hyprland_sway_0.39_BASE.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
#!/bin/bash | ||
# Sofiya Created: 06.01.2024 Licence: MIT | ||
# KLbuild_Void_hyprland_sway.sh version 1.00 -CE-5.3 | ||
# Revision date:06.25.2024 | ||
|
||
# General Build Instructions: | ||
# Create an empty directory at root of partition you want to bootfrom | ||
# For example: /KLV_hyprland | ||
# In a terminal opened at that bootfrom directory simply run this single script!!! ;-) | ||
|
||
# Fetch the build_firstrib_rootfs build parts: | ||
wget -c https://gitlab.com/sofija.p2018/kla-ot2/-/raw/main/KLA-Hyprland/huge_kernels/build_firstrib_rootfs.sh && chmod +x build_firstrib_rootfs.sh | ||
|
||
# rockedge minimal Void Linux build plugin used during the build (you can add to this plugin for whatever extras you want in your build) | ||
wget -c https://gitlab.com/sofija.p2018/kla-ot2/-/raw/main/KLA-Hyprland/Hyprland-sway-0.39.1_1/f_00_Void_wayland_hyprland_sway_0.39_no-kernelBASE.plug | ||
|
||
# Download the boot components: | ||
wget -c https://gitlab.com/sofija.p2018/kla-ot2/-/raw/main/KLA-Hyprland/huge_kernels/initrd-latest.gz -O initrd.gz # FR skeleton initrd | ||
wget -c https://gitlab.com/sofija.p2018/kla-ot2/-/raw/main/KLA-Hyprland/huge_kernels/vmlinuz | ||
wget -c https://gitlab.com/sofija.p2018/kla-ot2/-/raw/main/KLA-Hyprland/huge_kernels/00zdrv_vanilladpup_10.0.30.sfs # modules | ||
wget -c https://gitlab.com/sofija.p2018/kla-ot2/-/raw/main/KLA-Hyprland/huge_kernels/01fdrv_vanilladpup_10.0.30.sfs # firmware | ||
|
||
# Some useful FirstRib utilities in case you want to modify the initrd or the 07firstrib_rootfs | ||
# All these utilities have a --help option | ||
wget -c https://gitlab.com/sofija.p2018/kla-ot2/-/raw/main/KLA-Hyprland/FirstRib/wd_grubconfig && chmod +x wd_grubconfig # When run finds correct grub menu stanza for your system | ||
wget -c https://gitlab.com/sofija.p2018/kla-ot2/-/raw/main/KLA-Hyprland/FirstRib/modify_initrd_gz.sh && chmod +x modify_initrd_gz.sh # For 'experts' to modify initrd.gz | ||
wget -c https://gitlab.com/sofija.p2018/kla-ot2/-/raw/main/KLA-Hyprland/FirstRib/mount_chroot.sh && chmod +x mount_chroot.sh # To enter rootfs in a chroot | ||
wget -c https://gitlab.com/sofija.p2018/kla-ot2/-/raw/main/KLA-Hyprland/FirstRib/umount_chroot.sh && chmod +x umount_chroot.sh # to 'clean up mounts used by above mount_chroot.sh' | ||
wget -c https://gitlab.com/sofija.p2018/kla-ot2/-/raw/main/KLA-Hyprland/FirstRib/mount_chroot_umount.sh && chmod +x mount_chroot_umount.sh # combined mount and umount chroot... | ||
# wget -c https://gitlab.com/sofija.p2018/kla-ot2/-/raw/main/KLA-Hyprland/FirstRib/w_init && chmod +x w_init | ||
# wget -c https://gitlab.com/sofija.p2018/kla-ot2/-/raw/main/KLA-Hyprland/FirstRib/restore-sys && chmod +x restore-sys | ||
|
||
# Optional addon layers | ||
|
||
# Main KL addon containing the likes of gtkdialog, filemnt, UExtract, gxmessage, save2flash and more | ||
# save2flash works with command-line-only distros too | ||
wget -c https://gitlab.com/sofija.p2018/kla-ot2/-/raw/main/KLA-Hyprland/build_system/12KL_gtkdialogGTK3filemnt64.sfs | ||
|
||
# Build the Void Linux root filesystem to firstrib_rootfs directory | ||
# NOTE WELL: If you have an alternative f_plugin in your bootfrom directory (name must start with f_), | ||
# simply alter below command to use it | ||
./build_firstrib_rootfs.sh void default amd64 f_00_Void_wayland_hyprland_sway_0.39_no-kernelBASE.plug | ||
|
||
# Number the layer ready for booting | ||
mv firstrib_rootfs 07firstrib_rootfs | ||
|
||
# The only thing now to do is find correct grub stanza for your system | ||
printf "\nPress any key to run utility wd_grubconfig | ||
which will output suitable exact grub stanzas | ||
Use one of these with your pre-installed grub | ||
Press enter to finish\n" | ||
read choice | ||
./wd_grubconfig | ||
exit 0 | ||
|
||
|
Oops, something went wrong.