Merge changes to LZM/XZ

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
User avatar
snake
White ninja
White ninja
Posts: 14
Joined: 29 Dec 2010, 10:02
Distribution: Porteus-v3.1 64bit KDE
Location: Finland

Merge changes to LZM/XZ

Post#1 by snake » 28 Jan 2011, 08:01

Hi, Is there a tool/script already for "merge changes" for LZM/XZ packages?
Sometimes I make a customized changes to for example configuration file and want them to be included on module (and not on changes dir) on next time I activate it (somewhere else). It would work as follows:

Code: Select all

merge_changes currentmodule.lzm newmodule.lzm
Where script goes through filelist of original package (by for example using output of unsquasfs -ls) and repack these files from current filesystem snapshot to new module. Also it could change the content of currentpacket.lzm but if it is already activate, I don't know if it is possible. This command could also be named as

Code: Select all

update_module modulename.lzm
Skenario could be also that on first run, user changes root password and and some users and then run update_module for including these changes to core porteus modules.

Or am I missing a feature that is already there?

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Merge changes to LZM/XZ

Post#2 by fanthom » 28 Jan 2011, 11:34

added to 'HOW TO's & Resources'
http://forum.porteus.org/viewtopic.php? ... 1235#p1235

Thanks for suggestion :)
Please add [Solved] to your thread title if the solution was found.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Merge changes to LZM/XZ

Post#3 by brokenman » 29 Jan 2011, 01:33

No i don't believe there is a tool for this. I may update the modtools script to include a few more functions.

update_changes (it could create & update a changes module)
lzm2xz (both single and multiple)
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply