dCore Import Debian Packages to Mountable SCE extensions > General dCore Talk

dCore .sce combination

(1/2) > >>

A Guy:
I found a script for combining .sce files into a single file. This, to me, has the benefit of saving space by allowing shared dependencies to not show up twice , even though I imagine the actual ram disk doesn't store both.

The problem is that after I ran the script, the resultant .sce file wouldn't load. At least not automatically.

Am I looking at this wrong?

Jason W:
Hi A Guy.  SCEs can't be combined by copying the contents from two or more of them into one directory and then creating an SCE out of that directory.  For one, the startup scripts of individual packages in an SCE use the location of the mounted SCE as /tmp/tcloop/APPNAME, and that name gets translated to /tmp/tcloop/firefox in the case of firefox.sce when it is im ported.  Combining two or more SCE's contents messes that part up.   

What one can do is create a list file of the packages that are to be imported.  If you have smplayer and xmms as two SCEs, create a list file named, say, multimedia1 with the below contents:


--- Code: ---smplayer
xmms

--- End code ---

Then run the below command in the same directory as the file multimedia1:

sce-import -l multimedia1

If the two SCEs that are to be combined are already made from list files, then just combine the contents of the two list files into one and import that. 

My main desktop SCE contains 54 package entries, I like to use just one big SCE with the exception of things I am currently working on and update frequently. 

A Guy:
Oh , that is useful too. So the import operation will combine them at download time.
I thought the merge script would be the way to do it (and would be handy since I already downloaded the individual packages).

That sounds like a good way to go then.

Thanks for the reply.

I am trying to setting up a PXE development and testing environment. The key is to create drivers and binary software on one environment and then a smaller (quicker) testing environment will run on the test computer.

I have most of it working but being able to combine sets of modules will help a lot.
Again, thanks.

Jason W:
Any .deb or dCore specific packages that have already been downloaded will be used during sce-import and new ones will not be downloaded unless they have been updated in Debian/Ubuntu or in dCore if the tce directory is on persistent storage.   

A Guy:
Ok, that leads into my question.
I have saved individual .sce modules on a local server. These consist of ".sce", ".sce.md5.txt", and ".sce.debinx" file groups.

If I were to copy these locally to the /tmp/tce/sce directory and then specify a list of the modules , including the ones I copied into this directly to this directly , the sce-import program would be able to combine them into one sce package, without downloading them?

Are there additional steps , like modifying a "currently loaded .sce" listing file?

Thanks for this information so far. I had a core.gz of 80 megabytes drop to 40 megabytes , and I included one more package.

Navigation

[0] Message Index

[#] Next page

Go to full version