Skip to content

Commit

Permalink
Update configuration for Fedora Remix 41 and fix ping permissions
Browse files Browse the repository at this point in the history
Added os-release file for Fedora Remix 41 and updated script to handle new version. Also fixed ping permissions by setting necessary capabilities.
  • Loading branch information
crramirez committed Oct 30, 2024
1 parent 17af766 commit 7792aea
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions create-targz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ EOF
echo "##[section] Fix ping"
systemd-nspawn -q --resolv-conf="replace-host" -D "${TMPDIR}"/dist --pipe /bin/bash <<EOF
chmod u+s "$(command -v ping)"
setcap cap_net_raw+ep "$(command -v ping)"
EOF

echo "##[section] Copy dnf.conf"
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" 40
- script: sudo bash create-targz.sh $(ARCH) "$PWD/rootfs" 41
displayName: 'Build image'

- script: |
Expand Down
14 changes: 14 additions & 0 deletions linux_files/os-release-41
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
NAME="Fedora Remix for WSL"
VERSION="41"
ID=fedoraremixforwsl
ID_LIKE=fedora
VERSION_ID=41
PLATFORM_ID="platform:f41"
PRETTY_NAME="Fedora Remix for WSL"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:41"
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=41.0.0

0 comments on commit 7792aea

Please sign in to comment.