/[clonezilla-sysresccd]/trunk/www/working/scripts/pack-them
ViewVC logotype

Annotation of /trunk/www/working/scripts/pack-them

Parent Directory Parent Directory | Revision Log Revision Log


Revision 106 - (hide annotations)
Tue Sep 14 19:24:13 2010 UTC (13 years, 6 months ago) by sng
File size: 1765 byte(s)
getting ready for 3.1.0
1 sng 106 #!/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     cd ../../../create-clonezilla-sysresccd/files/isofiles
23     echo -n "Packing menu isolinux files... "
24     mkdir forCD
25     # cp -L *msg *cfg forCD
26     cp -L *cfg forCD
27     cd forCD
28     mkdir isolinux syslinux
29     # cp -L *msg *cfg isolinux
30     cp -L *cfg isolinux
31     cd isolinux
32     for n in *.cfg;do
33     sed 's|isolinux.cfg|syslinux.cfg|' $n > ../syslinux/$n
34     done
35     sed 's|hd1|hd2|' isolinux.cfg | sed 's|hd0|hd1|' | sed 's|isolinux.cfg|syslinux.cfg|' > ../syslinux/syslinux.cfg
36     sed 's|initrd=initram.igz|initrd=initram.igz scandelay=5|' sysresc.cfg | sed 's|isolinux.cfg|syslinux.cfg|' > ../syslinux/sysresc.cfg
37     rm ../syslinux/isolinux.cfg
38     cd ..
39     rm isolinux.cfg
40     rm ../menu-for-iso.tar.gz 2>/dev/null
41     # tar czhf ../../menu-for-iso.tar.gz *msg *cfg isolinux/*cfg isolinux/*msg
42     tar czhf ../../menu-for-iso.tar.gz syslinux/*cfg isolinux/*cfg
43     cd ..
44     rm -rf forCD
45     echo 'done'

Properties

Name Value
svn:executable *

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26