Say you download source tar for X:
Decompress source:
Code: Select all
tar xzvf X.gz
Code: Select all
cd X
Code: Select all
./configure --prefix=/usr/
Code: Select all
make
Code: Select all
find /mnt/live/memory/changes -type f > /tmp/oldchanges
Code: Select all
make install
Code: Select all
find /mnt/live/memory/changes -type f > /tmp/newchanges
Code: Select all
cd ../
Code: Select all
diff /tmp/oldchanges /tmp/newchanges > files
Code: Select all
cat files | grep -v "tmp/newchanges" | grep ">" | sed 's_> /mnt/live/memory/changes__' > newfiles
Code: Select all
cat newfiles| xargs tar cf temp.tar
mkdir temp
tar xf temp.tar -C temp
dir2xzm temp X.xzm
tar xzvf X.gz
cd X
./configure --prefix=/usr/
make
find /mnt/live/memory/changes -type f > /tmp/oldchanges
make install
find /mnt/live/memory/changes -type f > /tmp/newchanges
cd ../
diff /tmp/oldchanges /tmp/newchanges > files
cat files | grep -v "tmp/newchanges" | grep ">" | sed 's_> /mnt/live/memory/changes__' > newfiles
rm temp.tar
cat newfiles| xargs tar cf temp.tar
rm -rf temp
mkdir temp
tar xf temp.tar -C temp
dir2xzm temp X.xzm