-
Notifications
You must be signed in to change notification settings - Fork 232
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
make-base-vm should upgrade OS before writing base image #91
Comments
Another possibility that comes to mind would be to simply have a way of running the upgrade within the base image... Any reason that wouldn't be feasible? |
Any progress on this? The Bitcoin Core 0.11.0 release cycle has started, with the first RC tagged, and if at all possible I'd like to have this fixed (and ideally a way to upgrade an existing base, but that's less important) before I start doing 3 builds for each RC and then for the release. |
A simple workaround for now is to execute the following after an LXC
|
(this is equivalent to running |
That's not a good solution, because it's the state of a VM after a whole On Thu, Jun 4, 2015 at 10:14 PM, Dev Random [email protected]
|
Actually, what about doing that copy after a manual make-clean-vm plus a On Thu, Jun 4, 2015 at 10:17 PM, Micha Bailey [email protected] wrote:
|
I was just going to suggest that. Here's the outline of the commands:
|
Is there anything in On Thu, Jun 4, 2015 at 10:35 PM, Dev Random [email protected]
|
That's a good point. I just pushed a commit to make it idempotent: 7219c49 |
I seem to be getting an error, something about already having added a user, but it appears to be harmless. |
Right, I have a On 2015-06-05 07:22 AM, Michagogo wrote:
devrandom / Miron |
Hm. So now every time some packages are updated, gbuild fails unless I go through that process of upgrading the base container again. |
What is the exact error? |
I don't have it written down. I think it failed when running grab-packages On Wednesday, July 1, 2015, Dev Random [email protected] wrote:
|
Agreed - a command or flag to upgrade the base image would be great. Or it could do the upgrading in the base image before making the copy. Seems that debootstrap installs the earliest version of every package, so when the distribution grows older, more and more packages have to be updated every time, making the build take longer than necessary. |
Can this be closed, because gbuild has an upgrade flag? |
No -- it's still something that needs to be done on each build, and it On Monday, October 10, 2016, Joseph Bisch [email protected] wrote:
|
I agree. There is a workaround for this, but having a built-in command to upgrade the base image (instead of the copy) would be nice. This costs a lot of time every run, especially with LXC which starts off with a un-upgraded distribution. |
(#120 would help with that last part. I meant to research and figure out On Tuesday, October 11, 2016, Wladimir J. van der Laan <
|
Among repetitive time-consuming actions I saw the locales built 2 times at least (I don't know why all those languages are needed in the first place, but that's another issue). |
Reported in #86 by @Michagogo. This slows down builds.
The text was updated successfully, but these errors were encountered: