You are not logged in.

#1 2021-03-06 06:48:14

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

[SOLVED] mkinitcpio default compression

Just noting the config file still contends gzip as default, but zstd truly is.

pacman -Qi mkinitcpio
Name            : mkinitcpio
Version         : 30-1
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"
#COMPRESSION="zstd"
# mkinitcpio -P
==> Starting build: 5.10.20-1-lts
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts.img
==> Image generation successful
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
==> Image generation successful
==> Starting build: 5.12.0-rc1-1-mainline
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-mainline.img
==> Image generation successful
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-mainline-fallback.img
==> Image generation successful
==> Starting build: 5.11.3-arch1-1
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
mkinitcpio -P  59.94s user 39.60s system 111% cpu 1:29.64 total

Last edited by WFV (2021-03-06 17:55:15)


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#2 2021-03-06 07:14:07

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: [SOLVED] mkinitcpio default compression

Not true for latest version, check the git repo...

Btw, even if this was a thing, the forums are no place for it...


My reposSome snippets

Heisenberg might have been here.

Offline

#3 2021-03-06 07:15:05

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 596

Re: [SOLVED] mkinitcpio default compression

That comment in /etc/mkinitcpio.conf means nothing if you haven't merged /etc/mkinitcpio.conf.pacnew after upgrading to mkinitcpio 30-1.

Offline

#4 2021-03-06 07:16:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] mkinitcpio default compression


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2021-03-06 17:54:38

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

Re: [SOLVED] mkinitcpio default compression

AH! thought i had but there it is /etc/mkinitcpio.pacnew doh! I very much regret the noise and apologize.


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

Board footer

Powered by FluxBB