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

plymouth: drop pango and some themes #17

Merged

Conversation

MingliuYan
Copy link
Contributor

plymouth has a dependent chain like:

plymouth -> pango -> cairo -> virtual/egl, virtual/egl2

When PACKAGECONFIG 'pango' is enabled, it leads to all the above packages installed to initramfs-ostree-torizon-image, as a result, the initramfs size is 32M for apalis-imx8 machines.

While PACKAGECONFIG 'pango' is needed only for text rendering of user prompts (allowing user to input passwd and so on), we dont really need it, let's drop it.

Also we are only using spinner theme, let's drop the other themes.

By doing this, the initramfs size for a apalis-imx8 machine is reduced to 16M from 32M.

Fix: #16

plymouth has a dependent chain like:
```
plymouth -> pango -> cairo -> virtual/egl, virtual/egl2
```

When PACKAGECONFIG 'pango' is enabled, it leads to all the above
packages installed to initramfs-ostree-torizon-image, as a result, the
initramfs size is 32M for apalis-imx8 machines.

While PACKAGECONFIG 'pango' is needed only for text rendering of user
prompts (allowing user to input passwd and so on), we dont really need
it, let's drop it.

Also we are only using spinner theme, let's drop the other themes.

By doing this, the initramfs size for a apalis-imx8 machine is reduced
to 16M from 32M.

Fix: torizon#16

Signed-off-by: Ming Liu <ming.liu@toradex.com>
@jsrc27 jsrc27 merged commit 5b3e331 into torizon:kirkstone-6.x.y Feb 16, 2024
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.

initramfs-ostree-torizon-image is too big with unnecessary plymouth dependencies installed
3 participants