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?
How to collect files for a module
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: How to collect files for a module
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.
For anything else you can try: find /mnt/live/memory/changes -mmin 3 <-- find changes in files in the last 3 minutes.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: How to collect files for a module
Code: Select all
guest@porteus:~$ lsxzm
Usage: lsxzm /path/to/specific/module.xzm
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
- tmsg
- Black ninja
- Posts: 44
- Joined: 15 Sep 2015, 14:29
- Distribution: arch, mx, porteus
- Location: York, UK
Re: How to collect files for a module
Thanks. Exactly what I was looking for.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.
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.
- tmsg
- Black ninja
- Posts: 44
- Joined: 15 Sep 2015, 14:29
- Distribution: arch, mx, porteus
- Location: York, UK
Re: How to collect files for a module
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.
This shows a script that saves recent changes into a directory. Have not yet tried it but it looks good.