Fix vlabel

This commit is contained in:
Ward from fusion-voyager-3 2024-12-19 17:45:11 +03:00
parent 721b2def81
commit 54116cc36d
13 changed files with 21 additions and 14 deletions

View File

@ -31,7 +31,7 @@ jobs:
if_key_exists: replace if_key_exists: replace
- name: Set ISO Info - name: Set ISO Info
run: sed "s/#DISTNAME#/PikaOS-Canary-COSMO/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh run: sed "s/#DISTNAME#/PikaOS-Canary-COSMO/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh && sed "s/#IS_ISO_NVIDIA#/false/g" -i ./info.sh
- name: Get ISO Build Dependencies - name: Get ISO Build Dependencies
run: ./get_iso_build_dep.sh run: ./get_iso_build_dep.sh

View File

@ -31,7 +31,7 @@ jobs:
if_key_exists: replace if_key_exists: replace
- name: Set ISO Info - name: Set ISO Info
run: sed "s/#DISTNAME#/PikaOS-Canary/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh run: sed "s/#DISTNAME#/PikaOS-Canary/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh && sed "s/#IS_ISO_NVIDIA#/false/g" -i ./info.sh
- name: Get ISO Build Dependencies - name: Get ISO Build Dependencies
run: ./get_iso_build_dep.sh run: ./get_iso_build_dep.sh

View File

@ -31,7 +31,7 @@ jobs:
if_key_exists: replace if_key_exists: replace
- name: Set ISO Info - name: Set ISO Info
run: sed "s/#DISTNAME#/PikaOS-Canary-NVIDIA/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh run: sed "s/#DISTNAME#/PikaOS-Canary-NVIDIA/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh && sed "s/#IS_ISO_NVIDIA#/true/g" -i ./info.sh
- name: Get ISO Build Dependencies - name: Get ISO Build Dependencies
run: ./get_iso_build_dep.sh run: ./get_iso_build_dep.sh

View File

@ -31,7 +31,7 @@ jobs:
if_key_exists: replace if_key_exists: replace
- name: Set ISO Info - name: Set ISO Info
run: sed "s/#DISTNAME#/PikaOS-Nest-COSMO/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh run: sed "s/#DISTNAME#/PikaOS-Nest-COSMO/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh && sed "s/#IS_ISO_NVIDIA#/false/g" -i ./info.sh
- name: Get ISO Build Dependencies - name: Get ISO Build Dependencies
run: ./get_iso_build_dep.sh run: ./get_iso_build_dep.sh

View File

@ -31,7 +31,7 @@ jobs:
if_key_exists: replace if_key_exists: replace
- name: Set ISO Info - name: Set ISO Info
run: sed "s/#DISTNAME#/PikaOS-Nest/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh run: sed "s/#DISTNAME#/PikaOS-Nest/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh && sed "s/#IS_ISO_NVIDIA#/false/g" -i ./info.sh
- name: Get ISO Build Dependencies - name: Get ISO Build Dependencies
run: ./get_iso_build_dep.sh run: ./get_iso_build_dep.sh

View File

@ -31,7 +31,7 @@ jobs:
if_key_exists: replace if_key_exists: replace
- name: Set ISO Info - name: Set ISO Info
run: sed "s/#DISTNAME#/PikaOS-Nest-NVIDIA/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh run: sed "s/#DISTNAME#/PikaOS-Nest-NVIDIA/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh && sed "s/#IS_ISO_NVIDIA#/true/g" -i ./info.sh
- name: Get ISO Build Dependencies - name: Get ISO Build Dependencies
run: ./get_iso_build_dep.sh run: ./get_iso_build_dep.sh

View File

@ -31,7 +31,7 @@ jobs:
if_key_exists: replace if_key_exists: replace
- name: Set ISO Info - name: Set ISO Info
run: sed "s/#DISTNAME#/PikaOS-Canary-COSMO/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh run: sed "s/#DISTNAME#/PikaOS-Canary-COSMO/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh && sed "s/#IS_ISO_NVIDIA#/false/g" -i ./info.sh
- name: Get ISO Build Dependencies - name: Get ISO Build Dependencies
run: ./get_iso_build_dep.sh run: ./get_iso_build_dep.sh

View File

@ -31,7 +31,7 @@ jobs:
if_key_exists: replace if_key_exists: replace
- name: Set ISO Info - name: Set ISO Info
run: sed "s/#DISTNAME#/PikaOS-Canary/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh run: sed "s/#DISTNAME#/PikaOS-Canary/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh && sed "s/#IS_ISO_NVIDIA#/false/g" -i ./info.sh
- name: Get ISO Build Dependencies - name: Get ISO Build Dependencies
run: ./get_iso_build_dep.sh run: ./get_iso_build_dep.sh

View File

@ -31,7 +31,7 @@ jobs:
if_key_exists: replace if_key_exists: replace
- name: Set ISO Info - name: Set ISO Info
run: sed "s/#DISTNAME#/PikaOS-Canary-NVIDIA/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh run: sed "s/#DISTNAME#/PikaOS-Canary-NVIDIA/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh && sed "s/#IS_ISO_NVIDIA#/true/g" -i ./info.sh
- name: Get ISO Build Dependencies - name: Get ISO Build Dependencies
run: ./get_iso_build_dep.sh run: ./get_iso_build_dep.sh

View File

@ -31,7 +31,7 @@ jobs:
if_key_exists: replace if_key_exists: replace
- name: Set ISO Info - name: Set ISO Info
run: sed "s/#DISTNAME#/PikaOS-Nest-COSMO/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh run: sed "s/#DISTNAME#/PikaOS-Nest-COSMO/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh && sed "s/#IS_ISO_NVIDIA#/false/g" -i ./info.sh
- name: Get ISO Build Dependencies - name: Get ISO Build Dependencies
run: ./get_iso_build_dep.sh run: ./get_iso_build_dep.sh

View File

@ -31,7 +31,7 @@ jobs:
if_key_exists: replace if_key_exists: replace
- name: Set ISO Info - name: Set ISO Info
run: sed "s/#DISTNAME#/PikaOS-Nest/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh run: sed "s/#DISTNAME#/PikaOS-Nest/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh && sed "s/#IS_ISO_NVIDIA#/false/g" -i ./info.sh
- name: Get ISO Build Dependencies - name: Get ISO Build Dependencies
run: ./get_iso_build_dep.sh run: ./get_iso_build_dep.sh

View File

@ -31,7 +31,7 @@ jobs:
if_key_exists: replace if_key_exists: replace
- name: Set ISO Info - name: Set ISO Info
run: sed "s/#DISTNAME#/PikaOS-Nest-NVIDIA/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh run: sed "s/#DISTNAME#/PikaOS-Nest-NVIDIA/g" -i ./info.sh && sed "s/#ARCH#/amd64-v3/g" -i ./info.sh && sed "s/#IS_ISO_NVIDIA#/true/g" -i ./info.sh
- name: Get ISO Build Dependencies - name: Get ISO Build Dependencies
run: ./get_iso_build_dep.sh run: ./get_iso_build_dep.sh

11
info.sh
View File

@ -6,11 +6,18 @@ export LIVE_BOOT_LIVE_PATH="$LIVE_BOOT_DATA_PATH/live"
export ROOTFS_PATH="$LIVE_BOOT_PATH/rootfs" export ROOTFS_PATH="$LIVE_BOOT_PATH/rootfs"
export LIVE_HOSTNAME="pikaos" export LIVE_HOSTNAME="pikaos"
export ISO_DISTNAME="#DISTNAME#" export ISO_DISTNAME="#DISTNAME#"
export ISO_NVIDIA=#IS_ISO_NVIDIA#
export ISO_KERNEL="6.12.5-pikaos" export ISO_KERNEL="6.12.5-pikaos"
export ISO_ARCH="#ARCH#" export ISO_ARCH="#ARCH#"
export ISO_RELEASE="4.0" export ISO_RELEASE="4.0"
export ISO_DESKTOP="Hyprland" export ISO_DESKTOP="Hyprland"
export ISO_PATCH="2" export ISO_DESKTOP_ID="HL"
export ISO_LABEL="Pika HL $(date '+%y.%m.%d') $ISO_PATCH" export ISO_PATCH="1"
if [ "ISO_NVIDIA" = true ]
then
export ISO_LABEL="P"$ISO_DESKTOP_ID"N $(date '+%y.%m.%d') $ISO_PATCH"
else
export ISO_LABEL="P"$ISO_DESKTOP_ID" $(date '+%y.%m.%d') $ISO_PATCH"
fi
export ISO_IMAGE="$ISO_DISTNAME-$ISO_DESKTOP-$ISO_RELEASE-$ISO_ARCH-$(date '+%y.%m.%d')-$ISO_PATCH" export ISO_IMAGE="$ISO_DISTNAME-$ISO_DESKTOP-$ISO_RELEASE-$ISO_ARCH-$(date '+%y.%m.%d')-$ISO_PATCH"
export LIVE_BOOT_VOLUME_NAME="$ISO_DISTNAME-$ISO_DESKTOP-$ISO_RELEASE-$ISO_ARCH-$ISO_PATCH" export LIVE_BOOT_VOLUME_NAME="$ISO_DISTNAME-$ISO_DESKTOP-$ISO_RELEASE-$ISO_ARCH-$ISO_PATCH"