mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
fix: CachyOS Hello installs it: version-tag is CachyOS's newest release (Hello calls newer ones testing ISOs), the build date goes to /etc/steammachine-iso-build
This commit is contained in:
1 parent
56f5707c86
commit
f663ce8794
2 files changed
+9
-1
No files matched your search
@@ -23,3 +23,4 @@ archiso/airootfs/etc/edition-tag
|
|||||||
archiso/airootfs/etc/version-tag
|
archiso/airootfs/etc/version-tag
|
||||||
archiso/airootfs/usr/local/share/steamify/
|
archiso/airootfs/usr/local/share/steamify/
|
||||||
archiso/airootfs/usr/lib/libboost_*
|
archiso/airootfs/usr/lib/libboost_*
|
||||||
|
archiso/airootfs/etc/steammachine-iso-build
|
||||||
+8
-1
@@ -104,7 +104,14 @@ generate_version_tag() {
|
|||||||
local _profile="$1"
|
local _profile="$1"
|
||||||
local _version="$2"
|
local _version="$2"
|
||||||
if [ "$_profile" == "desktop" ]; then
|
if [ "$_profile" == "desktop" ]; then
|
||||||
echo "${_version}" > ${src_dir}/archiso/airootfs/etc/version-tag
|
# Steam Machine edition: CachyOS Hello won't install an ISO newer
|
||||||
|
# than CachyOS's newest release (it calls it a testing ISO), so the
|
||||||
|
# tag is that release, the one this build follows; the build's own
|
||||||
|
# date goes to /etc/steammachine-iso-build.
|
||||||
|
local _release
|
||||||
|
_release="$(curl -fsS --max-time 20 https://cachyos.org/versions.json | grep -o '"desktopISOVersion":"[0-9]*"' | grep -o '[0-9]\+')"
|
||||||
|
echo "${_release:-${_version}}" > ${src_dir}/archiso/airootfs/etc/version-tag
|
||||||
|
echo "${_version}" > ${src_dir}/archiso/airootfs/etc/steammachine-iso-build
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user