deb build: add postinst for libpcp-import2 /run/pmimport creation - #2688
Conversation
Fixes QA test 2007.
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe Debian package now installs a post-installation script. The script runs ChangesDebian post-install integration
Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@debian/libpcp-import2.postinst`:
- Around line 9-14: Update the systemd-tmpfiles failure branch in the
post-install script to exit with status 1 after reporting the failure, instead
of continuing to the unconditional success exit. Preserve the existing warning
and successful path behavior.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Repository UI (inherited), Organization UI (inherited)
Review profile: CHILL
Plan: Pro Plus
Run ID: 4083c7c9-c4bb-48b7-9dbd-0883ab7fc633
📒 Files selected for processing (2)
debian/GNUmakefiledebian/libpcp-import2.postinst
Fixes QA test 2007.