GUIDE: Make an ISO from SVN


Recommended Posts

This guide is for users who have access to Shift SVN.

0. Change your directory to the Shift SVN directory on your computer.

1. Update your SVN directory with svn up

2. Change the directory to branches/(version)/

3. Make the compressed filesystem file with sudo mksquashfs filesystem iso/casper/filesystem.squashfs

4. Change the directory to ./iso.

5. Make the ISO by running sudo mkisofs -r -V "$IMAGE_NAME" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o ../shift-`date +%F_%T`.iso .

6. Do NOT add your nightly iso to the SVN, and move it out of the SVN directory to ensure it doesn't get deleted or accidentally uploaded. In other words, All done!

Disclaimer: Just because you can make the ISO doesn't mean it will work. Report all bugs please! Thanks!

Edited by CrimsonRedMk
Link to comment
Share on other sites

I think we should add a "Scripts" directory to the root of the ISO, containing useful scripts to do things like this for you.

Just to be clear, the public will be able to download from SVN (not upload) when we're ready, right?

Nice guide, btw, thanks :D

Link to comment
Share on other sites

Just to be clear, the public will be able to download from SVN (not upload) when we're ready, right?

It should be private access only at the moment (I think there may be a couple new guys that still need setting up, so if you dont have access and should, give me a shout. If you want me to make it readable to public, just shout and I'll change the config.

Link to comment
Share on other sites

Let's not give anyone the directory so they can check out maybe? Let's keep this private...

For the time being, let's keep it to ourselves.

Link to comment
Share on other sites

...

3. Make the compressed filesystem file with sudo mksquashfs filesystem iso/casper/filesystem.squahfs

...

I think that the end should be "squashfs", not "squahfs", but the command fails on me.
Cannot stat source directory "filesystem" because No such file or directory
Link to comment
Share on other sites

It's not working. Keep in mind that I have no idea how to use the command. I do understand that the intent is to generate a new filesystem image of the type "squashfs". But this is all new territory to me.

mark@mark-core2:~/shiftlinux/branches/lite$ sudo mksquashfs filesystem iso/casper/filesystem.squashfs

Cannot stat source directory "filesystem" because No such file or directory

mark@mark-core2:~/shiftlinux/branches/lite$

Link to comment
Share on other sites

I deleted the filesystem directory off of SVN (something about some files being unsupported nodes, breaking the entire filesystem as a result)...But you've got the right command Mark!

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.