Skip to content

Building on Ubuntu 20.04 LTS / cloud-init parameter#68

Open
clebergnu wants to merge 3 commits into
cirros-dev:mainfrom
clebergnu:output_dir
Open

Building on Ubuntu 20.04 LTS / cloud-init parameter#68
clebergnu wants to merge 3 commits into
cirros-dev:mainfrom
clebergnu:output_dir

Conversation

@clebergnu

Copy link
Copy Markdown

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 <crosa@redhat.com>
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 <crosa@redhat.com>
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 <crosa@redhat.com>

@hrw hrw left a comment

Copy link
Copy Markdown
Collaborator

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.

done

[ $# -eq 2 ] || bad_Usage "must provide mode and output dir"
[ $# -eq 2 ] || bad_Usage "must provide mode and output_dir"

Copy link
Copy Markdown
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

Comment thread src/lib/cirros/ds/ec2
done

[ $# -eq 2 ] || bad_Usage "must provide mode and data dir"
[ $# -eq 2 ] || bad_Usage "must provide mode and output_dir"

Copy link
Copy Markdown
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/)

Comment thread src/lib/cirros/ds/nocloud
done

[ $# -eq 2 ] || bad_Usage "must provide mode and output dir"
[ $# -eq 2 ] || bad_Usage "must provide mode and output_dir"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here

Comment thread README.md
# 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
Copy Markdown
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
Copy Markdown
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

smoser commented Sep 27, 2022

Copy link
Copy Markdown
Member

@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

@smoser smoser left a comment

Copy link
Copy Markdown
Member

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. :-(

Comment thread README.md
# 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
Copy Markdown
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