visopsys.org
https://visopsys.org/forums/

A Somewhat faster ISO building utility
https://visopsys.org/forums/viewtopic.php?f=3&t=233
Page 1 of 1

Author:  ap0r [ Wed Apr 09, 2014 7:59 pm ]
Post subject:  A Somewhat faster ISO building utility

I used to find it annoying that the script "image-cd.sh" created a zip file. I could see of course why it was useful if you wanted it ready for upload to the website, but for local testing purposes, having to extract a zip every time i did changes to my code was making me lose time. So i made a variation of the "image-cd.sh" script, named "makeiso.sh" wich produces an ISO instead of a zip file.

To use it, compile visopsys normally, and when you get to the part where you would do
Code:
sudo ./image-cd.sh

do
Code:
sudo ./makeiso.sh
instead.
It will place a Visopsys iso in the place where normally you would have a Visopsys zip file, and it takes the -r parameter if you like using that.

I did not include the source code because the script is plain-text and can be viewed/modified with any text editor.
To install this time-saver, just extract the attached file to your /utils dir
I've used this script and I'm pretty sure that it doesn't divide by zero or destroys the universe, but If you find any bugs just let me know and I'll try to fix them

Attachments:
makeiso.sh.zip [1.25 KiB]
Downloaded 425 times

Author:  fosforito [ Wed Apr 09, 2014 8:13 pm ]
Post subject:  Re: A Somewhat faster ISO building utility

Yes, it's very annoying to always unzip and rename the iso file to test it in VirtualBox, etc. I already modified the image-cd.sh file before but now I reinstalled my OS and don't have anymore the modified file, so I'll use your utility.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/