Page 1 of 1

How to collect files for a module

Posted: 27 Nov 2015, 17:27
by tmsg
I've just installed the latest version of Palemoon on my P64 build. Pleased to say that it went w/o a hitch. Next, I wanted to convert the whole beast into a module. In principle I have an idea how to do that: identify the files that were created during the install, copy them into a temp directory in /tmp and convert this temp directory into a module. I did so and the resulting module seems to work fine (I tested that with a second install of Porteus).

The creation of that module was pretty straightforward but only because the Palemoon website lists the files that get installed, so I knew where to look and what to look for. However, what about the general case when I've installed something and have no clear idea what files got copied into which directories?

Re: How to collect files for a module

Posted: 27 Nov 2015, 18:30
by brokenman
All slackware compliant packages have a file list in /var/log/packages
For anything else you can try: find /mnt/live/memory/changes -mmin 3 <-- find changes in files in the last 3 minutes.

Re: How to collect files for a module

Posted: 27 Nov 2015, 18:35
by Bogomips

Code: Select all

guest@porteus:~$ lsxzm
Usage: lsxzm /path/to/specific/module.xzm

Re: How to collect files for a module

Posted: 28 Nov 2015, 14:48
by tmsg
brokenman wrote:All slackware compliant packages have a file list in /var/log/packages
For anything else you can try: find /mnt/live/memory/changes -mmin 3 <-- find changes in files in the last 3 minutes.
Thanks. Exactly what I was looking for.
I've been trying to find a precompiled Slackware package for kdiff3 but so far I haven't succeeded, so I will have to build from source.

Re: How to collect files for a module

Posted: 03 Dec 2015, 18:01
by tmsg
There's also this: http://forum.porteus.org/viewtopic.php?f=39&t=132

This shows a script that saves recent changes into a directory. Have not yet tried it but it looks good.