Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

KVM --disksize option to grow target disk image#172

Open
luke-jr wants to merge 1 commit into
devrandom:master from
luke-jr:disk_size
Open

KVM --disksize option to grow target disk image #172
luke-jr wants to merge 1 commit into
devrandom:master from
luke-jr:disk_size

Conversation

@luke-jr

@luke-jr luke-jr commented Apr 7, 2018

Copy link
Copy Markdown
Contributor

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.

Copy link
Copy Markdown
Owner

utACK

needs rebase

Comment thread 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

@devrandom devrandom May 1, 2018

Copy link
Copy Markdown
Owner

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?

Comment thread 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

@devrandom devrandom May 1, 2018

Copy link
Copy Markdown
Owner

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.

luke-jr commented Aug 23, 2018

Copy link
Copy Markdown
Contributor Author

Rebased, but changed it from a YML option to a command-line gbuild option, since it is primarily dependent on user cache size.

@luke-jr luke-jr changed the title (削除) Enable builds to set disk image size (only for KVM) (削除ここまで) (追記) KVM --disksize option to grow target disk image (追記ここまで) Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@devrandom devrandom devrandom left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /