Changeset 1529 in MondoRescue
- Timestamp:
- Jul 6, 2007, 2:28:03 PM (18 years ago)
- Location:
- branches/stable
- Files:
-
- 15 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/contrib/mkcd/setup
r911 r1529 146 146 147 147 if uname -a | grep Knoppix > /dev/null ; then 148 echo "Knoppix LiveCD"149 return148 echo "Knoppix LiveCD" 149 return 150 150 fi 151 151 … … 156 156 fi 157 157 158 for fname in `find /etc -maxdepth 1 | grep release` /etc/issue.net; do158 for fname in `find /etc -maxdepth 1 | grep -E 'release|issue'` ; do 159 159 res=`cat $fname 2>/dev/null | grep -i "linux" | head -n1 | tr -s '\t' ' '` 160 160 [ "$res" = "" ] && res=`cat $fname |head -n1 | tr -s '\t' ' '` -
branches/stable/mindi-busybox/distributions/gentoo/mindi-busybox.ebuild
r1445 r1529 10 10 LICENSE="GPL-2" 11 11 SLOT="0" 12 KEYWORDS=" ~x86 ia64 -*"12 KEYWORDS="x86 ia64 -*" 13 13 DEPEND="virtual/libc" 14 14 RDEPEND=">=app-arch/bzip2-0.9 -
branches/stable/mindi/ChangeLog
r1500 r1529 3 3 MINDI CHANGES 4 4 5 1.2.4 (2007-06-09) 5 1.2.4 (2007-07-06) 6 - Fix a problem in directory link handling in mindi seen on gentoo64 (Francesco Talamona/Bruno Cornec) 7 - Add README.proliant to document Virtual Media usage (Bruno Cornec) 8 - Add support for megaraid_sas (Daniel Hill/Bruno Cornec) 9 - No more acpi=off by default during restore (Bruno Cornec) 10 - /var/cache/mindi now useed by default for mindi images (Bruno Cornec) 11 - Add support for LSI SAS1064E (Brandon Poyner/Bruno Cornec) 12 - Fix a bug on the MODULE variable and grep -F usage with spaces. (Bruno Cornec) 13 - Fix Virtual media usage (Patrick Albert) 6 14 - Improve VMWare ESX support (Bruno Cornec) 7 15 - Fix a x86_64 bug (Bruno Cornec) -
branches/stable/mindi/README.proliant
r1524 r1529 3 3 - Edit your /usr/sbin/mindi script 4 4 - Look for declaration of the variable FORCE_MODS. 5 - Change it to FORCE_MODS="usb _storage sr_mod"5 - Change it to FORCE_MODS="usb-storage sr_mod" 6 6 7 7 On 3.x.y version: 8 8 - Edit your /etc/mindi/mindi.conf configuration file 9 9 - Look for declaration of the variable mindi_force_mods 10 - Change it to mindi_force_mods="usb _storage sr_mod"10 - Change it to mindi_force_mods="usb-storage sr_mod" 11 11 12 12 Those drivers will then be available at restore time, and your virtual media thus detected and supported. -
branches/stable/mindi/distributions/gentoo/mindi.ebuild
r1513 r1529 11 11 LICENSE="GPL-2" 12 12 SLOT="0" 13 KEYWORDS=" ~x86-*"13 KEYWORDS="x86 ia64 -*" 14 14 IUSE="" 15 15 -
branches/stable/mindi/mindi
r1508 r1529 301 301 302 302 CopyDependenciesToDirectory() { 303 local outdir incoming fname filesize counter 303 local outdir incoming fname filesize counter d found 304 304 outdir=$1 305 305 mkdir -p $outdir … … 307 307 counter=0 308 308 while [ "$incoming" != "" ] ; do 309 if [ -d "$incoming" ] ; then 309 # Non absolute file names should not arrive till here => skipped 310 if [ `echo "$incoming" | cut -c1` != '/' ]; then 311 LogIt "Unable to handle $incoming" 312 incoming=`ReadLine` 313 continue 314 fi 315 # no parent directory of incoming should be a link, copy is not possible in that case 316 d=`dirname "$incoming"` 317 found="false" 318 while [ $d != "/" -a $found = "false" ]; do 319 [ -h "$d" ] && found="true" 320 d=`dirname "$d"` 321 done 322 if [ -d "$incoming" ] && [ ! -h "$incoming" ]; then 310 323 find $incoming/* -maxdepth 0 2> /dev/null | CopyDependenciesToDirectory $outdir 311 elif [ -e "$incoming" ] ; then324 elif [ -e "$incoming" ] && [ $found = "false" ]; then 312 325 filesize=`du -sk $incoming | cut -f1` 313 326 if [ "$filesize" -gt "$(($CHOPSIZE*2))" ] && [ ! -h "$incoming" ] ; then … … 994 1007 echo "$fname is softlink" >> $LOGFILE 995 1008 else 996 ldd $fname 2> /dev/null | ProcessLDD $fname1009 ldd $fname 2> /dev/null | ProcessLDD 997 1010 fi 998 1011 done … … 1025 1038 local i path fname_to_find location output resolved tmp stub cache_id loclist 1026 1039 fname_to_find="$1" 1040 # It's an absolute path 1027 1041 if echo "$fname_to_find" | grep -x "/.*" ; then 1028 1042 output="$fname_to_find" … … 1033 1047 return 0 1034 1048 fi 1049 # It's not an absolute path 1035 1050 output="" 1036 for path in /etc /usr /usr/bin /usr/sbin /bin /usr/X11R6/bin /sbin /usr/local/bin /usr/local/sbin /usr/lib /usr/lib64 /usr/lib64/* /lib /lib64 /lib64/* /usr/local/lib /usr/local/lib64 /usr/local/lib64/* /usr/X11R6/lib /usr/X11R6/lib64 /usr/X11R6/lib64/* ; do 1037 [ ! -d "$path" ] && continue 1038 for location in "$path/$fname_to_find" ; do 1039 [ ! -e "$location" ] && continue 1040 output="$location $output" 1041 if [ -h "$location" ] ; then 1042 output="`ReadAllLink $location` $output" 1043 fi 1044 done 1051 for path in /etc /usr /usr/bin /usr/sbin /bin /usr/X11R6/bin /sbin /usr/local/bin /usr/local/sbin `find /usr/lib /lib /usr/local/lib /usr/X11R6/lib /usr/lib64 /lib64 /usr/local/lib64 /usr/X11R6/lib64 -type d -maxdepth 1 2> /dev/null` ; do 1052 #for path in /etc /usr /usr/bin /usr/sbin /bin /usr/X11R6/bin /sbin /usr/local/bin /usr/local/sbin /usr/lib /usr/lib64 /usr/lib64/* /lib /lib64 /lib64/* /usr/local/lib /usr/local/lib64 /usr/local/lib64/* /usr/X11R6/lib /usr/X11R6/lib64 /usr/X11R6/lib64/* ; do 1053 [ -h "$path" ] && continue 1054 [ ! -e "$path/$fname_to_find" ] && continue 1055 output="$path/$fname_to_find $output" 1056 if [ -h "$path/$fname_to_find" ] ; then 1057 output="`ReadAllLink $path/$fname_to_find` $output" 1058 fi 1045 1059 done 1046 1060 if [ "$output" = "" ] ; then … … 2314 2328 2315 2329 ProcessLDD() { 2316 local main_fname incoming j i fname f newf 2317 main_fname=$1 2330 local incoming f 2318 2331 read incoming 2319 2332 while [ "$incoming" != "" ] ; do 2320 2333 # We take the full path name of the dyn. lib. we want 2321 incoming=`echo "$incoming" | sed '/[[:blank:]]*.*[[:blank:]]*=>[[:blank:]]*(.*/d ; s/[[:blank:]]*.*[[:blank:]]*=>[[:blank:]]*\(\/.*\)/\1/ ; s/[[:blank:]]*\(\/.*\)[[:blank:]]*(.*/\1/'`2322 for f in `echo "$incoming"`; do2334 incoming=`echo "$incoming" | awk '{if (match($1,/\//)) {print $1} else {if (match($3,/\//)) print $3} fi}'` 2335 for f in $incoming ; do 2323 2336 echo "$f `ReadAllLink $f`" 2324 2337 done -
branches/stable/mondo-doc/distributions/conf/mondorescue.conf
r541 r1529 40 40 # Default size of media 41 41 # 42 # Use 4 380 for DVDs, 650 or 700 for CDs42 # Use 4480 for DVDs, 650 or 700 for CDs 43 43 # 44 media_size=4 38044 media_size=4480 45 45 46 46 # -
branches/stable/mondo/ChangeLog
r1500 r1529 3 3 MONDO CHANGES 4 4 5 2.2.4 (2007-06-09) 5 2.2.4 (2007-07-06) 6 - Size of DVD is 4482 (or more surely 4480 to avoid problems - used everywhere) (Bruno Cornec) 7 - New Hardware migration guide with P2V (Eric Montaut/Gallig/Renaud/Bruno Cornec) 8 - Fix a memory allocation bug where strings were freed to early (Nick Hajek) 9 - yum support added to ftp server (Mark Nienberg/Bruno Cornec) 10 - Also computes number of media for NFS backups (Patrick Albert/Bruno Cornec) 11 - Improve message around ISO directory (Patrick Albert/Bryan Gartner) 6 12 - Improved Ubuntu support (Fix #159) (Bruno Cornec) 7 13 - Improved VMWare ESX supoprt (Amaury Tanquerel/Bruno Cornec) -
branches/stable/mondo/distributions/conf/mondo.conf.dist
r1434 r1529 43 43 # Use 4380 for DVDs, 650 or 700 for CDs 44 44 # 45 mondo_media_size=4 38045 mondo_media_size=4480 46 46 47 47 # -
branches/stable/mondo/distributions/gentoo/mondo.ebuild
r1513 r1529 13 13 LICENSE="GPL-2" 14 14 SLOT="0" 15 KEYWORDS=" -* ~x86"15 KEYWORDS="x86 ia64 -*" 16 16 IUSE="" 17 17 -
branches/stable/mondo/src/common/libmondo-devices.c
r1514 r1529 1494 1494 find_dvd_device(bkpinfo->media_device, FALSE); 1495 1495 mr_asprintf(&tmp, "1"); 1496 mr_asprintf(&sz_size, "%d", DEFAULT_DVD_DISK_SIZE); // 4.7 salesman's GB = 4.482 real GB = 4 582 MB1496 mr_asprintf(&sz_size, "%d", DEFAULT_DVD_DISK_SIZE); // 4.7 salesman's GB = 4.482 real GB = 4482 MB 1497 1497 mr_msg(1, "Setting to DVD defaults"); 1498 1498 } else if (bkpinfo->backup_media_type == usb) { -
branches/stable/mondo/src/include/my-stuff.h
r1458 r1529 337 337 #define log_it(format, args...) mr_msg(2, format, ## args) 338 338 339 #define DEFAULT_DVD_DISK_SIZE 4 380 ///< The default size (in MB) of a DVD disk, unless the user says otherwise.339 #define DEFAULT_DVD_DISK_SIZE 4480 ///< The default size (in MB) of a DVD disk, unless the user says otherwise. 340 340 341 341 #define DEFAULT_DEBUG_LEVEL 4 ///< By default, don't log messages with a loglevel higher than this. -
branches/stable/mondo/src/mondoarchive/mondo-cli.c
r1434 r1529 432 432 } 433 433 if (!flag_set['s']) { 434 sprintf(flag_val['s'], "%d", DEFAULT_DVD_DISK_SIZE); // 4.7 salesman's GB = 4.482 real GB = 4 582 MB434 sprintf(flag_val['s'], "%d", DEFAULT_DVD_DISK_SIZE); // 4.7 salesman's GB = 4.482 real GB = 4482 MB 435 435 strcat(flag_val['s'], "m"); 436 436 log_to_screen -
branches/stable/tools/pkg2ftp
r1442 r1529 95 95 scp -p $MONDOTMP/${ddir}-mondo.repo ${ACCOUNT}:${DSTDIR}/${ddir}/${dver} 96 96 # Build a yum repository 97 ssh -q ${ACCOUNT} "cd ${DSTDIR}/${ddir}/${dver} ; yum-arch . ; createrepo ."97 ssh -q ${ACCOUNT} "cd ${DSTDIR}/${ddir}/${dver} ; rm -rf headers/ repodata/ ; yum-arch . ; createrepo ." 98 98 fi 99 99 fi -
branches/stable/tools/pkg2mdv
r1386 r1529 76 76 perl -pi -e "s/^Release:[ \t]+..*/Release: %mkrel $TAG/" SPECS/$p.spec 77 77 perl -pi -e "s/^Release:/Packager: Bruno Cornec <bcornec\@mandriva.org>\nRelease:/" SPECS/$p.spec 78 perl -pi -e 's/mindi >= ..*,/mindi/' SPECS/$p.spec78 perl -pi -e 's/mindi >= [0-9.]*,/mindi/' SPECS/$p.spec 79 79 $TOOLHOME/mdv-changelog.pl SPECS/$p.spec 80 80 # Changelog management … … 92 92 repsys submit svn+ssh://svn.mandriva.com/svn/packages/cooker/$p $rev 93 93 for t in 2007.0 2007.1; do 94 repsys submit -t $t --define section=contrib/ backportssvn+ssh://svn.mandriva.com/svn/packages/cooker/$p $rev94 repsys submit -t $t --define section=contrib/testing svn+ssh://svn.mandriva.com/svn/packages/cooker/$p $rev 95 95 done 96 96 fi -
branches/stable/tools/qemu-vm.txt
r1513 r1529 15 15 # gentoo 16 16 #Cf: http://wiki.xensource.com/xenwiki/QEMUGentoo 17 emerge neon newt slang autoconf automake subversion libtool gcc wget vim man groff lynx grub afio buffer mindi mondo-rescue cdrecord mkisofs17 emerge neon newt slang autoconf automake subversion libtool gcc wget vim man groff lynx grub afio buffer mindi mondo-rescue sudo # cdrecord mkisofs 18 18 19 19 # Slackware
Note:
See TracChangeset
for help on using the changeset viewer.