Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (9) </ ... 3 4 5 6 7 [8] 9 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: deb2dsl script testers needed, convert simple deb packages to dsl's< Next Oldest | Next Newest >
softgun Offline





Group: Members
Posts: 120
Joined: Dec. 2004
Posted: Mar. 03 2005,14:46 QUOTE

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.
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Mar. 03 2005,21:59 QUOTE

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.
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Mar. 03 2005,23:05 QUOTE

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
Back to top
Profile PM 
softgun Offline





Group: Members
Posts: 120
Joined: Dec. 2004
Posted: Mar. 04 2005,17:19 QUOTE

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?
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Mar. 05 2005,04:39 QUOTE

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.
Back to top
Profile PM 
43 replies since July 06 2004,05:32 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (9) </ ... 3 4 5 6 7 [8] 9 >/
reply to topic new topic new poll
Quick Reply: deb2dsl script testers needed

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code