CrimsonRedMk Member Posted February 24, 2008 Member Share Posted February 24, 2008 (edited) 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 February 29, 2008 by CrimsonRedMk Link to comment Share on other sites More sharing options...
Simon Veteran Posted February 24, 2008 Veteran Share Posted February 24, 2008 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 More sharing options...
DaveLegg Developer Posted February 24, 2008 Developer Share Posted February 24, 2008 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 More sharing options...
CrimsonRedMk Member Posted February 24, 2008 Author Member Share Posted February 24, 2008 Let's not give anyone the directory so they can check out maybe? Let's keep this private... Link to comment Share on other sites More sharing options...
Barney T. Administrators Posted February 24, 2008 Administrators Share Posted February 24, 2008 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 More sharing options...
markwolfe Veteran Posted February 29, 2008 Veteran Share Posted February 29, 2008 ...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 More sharing options...
CrimsonRedMk Member Posted February 29, 2008 Author Member Share Posted February 29, 2008 Yes, squashfs :blush: Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted March 5, 2008 Veteran Share Posted March 5, 2008 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.squashfsCannot stat source directory "filesystem" because No such file or directory mark@mark-core2:~/shiftlinux/branches/lite$ Link to comment Share on other sites More sharing options...
CrimsonRedMk Member Posted March 6, 2008 Author Member Share Posted March 6, 2008 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 More sharing options...
markwolfe Veteran Posted March 6, 2008 Veteran Share Posted March 6, 2008 Oh, bugger. :( I guess I will have to try figuring this out later. Link to comment Share on other sites More sharing options...
Recommended Posts