visopsys.org

Visopsys Forums
It is currently Sun Jan 21, 2018 4:05 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: A Somewhat faster ISO building utility
PostPosted: Wed Apr 09, 2014 7:59 pm 
Offline
User avatar

Joined: Tue Feb 14, 2012 12:40 am
Posts: 103
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 401 times

_________________
Image
Image
Top
 Profile  
 
 Post subject: Re: A Somewhat faster ISO building utility
PostPosted: Wed Apr 09, 2014 8:13 pm 
Offline
User avatar

Joined: Mon Sep 09, 2013 12:16 am
Posts: 58
Location: Paraguay
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.

_________________
My Homepage: http://www.fosforito.net/ :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group