Other Help Topics :: Get file list from unc



Is there a way to get a list of the files in a unc extension from the extension?

The reason I ask, is that I would like to add/change some files in an extension and I would like to avoid starting from scratch, eg downloading the packages, editing the file lists, making a dsl and converting it to a unc...

Look in /opt for the directory pertaining to the extension your working on.  UNC's are mounted there (similar to a UCI) before they are added to the filesystem with Unionfs.
Thanks - but knowing this, is there a way to generate a text file similar to that obtained by "dpkg -L package_name > package_name.txt"
Well....while it's mounted you can do
find /opt/package_name > package_name.txt

However, this will list user.tar.gz (if it exists) rather than any specific files installed into /home/dsl

When I want to 'work' on a unc extension, I do the following:

1. Mount it

  mkdir /opt/xyz
  mount xyz.unc /opt/xyz.unc -t iso9660 -o ro,loop=/dev/cloop63

2. Unpack it

   mkdir /home/dsl/xyz
   tar -C /opt/xyz.unc -cf - . | tar -C /home/dsl/xyz -xf -

3. Make changes

   cd /home/dsl/xyz

   -- edit changes as required --

4. Pack it backup

   cd ..
   mkisofs -R -hide-rr-moved -cache-inodes -pad xyz/ | create_compressed_fs - 65536 > xyz.unc

------------------------------------------------------

In fact if you wish to try to go from debs to unc, give this a try:

I will use the deb package feh as an example.
Also note you MUST start with an empty /var/cache/apt/archives

apt-get -d -y install feh
mkdir /opt/feh
for DEB in `ls -1 /var/cache/apt/archives/`; do
  dpkg -x "$DEB" /opt/feh
done
cd /opt
mkisofs -R -hide-rr-moved -cache-inodes -pad feh/ | create_compressed_fs - 65536 > /home/dsl/feh.unc

Then try the mydsl-load feh.unc, if it works, then use the above procedure to open it up to add a user.tar.gz for menu and optional icon item.

Have fun.



Next Page...
original here.