-
Notifications
You must be signed in to change notification settings - Fork 6
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
Rocket needs the stage1.aci file in the same location as the rkt binary #5
Conversation
@rasschaert Interesting bug! However, I don't believe putting If I didn't understand the nature of the bug, I'm open to being convinced otherwise. |
And actually, @jonboulle mentioned the exact fix here rkt/rkt#457 (comment) If you go ahead and implement that, I'll gladly merge the fix :) |
As far as I can tell the the code that tells rkt where stage1.aci is can't be changed with a build option. It assumes stage1.aci is in the same directory as the rkt binary unless the --stage1-image option is given on the command line. Do you reckon I should open an issue upstream to add that option to the build script? |
@rasschaert absolutely, this is a blocking upstream fix. |
Filed at rkt/rkt#520 |
Hmm, what does line 58 do, then? https://github.com/coreos/rocket/blob/68a0c0b6567a3e9b2feb4fbf476f1730f27b6fb5/rkt/run.go#L58 |
They added the option to specify your own stage1 file at runtime:
Without that option rkt just dies with:
There doesn't appear to be a build option to change the default location where rkt looks for the stage1 file. |
Sorry about that guys - just fixed upstream. You'll just need to set |
(also to be clear; this is on master now, and will make it into the next tagged release, probably next week) |
@jonboulle thanks for the quick fix! @rasschaert would you like to update the patch so we have it ready for the release? |
Been looking into it. The source archive doesn't seem like a good base to build on because of rkt/rkt#522. Probably best to wait until that gets resolved or to go forward using a git clone and check out the correct tag. |
There's rocket-git which isn't maintained by me, you can try to ping the maintainer about it. |
It'd be nice to have a reproducible package for the tagged releases, like what you had before. When building from the source .tar.gz or a git tag, you can even support other architectures. 😃 |
Updated the PKGBUILD for rocket again so that it builds from the source archive and sets Also took the liberty of adding myself as a contributor at the top of the file. |
@rasschaert looks great, will test and merge soon :) Thanks! |
Rocket needs the stage1.aci file in the same location as the rkt binary
I should probably have bumped pkgrel to 2, since you had already put out a PKGBUILD on AUR for v0.3.2. Want another PR for that or will you just edit that in yourself? |
See rkt/rkt#457 (comment)