myDSL Extensions (deprecated) :: deb2dsl script testers needed



Quote (cbagger01 @ Mar. 02 2005,13:05)
However, if you want to change a file that will be wrapped up into the *.dsl, you can do it.  Just make sure that you do it after you do your apt-get install but before you do your ./deb2dsl

So, for example, if you wanted to replace /usr/bin/links with a different file, you would install apt-get install links and then do a mv /home/dsl/mycustomfile/links /usr/bin/links

Then run the ./deb2dsl script and your new file will get wrapped up into the *.dsl package.

Hope this helps.

I was under the impression that deb2dsl script just wrapped up the debs in the sources list and not the live functioing files.
No, deb2dsl works by gathering a list of the installed files from the *.deb package and then it grabs the actual live functioning files.

So you can tweak any file that was installed before running deb2dsl AS LONG AS you keep the filename and file path EXACTLY the same as the original files.

After running deb2dsl, I see the question onscreen about
deleting the /tmp/mydsl/optional ?

Is it OK to choose "yes" here?
Something relating to the last lines of the script..

73
ke4nt

Quote (cbagger01 @ Mar. 03 2005,16:59)
No, deb2dsl works by gathering a list of the installed files from the *.deb package and then it grabs the actual live functioning files.

So you can tweak any file that was installed before running deb2dsl AS LONG AS you keep the filename and file path EXACTLY the same as the original files.

This is good news. But i need to clarify this again. In somes programs when we apt-get them they start to run and asks to add a user and password, network address etc.

Do you mean these will also be saved when we run the deb2dsl script? Somewhere else in the forum it was mentioned that the script cannot do this. That is - if the porgrams we apt-get needed post install configuration, then deb2dsl will NOT work. According to you this is wrong.

While we can change a file we cannot add a new file or folder?.

Do you agree?

ke4nt1,

I clipped my script and tried to build xgalaga.dsl from scratch by the book.  I did not get this question prompt.

Could you describe your specific build steps so that I can see if I can duplicate it and resolve the issue?

softgun,

Both statements are true.

1) dsl file is built from the live installed files.
2) Post install scripts will not work.

deb2dsl does it's thing by getting a list of all of the files that are contained inside your *.deb packages.  It then goes out and collects them along with a menu entry and packages it into a *.dsl file.

Usually a post-install script will create some files that do not appear in the original *.deb file list. For example, there may be some /etc/foo/foorc file or a /home/dsl/.barrc file that is created by the script and is not mentioned in the original file list.  Also, sometimes these post-install scripts will change existing system files instead of create a new file so therefore the affected files will not appear inside the original deb file list.

Hope this helps.

Next Page...
original here.