Skip to content

Commit

Permalink
changes from review
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Dec 20, 2023
1 parent 8859f97 commit ba68b44
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions doc/testing_wsl.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ windows server can be linux unfriendly and we would like to test without any moc

### Creating Testing APPX

The easiest way for me is to use OBS. Find the target release for WSL image like `SUSE:SLE-15-SP6:Update:WSL`
The easiest way is to use OBS. Find the target release for WSL image like `SUSE:SLE-15-SP6:Update:WSL`
and branch there `kiwi-images-wsl` that is responsible for creation of appx. In your branch create package
yast2-firstboot ( as it is usually inherited from target and does not live in WSL subproject ) and copy there
modified sources with rake tarball. It is also mandatory to link or branch package `wsl-appx` as it ensures
that certificate used for appx matches with the one used in kiwi.
Another important think is to ensure that certificate for home repo is valid and not outdated. To check it use
`osc signkey --sslcert home:...` and if it is invalid use `osc signkey --sslcert --create home:jreidinger`.
`osc signkey --sslcert home:...` and if it is invalid use `osc signkey --sslcert --create home:...`.

### Installing Modified APPX

Just follow instructions on https://en.opensuse.org/WSL/Manual_Installation
If there are any issue appx installer gets quite useless error, so use help at https://en.opensuse.org/WSL/Debugging_Hints
Just follow instructions at https://en.opensuse.org/WSL/Manual_Installation
Appx installer reports quite useless error when there is any issue, so use help at https://en.opensuse.org/WSL/Debugging_Hints
2 changes: 1 addition & 1 deletion package/yast2-firstboot.changes
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-------------------------------------------------------------------
Thu Dec 14 20:38:43 UTC 2023 - Josef Reidinger <[email protected]>

- Allow selection WSL systemd pattern (jsc#PED-5644, jsc#PED-5099)
- Allow selecting WSL systemd pattern (jsc#PED-5644, jsc#PED-5099)
- 4.6.3

-------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/lib/y2firstboot/dialogs/wsl_product_selection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def help_text
_("<p>For enablement of systemd in WSL the WSL systemd pattern provides wsl.conf " \
"and /sbin/init adjustments. " \
"In that case the system needs to be registered as well. " \
"Also be aware that systemd enablement is in effect only after relaunch.</p>")
"Relaunch is required to use systemd.</p>")
end

private
Expand Down

0 comments on commit ba68b44

Please sign in to comment.