Different from what I thought but I like this idea better than executing similar script inside every new created module. In your setup it will work with any number loaded modules created with remastercow executing single script to update dpkg (instead executing script for each separate module).fredx181 wrote:The script searches (in all modules mounted in /mnt/live/memory/images) for 'availablenew' and 'statusnew'.
Then it merges them together with the main status file (/var/lib/dpkg/status) to a temp file
It's a bigger file then with lots of duplicates so let's remove the duplicate package entries (nice 'awk' line I found on the web does that very well) and then the new 'main' status file is created.
(see more info inside script)
I will test it today and write back.
I will change available-new and status-new in remastercow also.
I suggest also to change info-new to infonew then to have same renaming for all files.
gsu needs root password. Puppy account depends too much already on root password. From what I read rcconf is executed with sudo (user password) in Debian.Any reason for "sudo"? I think I just make .desktop file with "Exec=gsu rcconf.xdlg" line.
BTW do you know if we leave update-rcconf-guide out rcconf.xdlg will work without problems? I see lines inside about update-rcconf-guide. Maybe it is better to install also rcconf with apt-get to make sure all works well. rcconf.xdlg has different name and it will not make problems in PATH.
About updated iso versions:
What is live.cfg file you use for new openbox version? I think we need to add persistent option. This is the change I made in live.cfg for the iso as boot options. Any ideas for changes?
Code: Select all
label DebianDog LB-2x in RAM
kernel /live/vmlinuz1
append initrd=/live/initrd1.img boot=live persistent toram=01-filesystem.squashfs
label DebianDog LB-2x
kernel /live/vmlinuz1
append initrd=/live/initrd1.img boot=live config persistent swapon noprompt quickreboot autologin
label DebianDog Porteus in RAM
kernel /live/vmlinuz1
append initrd=/live/initrd1.xz noauto from=/ copy2ram changes=/changes.dat
label DebianDog Porteus
kernel /live/vmlinuz1
append initrd=/live/initrd1.xz from=/ noauto changes=/changes.dat
label DebianDog LB-3x in RAM
kernel /live/vmlinuz1
append initrd=/live/initrd.img boot=live persistence toram=01-filesystem.squashfs
label DebianDog LB-3x
kernel /live/vmlinuz1
append initrd=/live/initrd.img boot=live config persistence swapon noeject quickreboot autologin
Toni