Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

busybox/init: copy and mount system image without slashes when SYSTEM_TORAM is yes #1305

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

baselsayeh
Copy link

@baselsayeh baselsayeh commented Feb 28, 2025

Useful when SYSTEM_TORAM is set to yes and IMAGE_SYSTEM is at a non-standard location and in a subfolder (path contains a /), because otherwise it will fail (the copy will fail because it will try to copy to a non-existent folder, and so does the mount after it)

Example boot parameters:
SYSTEM_IMAGE=/rocknix_system/IMAGE toram

Either that, or detect if IMAGE_SYSTEM contains forward slashes, and create recursive directories in /dev/

@baselsayeh baselsayeh force-pushed the dev branch 2 times, most recently from cf41c22 to f71af01 Compare March 1, 2025 15:49
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.

1 participant