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

🐧 xz Compress initrd Image #830

Merged
merged 1 commit into from
Feb 7, 2023
Merged

Conversation

sdwilsh
Copy link
Contributor

@sdwilsh sdwilsh commented Feb 7, 2023

What this PR does / why we need it:
In the logs for debian images, dracut provides this warning:

dracut: *** Creating image file '/boot/initrd-6.1.0-3-amd64' ***
dracut: Cannot execute compression command 'xz', falling back to default
dracut: Using auto-determined compression method 'pigz'

This change adds xz-utils to debian images so that it can use xz compression. This was first discovered during the work in #821.

In the logs for debian images, `dracut` provides this warning:
```
dracut: *** Creating image file '/boot/initrd-6.1.0-3-amd64' ***
dracut: Cannot execute compression command 'xz', falling back to default
dracut: Using auto-determined compression method 'pigz'
```

This change adds `xz-utils` to debian images so that it can use `xz`
compression.  This was first discovered during the work in kairos-io#821.

Signed-off-by: Shawn Wilsher <[email protected]>
@netlify
Copy link

netlify bot commented Feb 7, 2023

Deploy Preview for kairos-io canceled.

Name Link
🔨 Latest commit ee866b4
🔍 Latest deploy log https://app.netlify.com/sites/kairos-io/deploys/63e1e4f1baedda0008765056

Copy link
Member

@mauromorales mauromorales left a comment

Choose a reason for hiding this comment

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

lgtm

@mauromorales mauromorales merged commit c1e2e90 into kairos-io:master Feb 7, 2023
@sdwilsh sdwilsh deleted the xz-debian branch February 7, 2023 15:08
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.

2 participants