Skip to content

Match vdpm's pacman moving to libexec/vdpm - #151

Merged
frangarcj merged 1 commit into
next-staged-buildfrom
next-vdpm-libexec-pacman
Aug 22, 2026
Merged

Match vdpm's pacman moving to libexec/vdpm#151
frangarcj merged 1 commit into
next-staged-buildfrom
next-vdpm-libexec-pacman

Conversation

@frangarcj

Copy link
Copy Markdown
Contributor

buildscripts — Match vdpm's pacman moving to libexec/vdpm

What does this change?

Updates scripts/create-core-package.sh, scripts/create-bootstrap-archive.sh, scripts/install-vdpm-bundle.sh, scripts/validate-core-package.sh, and their tests to expect pacman/pacman-conf at libexec/vdpm/ instead of bin/.

Why is this change needed?

Companion to vitasdk/vdpm's fix for vdpm#119, which moves pacman off bin/ so it stops shadowing a Linux distribution's own pacman on PATH. This repo's packaging pipeline hardcoded the old path in five places to split the SDK stage directory into the vitasdk-core and vdpm packages, and to validate both.

Testing

Ran tests/package/test-core-package.sh locally — full run, including installing both built packages into a real Arch Linux container and checking the dependency and file split — and tests/package/test-bootstrap-archive.sh. Both pass. Did not run tests/package/test-vdpm-bundle.sh's Windows leg (needs a real stage-1 SDK this environment doesn't have); its Unix leg, which this change touches, ran and passed as part of that same script before the unrelated Windows step was reached.

Compatibility

Depends on VDPM_TAG pointing at a vdpm release that carries the libexec move — it currently doesn't (pinned to v0.1.1, cut before that fix existed). Merging this before that release exists and the pin is bumped will break packaging with a missing-file error.

Third-party material

None.

AI assistance

  • Claude Sonnet 5

Additional context

Companion PR: vitasdk/vdpm#fix-pacman-path-collision (closes vdpm#119). Branched off next-staged-build, not master — this repo is still soaking on next per the release-candidate plan.

vdpm no longer installs pacman/pacman-conf under bin/, to stop them
shadowing a Linux distribution's own pacman on PATH. Depends on
VDPM_TAG pointing at a vdpm release that carries that change --
until then this SDK will fail packaging with a missing-file error.

@scribam scribam 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.

LGTM

@frangarcj
frangarcj merged commit 19b1123 into next-staged-build Aug 22, 2026
24 checks passed
frangarcj added a commit that referenced this pull request Aug 23, 2026
The release carrying pacman under libexec/vdpm, which the packaging
scripts already expect since #151. Built from source here, so only the
git tag is needed.
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