-
Notifications
You must be signed in to change notification settings - Fork 33
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
Building on Ubuntu 20.04 LTS / cloud-init parameter #68
base: main
Are you sure you want to change the base?
Conversation
There are parameters and variables and mentions about "output_d", "output_dir", "output dir" and "data dir", but they refer to the same thing. Let's use a single name across them all to improve the user experience and code readability. Signed-off-by: Cleber Rosa <[email protected]>
Both 18.04 LTS and 20.04 LTS are equally capable of building cirros, so let's document this fact. Signed-off-by: Cleber Rosa <[email protected]>
Some minimal systems (including the official container images) won't have those necessary packages installed. Let's add them to the system to allow for a successful build. Signed-off-by: Cleber Rosa <[email protected]>
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.
Would be nice to get it updated.
@@ -168,7 +168,7 @@ while [ $# -ne 0 ]; do | |||
shift; | |||
done | |||
|
|||
[ $# -eq 2 ] || bad_Usage "must provide mode and output dir" | |||
[ $# -eq 2 ] || bad_Usage "must provide mode and output_dir" |
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.
here I would leave as it was
@@ -110,7 +110,7 @@ while [ $# -ne 0 ]; do | |||
shift; | |||
done | |||
|
|||
[ $# -eq 2 ] || bad_Usage "must provide mode and data dir" | |||
[ $# -eq 2 ] || bad_Usage "must provide mode and output_dir" |
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.
similar here (with s/data/output/)
@@ -130,7 +130,7 @@ while [ $# -ne 0 ]; do | |||
shift; | |||
done | |||
|
|||
[ $# -eq 2 ] || bad_Usage "must provide mode and output dir" | |||
[ $# -eq 2 ] || bad_Usage "must provide mode and output_dir" |
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.
and here
@@ -24,7 +24,7 @@ Resulting images can be booted using QEMU. Several ways of booting are provided: | |||
|
|||
# Build instructions | |||
|
|||
The following works on Ubuntu 18.04 LTS, running on x86_64. Native building for other architectures is not recommended. Support for building under other distributions is limited and not tested. | |||
The following works on Ubuntu 18.04 LTS and 20.04 LTS, running on x86_64. Native building for other architectures is not recommended. Support for building under other distributions is limited and not tested. |
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.
this commit can be dropped
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.
+1 . can you drop this commit ?
@clebergnu i'm fine to take the addition of package dependencies. Could you verify that is still needed (and correct names). We're building on 22.04 now. Thanks |
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.
If you can drop the 20.04 comment commit, then the others here are fine and i'll land it.
sorry for way slow review process. :-(
@@ -24,7 +24,7 @@ Resulting images can be booted using QEMU. Several ways of booting are provided: | |||
|
|||
# Build instructions | |||
|
|||
The following works on Ubuntu 18.04 LTS, running on x86_64. Native building for other architectures is not recommended. Support for building under other distributions is limited and not tested. | |||
The following works on Ubuntu 18.04 LTS and 20.04 LTS, running on x86_64. Native building for other architectures is not recommended. Support for building under other distributions is limited and not tested. |
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.
+1 . can you drop this commit ?
This includes a couple of updates to build on Ubuntu 20.04 LTS, and cloud-init scripts parameters standardization.