Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Philip Freeman
image-builder
Commits
bcc12638
Commit
bcc12638
authored
Nov 26, 2019
by
Guido Gunther
Browse files
Make image size configurable
parent
6ee43689
Changes
1
Hide whitespace changes
Inline
Side-by-side
build-image
View file @
bcc12638
...
...
@@ -147,6 +147,8 @@ board_packages=
meta_yml
=
files/meta.yml
fk_machine
=
JENKINS_AUTH
=()
# in Megabytes
image_size
=
3800
while
getopts
":hb:d:T:B"
opt
;
do
case
${
opt
}
in
...
...
@@ -242,7 +244,7 @@ sudo pureos_board="${pureos_board}" \
FK_MACHINE
=
"
${
fk_machine
}
"
\
vmdebootstrap
\
--enable-dhcp
\
--verbose
--image
"
${
mainimg
}
"
--log
"tmp/
${
mainimg
}
.log"
--size
3800M
\
--verbose
--image
"
${
mainimg
}
"
--log
"tmp/
${
mainimg
}
.log"
--size
"
${
image_size
}
M"
\
--mirror
"
${
mirror
}
"
\
--configure-apt
\
--lock-root-password
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment