You are not logged in.

#1 2020-04-08 06:47:41

amhairghin
Member
Registered: 2015-10-14
Posts: 63

Use zst as default in makepkg

Hi all,

I have a small question: If now all packages are distributed as tar.zst, why not configure `/etc/makepkg.conf` to use zst by default instead xz?

And yes I can open a bug to change the PKGEXT line, but prefer ask before here.

Greetings

Offline

#2 2020-04-08 06:54:27

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,559

Re: Use zst as default in makepkg

The packages in the Arch binary repos are being changed, that has nothing to do with /etc/makepkg.conf.

Offline

#3 2020-04-08 07:02:47

amhairghin
Member
Registered: 2015-10-14
Posts: 63

Re: Use zst as default in makepkg

Scimmia wrote:

The packages in the Arch binary repos are being changed, that has nothing to do with /etc/makepkg.conf.

Yes, but I say about packages that you make with makepkg command. With current configuration them are built as tar.xz.

Offline

#4 2020-04-08 07:57:40

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: Use zst as default in makepkg

You probably want them built without compression unless you have a reason to keep the package around after installation.

Offline

#5 2020-04-08 09:27:34

amhairghin
Member
Registered: 2015-10-14
Posts: 63

Re: Use zst as default in makepkg

Allan wrote:

You probably want them built without compression unless you have a reason to keep the package around after installation.

For speed, yes. But I'm thinking in consistence, if Arch Linux standard for packages is .tar.zst I think that makepkg should use .tar.zst as default.

Offline

#6 2020-04-08 12:33:32

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,529
Website

Re: Use zst as default in makepkg

amhairghin wrote:

But I'm thinking in consistence

Again, unless you keep those built package files around, there's nothing to be (in)consistent.  But in any case, they're your packages, by all means modify your makepkg.conf.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#7 2020-04-08 12:40:30

amhairghin
Member
Registered: 2015-10-14
Posts: 63

Re: Use zst as default in makepkg

Trilby wrote:
amhairghin wrote:

But I'm thinking in consistence

Again, unless you keep those built package files around, there's nothing to be (in)consistent.  But in any case, they're your packages, by all means modify your makepkg.conf.

Inconsistent from point of view that distro uses .tar.zst in packaging but .tar.xz in config.

Anyway is only a suggestion :-)

Offline

#8 2020-04-08 12:46:42

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: Use zst as default in makepkg

The information you're looking for to set this as a LOCAL default  is in the wiki, https://wiki.archlinux.org/index.php/Makepkg .

I keep built packages around in my own local repository and do use zst as default in makepkg.conf.

Last edited by Lone_Wolf (2020-04-08 13:12:09)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#9 2020-04-08 12:52:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,529
Website

Re: Use zst as default in makepkg

Lone_Wolf, the information the OP is asking about is not in the wiki.  While I think the OP's question is a bit silly, it's worth actually reading it before posting a response just to the thread title.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#10 2020-04-08 13:09:59

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: Use zst as default in makepkg

I did read it, but missed that OP wanted it as an archlinux default and not a local default.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB