-
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
KVM --disksize option to grow target disk image #172
base: master
Are you sure you want to change the base?
Conversation
utACK needs rebase |
target-bin/complete-resize.sh
Outdated
|
||
DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -y install expect-dev parted | ||
swapoff -a | ||
{ cat <<\EOF; sleep 1; while pidof parted; do sleep 1; done; } | unbuffer -p parted /dev/vda |
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.
why was there a need for this wait?
target-bin/complete-resize.sh
Outdated
DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -y install expect-dev parted | ||
swapoff -a | ||
{ cat <<\EOF; sleep 1; while pidof parted; do sleep 1; done; } | unbuffer -p parted /dev/vda | ||
rm 2 |
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.
is this swap? a bit worried it might break some builds that were on the edge with memory. are you thinking swap is generally not needed?
This is needed for users with larger caches.
Rebased, but changed it from a YML option to a command-line gbuild option, since it is primarily dependent on user cache size. |
Trying to build Talos II firmware in gitian, but hitting disk space issues.
For now, this lets the yml file choose a larger disk size. Only supported in KVM.