Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions create-targz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ dnf update --refresh
EOF

echo "##[section] 'Install MESA"
declare -a mesa_version=('24.1.2-7_wsl.fc40' '24.2.5-1_wsl_2.fc41' '25.0.4-2_wsl_3.fc42')
declare -a mesa_version=('24.1.2-7_wsl.fc40' '24.2.5-1_wsl_2.fc41' '25.0.4-2_wsl_3.fc42' '25.1.0-1_wsl_4.fc43')
local i=$((${#mesa_version[@]} - 1))
systemd-nspawn -q --resolv-conf="replace-host" -D "${TMPDIR}"/dist --pipe /bin/bash <<EOF
dnf -y install 'dnf-command(versionlock)'
Expand Down Expand Up @@ -234,7 +234,7 @@ function main() {

mkdir -p "${TMPDIR}"

version_id=${3:-42}
version_id=${3:-43}
# shellcheck source=linux_files/os-release-39
source "linux_files/os-release-${version_id}"

Expand Down
2 changes: 1 addition & 1 deletion debootstrap_architecture_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
mkdir rootfs
displayName: 'Creating rootfs folder'

- script: sudo bash create-targz.sh $(ARCH) "$PWD/rootfs" 42
- script: sudo bash create-targz.sh $(ARCH) "$PWD/rootfs" 43
displayName: 'Build image'

- script: |
Expand Down
14 changes: 14 additions & 0 deletions linux_files/os-release-43
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
NAME="Fedora Remix for WSL"
VERSION="43"
ID=fedoraremixforwsl
ID_LIKE=fedora
VERSION_ID=43
PLATFORM_ID="platform:f43"
PRETTY_NAME="Fedora Remix for WSL"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:43"
HOME_URL="https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL"
SUPPORT_URL="https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL"
BUG_REPORT_URL="https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL/issues"
PRIVACY_POLICY_URL="https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL/blob/master/PRIVACY.md"
FEDORA_REMIX_VERSION=43.0.0
8 changes: 4 additions & 4 deletions linux_files/upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ sudo chmod +x /usr/local/bin/install-desktop.sh
# Install mesa
source /etc/os-release

declare -a mesa_version=('24.1.2-7_wsl.fc40' '24.2.5-1_wsl_2.fc41' '25.0.4-2_wsl_3.fc42')
declare -a target_version=('40' '41' '42')
declare -a mesa_version=('24.1.2-7_wsl.fc40' '24.2.5-1_wsl_2.fc41' '25.0.4-2_wsl_3.fc42' '25.1.0-1_wsl_4.fc43')
declare -a target_version=('40' '41' '42' '43')
declare -i length=${#mesa_version[@]}

for ((i = 0; i < length; i++)); do
Expand All @@ -78,8 +78,8 @@ if [[ $(sudo dnf -y copr list | grep -c "wslutilities/wslu") == 0 ]]; then
(
source /etc/os-release

if [[ ${VERSION_ID} -gt 41 ]]; then
sudo dnf -y copr enable wslutilities/wslu "${ID_LIKE}"-41-"$(uname -m)"
if [[ ${VERSION_ID} -gt 42 ]]; then
sudo dnf -y copr enable wslutilities/wslu "${ID_LIKE}"-42-"$(uname -m)"
else
sudo dnf -y copr enable wslutilities/wslu "${ID_LIKE}"-"${VERSION_ID}"-"$(uname -m)"
fi
Expand Down