Skip to content
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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

clebergnu
Copy link

This includes a couple of updates to build on Ubuntu 20.04 LTS, and cloud-init scripts parameters standardization.

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]>
Copy link
Collaborator

@hrw hrw left a 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"
Copy link
Collaborator

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"
Copy link
Collaborator

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"
Copy link
Collaborator

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.
Copy link
Collaborator

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

Copy link
Member

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 ?

@smoser
Copy link
Member

smoser commented Sep 27, 2022

@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

Copy link
Member

@smoser smoser left a 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.
Copy link
Member

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants