Skip to content

Commit

Permalink
🐧 xz Compress initrd Image (#830)
Browse files Browse the repository at this point in the history
`xz` Compress initrd Image

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.

Signed-off-by: Shawn Wilsher <[email protected]>
  • Loading branch information
sdwilsh authored Feb 7, 2023
1 parent 9b34a0b commit c1e2e90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions images/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ RUN apt install -y \
sudo \
systemd \
systemd-sysv \
xz-utils \
&& apt-get clean

RUN ln -s /usr/sbin/grub-install /usr/sbin/grub2-install
Expand Down

0 comments on commit c1e2e90

Please sign in to comment.