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

docs: adding how to add language packs in autoinstall.yaml #815

Merged
merged 6 commits into from
Sep 10, 2024

Conversation

matthew-hagemann
Copy link
Collaborator

@matthew-hagemann matthew-hagemann commented Sep 9, 2024

Adding a section on how to install additional language packs to appear in GIS via running late-commands in the autoinstall.yaml

This is doubled up as its applicable to two flow's

Copy link
Contributor

@seb128 seb128 left a comment

Choose a reason for hiding this comment

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

Thanks for the work there, I've added a few ask for things to change or fix

docs/oem-provisioning-24_04_1.md Outdated Show resolved Hide resolved
docs/oem-provisioning-24_04_1.md Outdated Show resolved Hide resolved
docs/oem-provisioning-24_04_1.md Outdated Show resolved Hide resolved
docs/oem-provisioning-24_04_1.md Outdated Show resolved Hide resolved
docs/oem-provisioning-24_04_1.md Outdated Show resolved Hide resolved
Adding better comments to why packages are excluded conditionally
Remove unneeded exclusions
@matthew-hagemann
Copy link
Collaborator Author

Thanks for the review @seb128 🙂 I've simplified the conditions a little and documented them better. Skipping libreoffice language packs is not conditional based on if libreoffice-core is installed

Copy link
Contributor

@spydon spydon left a comment

Choose a reason for hiding this comment

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

Lgtm!

Copy link
Contributor

@seb128 seb128 left a comment

Choose a reason for hiding this comment

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

Thanks. I've requested one change inline, but I also don't understand the libreoffice handling there

If you check /usr/share/language-selector/data/pkg_depends the libreoffice packages will be returned by check-language-support --show-installed -l "$lang" if libreoffice-common is installed so we shouldn't need any special handling?

docs/oem-provisioning-24_04_1.md Outdated Show resolved Hide resolved
libreoffice packages only show up in --show-installed if libreoffice-common is installed, so no special handling is needed.
Copy link
Contributor

@seb128 seb128 left a comment

Choose a reason for hiding this comment

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

Thanks, that looks fine to me now. I just have one extra nitpick about the comments inline but feel free to commit once that's changed

docs/oem-provisioning-24_04_1.md Outdated Show resolved Hide resolved
@matthew-hagemann matthew-hagemann merged commit effca9c into canonical:main Sep 10, 2024
15 checks passed
github-actions bot pushed a commit that referenced this pull request Sep 10, 2024
Adding a section on how to install additional language packs to appear
in GIS via running late-commands in the `autoinstall.yaml`

This is doubled up as its applicable to two flow's
github-actions bot pushed a commit that referenced this pull request Sep 10, 2024
Adding a section on how to install additional language packs to appear
in GIS via running late-commands in the `autoinstall.yaml`

This is doubled up as its applicable to two flow's
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