mirror of
https://github.com/kvcache-ai/AgentENV.git
synced 2026-11-05 01:17:36 +00:00
[PR #288] [MERGED] fix(tools-image): bootstrap required paths for minimal images #318
Labels
No labels
bug
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/AgentENV#318
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/AgentENV/pull/288
Author: @zlzGithub-0801
Created: 9/14/2026
Status: ✅ Merged
Merged: 9/15/2026
Merged by: @yingdi-shan
Base:
main← Head:fix/pivot-init-minimal-image-bootstrap📝 Commits (1)
05533c0fix(tools-image): bootstrap required paths for minimal images📊 Changes
1 file changed (+14 additions, -0 deletions)
View changed files
📝
tools-image/pivot-init(+14 -0)📄 Description
What
Bootstrap required paths and the root user entry in
pivot-initfor minimal guest images.Why
Some minimal images lack
/usr/local/binor/etc/passwd, causing envd setup or commands that resolve the root user to fail.Related issue
N/A.
Scope and non-goals
Only initializes missing guest filesystem entries. It does not modify existing
/etc/passwdfiles or other user accounts.Design and behavior changes
pivot-initnow:/usr/local/binbefore linkingenvd./etc/passwdwith a root entry when the file is absent./bin/bashas root’s shell when available, otherwise/bin/sh.Compatibility and operations
Validation
make fmtmake clippymake test-unitmake -C services test(required whenservices/changes)maketargetRisks and reviewer notes
The fallback root entry is created only when
/etc/passwdis absent, so existing image account configuration remains unchanged.Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.