SliTaz SliTaz Forum

You are not logged in.

#1 2015-06-04 07:58:30

poncho
Member
Registered: 2014-03-14
Posts: 23

[4.0][TazLiTo] Run Script before rootfs compressing

Hi,

I want to clean up the rootfs some more before it gets compressed be TazLiTo. So I want to run a script before compression starts. How can I do it?

Offline

#2 2015-06-04 09:14:10

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: [4.0][TazLiTo] Run Script before rootfs compressing

Create the script /etc/tazlito/WantYouWant.rootfs

See http://hg.slitaz.org/tazlito/file/2d5213a11839/tazlito#l438

http://hg.slitaz.org/tazlito/file/2d5213a11839/tazlito#l155

Tazlito look for 3 custom script types

/etc/tazlito/*.rootfs before compressing the rootfs

/etc/tazlito/*.iso    before creating the ISO file

/etc/tazlito/*.final  after everything is done (used by the slitaz-loram package,

see http://hg.slitaz.org/wok/file/c980ebbdacbb/slitaz-loram/stuff/loram.final#l1 )

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]