mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
👷 update grub version
This commit is contained in:
1 file changed
+7
@@ -78,11 +78,18 @@ DefaultSession=gnome-xorg.desktop
|
||||
EOF
|
||||
}
|
||||
|
||||
change_grub_version() {
|
||||
local _version="$1"
|
||||
sed -i "s/CACHYOS_VERSION=\"GIT\"/CACHYOS_VERSION=\"${_version}\"/" ${src_dir}/archiso/grub/grub.cfg
|
||||
}
|
||||
|
||||
prepare_profile(){
|
||||
profile=$1
|
||||
|
||||
info "Profile: [%s]" "${profile}"
|
||||
|
||||
change_grub_version "$(date +%y%m%d)"
|
||||
|
||||
rm -f ${src_dir}/archiso/airootfs/etc/systemd/system/display-manager.service
|
||||
if [ "$profile" == "kde" ]; then
|
||||
cp ${src_dir}/archiso/packages_kde.x86_64 ${src_dir}/archiso/packages.x86_64
|
||||
|
||||
Reference in new issue
Block a user