The time now is Tue 18 Jun 2013, 20:52
All times are UTC - 4 |
| Author |
Message |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Tue 04 Dec 2012, 01:56 Post_subject:
DIR-to-ISO 2.0 |
|
Hello.
Before I've had written the LazY Puppy LazY Remaster Suite I did forget sometimes to keep files in /root or /etc. So, everytime then I had to choose, to make a new remaster to put these files into the os or to edit the sfs manually. Remastering needs time, editing manually results in a non-bootable iso, if the new iso would be made then via the right-click option dir-to-iso (script in /usr/bin).
So, to get a bootable iso one has to remaster anyway.
I have now refined the script dir-to-iso in /usr/bin in a way, that it is now usable to create bootable iso files.
It checks if the directory to build a iso from contains a bootloader like grldr and/or isolinux.bin. If, it creates a bootable iso, if not, it creates the standard iso as usual.
The attached .pet installs the new script, renames the old script to dir-to-iso-old and then renames the new script to dir-to-iso. It contains only the new dir-to-iso script. If your puppy doesn't have the right-click option to use this script with right-click action on a directory, you have to define this feature by youself.
I did not want this .pet to change anything else, but the dir-to-iso script.
Hope this works for you and your puppy.
RSH
 |
| Description |
Make bootable iso files with righ-click
|

Download |
| Filename |
Dir-to-ISO-2.0.pet |
| Filesize |
1.02 KB |
| Downloaded |
207 Time(s) |
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2527 Location: Ontario
|
Posted: Wed 05 Dec 2012, 20:24 Post_subject:
script DIR-to-ISO in my Right click pet package |
|
I put the script DIR-to-ISO in my Right click pet package.
http://murga-linux.com/puppy/viewtopic.php?p=669224#669224
I only checked a regular folder since I don't make bootable ISOs.
I made one small change to warn users...
After line 34 I put in a simple warning message
| Code: |
Xdialog --ok-label "OK" --backtitle "\n\n A bootable ISO will be created now. " --msgbox "" 0 0
|
______________________________________
|
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Thu 06 Dec 2012, 11:33 Post_subject:
|
|
| Quote: | | I put the script DIR-to-ISO in my Right click pet package. |
Yes, thanks. Nice Idea!
| Quote: | | I only checked a regular folder since I don't make bootable ISOs |
So, this means the original script was written by yourself? Then please, add your name at the top of the script. Original doesn't have that.
| Quote: | | I made one small change to warn users... |
Uuppss, I've had a "yaf-splash" in mind. Just overseen.
Never mind. All what's needed finds its way to "fit together", as we can see.
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2527 Location: Ontario
|
Posted: Thu 06 Dec 2012, 21:29 Post_subject:
|
|
I've just noticed that there are still some puppy variants which don't
have gtkdialog-splash installed which can cause some confusion
when programmers use yaf-splash (which is often a link to gtkdialog-splash).
So it's a good procedure to make warning and info messages with
Xdialog instead!!! Avoid yaf-splash unless you know which puppy
where the script is installed.
...And gxmessage is even worse because only old versions are
installed in puppy ---> the old version doesn't support foreign
characters
It's easy to put color in the background of a Xdialog message box
It's explained at their site.
I just learned this by studying fatdog
http://murga-linux.com/puppy/viewtopic.php?t=82611
By the way I stole most of my utility scripts from Tazoc (Lighthouse)
because I didn't know anything about writing scripts
________________________________________________
|
|
Back to top
|
|
 |
|
|
|
Rules_post_cannot Rules_reply_cannot Rules_edit_cannot Rules_delete_cannot Rules_vote_cannot You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|