phase-M M47b: strip linux- for separate-dir kernel specs#163
Merged
Conversation
M47 fixed linux-esx/rt (Name="linux" via shared SPECS/linux/ dir, which already strips "linux-"). linux-api-headers/linux-secure/linux-aws live in their OWN spec dirs, so Name != "linux" and the Name-token step never strips "linux-"; "linux-6.1.173" kept its prefix and the no-alpha filter dropped it -> empty col5. PS adds "linux-" to $replace for the whole family (L4031). Added the explicit "linux-" strip token for the separate-dir kernel specs. Verified locally: linux-api-headers now emits 6.1.173 + col6 = PS. FRD: FRD-011 ADR: ADR-0001 PS-source: photonos-package-report.ps1 L 4031, L 4210-4219 Parity: strict Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
M47 fixed linux-esx/rt (Name='linux' via SPECS/linux/ → linux- already stripped). linux-api-headers (own dir) has Name='linux-api-headers', so 'linux-6.1.173' kept its prefix → no-alpha filter dropped it → empty. PS adds 'linux-' to $replace for the family (L4031). Added explicit 'linux-' strip for the separate-dir kernel specs. Verified locally: linux-api-headers → 6.1.173 + col6 = PS. build+ctest green.
FRD: FRD-011 · ADR: ADR-0001 · PS-source: L4031,L4210-4219 · Parity: strict
🤖 Generated with Claude Code