Compressing the DevX using xz [SOLVED]

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
Jasper
Posts: 2067
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 854 times
Been thanked: 480 times

Compressing the DevX using xz [SOLVED]

Post by Jasper »

Hi there

I wanted to update an application in the Fossapup64-95 DevX SFS.

I unpacked it and then added the new application.

I used Packit to create a SFS file. Which was successful.

Image

I know that we use xz as the compressor and would like to do so and hopefully make my new SFS smaller.

The original file was only 155mb and my updated application is only 1mb.

Thanks in advance!

Last edited by Jasper on Sun May 14, 2023 1:03 pm, edited 1 time in total.
dogcat
Posts: 262
Joined: Fri Feb 18, 2022 11:14 pm
Has thanked: 70 times
Been thanked: 121 times

Re: Compressing the DevX using xz

Post by dogcat »

Hi Jasper

Replace the "Your-DEVX-Directory" and "Your-DEVX-Directory.sfs" below with the directory you will be using and file name you will be creating .

normal compress

Code: Select all

mksquashfs Your-DEVX-Directory/ Your-DEVX-Directory.sfs -comp xz

max compress

Code: Select all

mksquashfs Your-DEVX-Directory/ Your-DEVX-Directory.sfs -noappend -b 1M -comp xz -Xbcj x86 -Xdict-size 100%

This is in done terminal. mksquashfs is the terminal command.
You can get the syntax and file system build options with

Code: Select all

mksquashfs --help

Your-DEVX-Directory is the directory containing all the files of the uncompressed DEVX

Your-DEVX-Directory.sfs is the name of the sfs you want to create
Note that there is a space in front of Your-DEVX-Directory.sfs that separates it from the /

Have fun!

Μακάριοι οι καθαροί στην καρδιά * επειδή, θα δουν τον Θεό.

User avatar
amethyst
Posts: 2414
Joined: Tue Dec 22, 2020 6:35 am
Has thanked: 57 times
Been thanked: 504 times

Re: Compressing the DevX using xz

Post by amethyst »

Jasper wrote: Sun May 14, 2023 11:09 am

Hi there

I wanted to update an application in the Fossapup64-95 DevX SFS.

I unpacked it and then added the new application.

I used Packit to create a SFS file. Which was successful.

Image

I know that we use xz as the compressor and would like to do so and hopefully make my new SFS smaller.

The original file was only 155mb and my updated application is only 1mb.

Thanks in advance!

You can use xz compression with Packit, the option is there.

User avatar
Jasper
Posts: 2067
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 854 times
Been thanked: 480 times

Re: Compressing the DevX using xz

Post by Jasper »

@dogcat

Thank you, that worked perfectly :thumbup:

Image

@amethyst

Thank you too!! .......... I did not realise I could change the options available to me in PackIt

Image

Post Reply

Return to “Users”