Save change to modules
Posted: 07 Sep 2023, 19:17
Hi,
I would like to save change only in xzm modules
So I launch the script /opt/porteus-scripts/save-changes
It only save session without shadow pssword, neither /etc/NetworkManager/system-connections/ neither rc.d
=> I change by
doesn't add any setting in my 999-change.xzm althought it is working in porteuX live usb
OK, I use this way
-Save current Porteus Session ( same resulte as porteus's save-change script) in 999-change.xzm
-Save some setting in a module enable every cases even bluetooth in 999-setting.xzm
it save .etc/shadow but doesn't save rc.d neither /etc/NetworkManager/system-connections/
is there a solution to select more setting to save? can I add something in?
Cheers
I would like to save change only in xzm modules
So I launch the script /opt/porteus-scripts/save-changes
It only save session without shadow pssword, neither /etc/NetworkManager/system-connections/ neither rc.d
=> I change
Code: Select all
#dir2xzm $ch $1
mksquashfs $ch $1 -e dev tmp mnt
Code: Select all
zstdFlags="-comp zstd -b 256K -Xcompression-level 22"
mksquashfs $ch $1 -e dev mnt sys tmp var $zstdFlags
OK, I use this way

-Save current Porteus Session ( same resulte as porteus's save-change script) in 999-change.xzm
-Save some setting in a module enable every cases even bluetooth in 999-setting.xzm
it save .etc/shadow but doesn't save rc.d neither /etc/NetworkManager/system-connections/
is there a solution to select more setting to save? can I add something in
Code: Select all
mksquashfs $ch $1 -e dev mnt sys tmp var
Cheers