-
Notifications
You must be signed in to change notification settings - Fork 60
fix(pebble): place pebble in a separate location #528
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
Conversation
ade6f63 to
9cdaad1
Compare
The context here is that starting from Ubuntu 24.04, the 'base-files' package (and related chisel slices) provides "bin" as a symlink to "usr/bin". This breaks the previous "phantom" pebble part because it created "bin" as a regular directory which then conflicts with the symlink. Moving forward, the pebble binary is now placed in ".rock/bin/". This way we won't get further collisions and this reflects the fact that the location of the binary is, and should be seen, as an implementation detail.
9cdaad1 to
e7e0d7a
Compare
|
Spread failures are unrelated (the new test is passing) |
|
@linostar please take a look too (can't add you as a reviewer apparently) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very clean! well done.
just a couple of nits
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
|
Spread failures are expected |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice! lgtm thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I have but a small suggestion, which is to add the new path .rocks/bin to $PATH, so that if someone is running docker ... exec pebble <command> they wouldn't have to guess and supply the path to pebble there.
@cjdcordeiro do we want to support this case? |
I think we need that. @linostar can you confirm that with this PR, (FYI @sergiusens ) |
@cjdcordeiro Confirmed: |
|
Thanks. See https://warthogs.atlassian.net/browse/ROCKS-1088 |
The context here is that starting from Ubuntu 24.04, the 'base-files' package (and related chisel slices) provides "bin" as a symlink to "usr/bin". This breaks the previous "phantom" pebble part because it created "bin" as a regular directory which then conflicts with the symlink.
Moving forward, the pebble binary is now placed in ".rock/bin/". This way we won't get further collisions and this reflects the fact that the location of the binary is, and should be seen, as an implementation detail.