Skip to content

feat(wsl): add POSIX text/scripting baseline tools#17794

Open
mfrw wants to merge 1 commit into
4.0from
mfrw/wsl-posix
Open

feat(wsl): add POSIX text/scripting baseline tools#17794
mfrw wants to merge 1 commit into
4.0from
mfrw/wsl-posix

Conversation

@mfrw

@mfrw mfrw commented Jun 24, 2026

Copy link
Copy Markdown
Member

The WSL image list enumerates user-facing basics explicitly (tar, which,
less, curl, file) but omitted several classic POSIX text-processing and
scripting tools that scripts and interactive users universally assume.

Add them so they are guaranteed present rather than relying on transitive
dependencies of a minimal install:

  • gawk (awk)
  • diffutils (diff, cmp)
  • findutils (find, xargs)
  • patch
  • xz (.tar.xz is one of the dominant tarball format)
  • grep
  • sed
  • gzip (gzip, gunzip, zcat)

Signed-off-by: Muhammad Falak R Wani falakreyaz@gmail.com

The WSL image list enumerates user-facing basics explicitly (tar, which,
less, curl, file) but omitted several classic POSIX text-processing and
scripting tools that scripts and interactive users universally assume.

Add them so they are guaranteed present rather than relying on transitive
dependencies of a minimal install:

  - gawk      (awk)
  - diffutils (diff, cmp)
  - findutils (find, xargs)
  - patch
  - xz        (.tar.xz is the dominant tarball format)
  - grep
  - sed
  - gzip      (gzip, gunzip, zcat)

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
@mfrw mfrw requested a review from a team as a code owner June 24, 2026 08:44
Copilot AI review requested due to automatic review settings June 24, 2026 08:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR augments the Azure Linux WSL image package list (base/images/wsl/wsl.kiwi) by explicitly adding several classic POSIX text-processing and scripting tools. The WSL image already enumerates user-facing basics (tar, which, less, curl, file), and this change ensures core utilities are guaranteed present rather than relying on transitive dependencies of a minimal install.

Changes:

  • Adds 8 packages to the <packages type="image"> block: diffutils, findutils, gawk, grep, gzip, patch, sed, xz.
  • Each new entry is inserted in alphabetical order, consistent with the surrounding list, and introduces no duplicates.
  • All added package names resolve to existing, buildable components in the distro (specs/), with name= references matching real RPM package names.

@mfrw mfrw left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jperrin for awareness

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants