/[clonezilla-sysresccd]/trunk/create-clonezilla-sysresccd/files/isofiles/pack-them
ViewVC logotype

Annotation of /trunk/create-clonezilla-sysresccd/files/isofiles/pack-them

Parent Directory Parent Directory | Revision Log Revision Log


Revision 61 - (hide annotations)
Wed May 26 12:15:58 2010 UTC (13 years, 10 months ago) by sng
File size: 1626 byte(s)
adding auto mode to create-clonezilla-sysresccd, and hopefully fixing svn:externals issues

Please add
Hostname svn.hellug.gr
User <your user name>
to ~/.ssh/config to get it working

1 sng 48 #!/bin/bash
2     ##############################################################################
3     #
4     # pack-them, (C) 2007-2010 S. Georgaras <sng@hellug.gr>
5     #
6     # This file is part of Clonezilla-SysRescCD.
7     #
8     # Clonezilla-SysRescCD is free software: you can redistribute it and/or modify
9     # it under the terms of the GNU General Public License as published by
10     # the Free Software Foundation, either version 2 of the License, or
11     # (at your option) any later version.
12     #
13     # Clonezilla-SysRescCD is distributed in the hope that it will be useful,
14     # but WITHOUT ANY WARRANTY; without even the implied warranty of
15     # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16     # GNU General Public License for more details.
17     #
18     # You should have received a copy of the GNU General Public License
19     # along with Clonezilla-SysRescCD. If not, see <http://www.gnu.org/licenses/>.
20     #
21     ##############################################################################
22    
23     echo -n "Packing menu isolinux files... "
24     mkdir forCD
25 sng 61 # cp -L *msg *cfg forCD
26     cp -L *cfg forCD
27 sng 48 cd forCD
28     mkdir isolinux
29 sng 61 # cp -L *msg *cfg isolinux
30     cp -L *cfg isolinux
31 sng 48 cd isolinux
32     for n in *.cfg;do
33     sed 's|isolinux.cfg|syslinux.cfg|' $n > ../$n
34     done
35     sed 's|hd1|hd2|' isolinux.cfg | sed 's|hd0|hd1|' | sed 's|isolinux.cfg|syslinux.cfg|' > ../syslinux.cfg
36     sed 's|initrd=initram.igz|initrd=initram.igz scandelay=5|' sysresc.cfg | sed 's|isolinux.cfg|syslinux.cfg|' > ../sysresc.cfg
37     cd ..
38     rm isolinux.cfg
39     rm ../menu-iso.tar.gz 2>/dev/null
40 sng 61 # tar czhf ../../menu-iso.tar.gz *msg *cfg isolinux/*cfg isolinux/*msg
41     tar czhf ../../menu-iso.tar.gz *cfg isolinux/*cfg
42 sng 48 cd ..
43     rm -rf forCD
44     echo 'done'

Properties

Name Value
svn:executable *

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26