Revision: 7249 http://sourceforge.net/p/ipcop/svn/7249 Author: owes Date: 2014-02-23 19:14:44 +0000 (Sun, 23 Feb 2014) Log Message: ----------- Drop usb-zip image from build.
Modified Paths: -------------- ipcop/trunk/lfs/usb-key Modified: ipcop/trunk/lfs/usb-key =================================================================== --- ipcop/trunk/lfs/usb-key 2014-02-23 10:08:52 UTC (rev 7248) +++ ipcop/trunk/lfs/usb-key 2014-02-23 19:14:44 UTC (rev 7249) @@ -54,7 +54,6 @@ ############################################################################### IMGfdd := /installer/images/$(SNAME)-$(VERSION)-install-usb-fdd.$(MACHINE).img IMGhdd := /installer/images/$(SNAME)-$(VERSION)-install-usb-hdd.$(MACHINE).img -IMGzip := /installer/images/$(SNAME)-$(VERSION)-install-usb-zip.$(MACHINE).img IMGfs := /installer/images/fs define COPY_TO_IMG @@ -137,16 +136,7 @@ # copy the entire partition, make the fs and dd back dd if=$(IMGfs) of=$(IMGhdd) bs=512 seek=32 - #usb-zip (64 heads, 32 sectors geometry, on a partition 4) - COUNT=$$((`du -k -s $(IMGfs) | awk '{print $$1}'` + 32 )); \ - dd bs=1k if=/dev/zero of=$(IMGzip) count=$$COUNT - # MBR is written but sfdisk still warns with a 'msdos signature missing' - IMAGE=$(IMGzip); $(MBR_TO_IMG) - echo -e "0,0\n 0,0\n 0,0\n,,6,*" | sfdisk -qLD -H 64 -S 32 $(IMGzip) - # copy the entire file system - dd if=$(IMGfs) of=$(IMGzip) bs=512 seek=32 - - gzip -fn9 $(IMGfdd) $(IMGhdd) $(IMGzip) + gzip -fn9 $(IMGfdd) $(IMGhdd) rm -rf /tmp/* $(IMGfs) for i in {1..7}; do \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn