How do the package-managers/module-makers actually make xzm modules without contaminating a live filesystem during make install?
Do they temporary change the filesystem root, i.e. something like:
Code: Select all
chroot /tmp/modulename make install
In my case, I'm installing an App that writes into many places in the system like
/usr/share,
/usr/bin, and so on. I want to collect all those writes under one subtree to make it into a module. Currently, I have to carefully examine what changed in the /mnt/live/memory/changes to find all those amendments of the new installation and copy it under /tmp/modulename, i.g.,
/tmp/modulename/usr/share,
/tmp/modulename/usr/bin. That feels silly, there must be a cleaner way.