diff options
| author | Mystery Man <unknown@mandriva.org> | 2005-04-05 19:41:54 +0000 |
|---|---|---|
| committer | Mystery Man <unknown@mandriva.org> | 2005-04-05 19:41:54 +0000 |
| commit | 1d9a4b73a37c6e942f909c2d42ca13b5c47e8362 (patch) | |
| tree | 5bab4266bc57a31d97ac6a8badc2ede721a42c9c /rescue/make_partimage_save_rest_all | |
| parent | 4691e29d1228b10abbe586c5ecb87ec9e13bd3ec (diff) | |
| download | drakx-10_2_20mdk.tar drakx-10_2_20mdk.tar.gz drakx-10_2_20mdk.tar.bz2 drakx-10_2_20mdk.tar.xz drakx-10_2_20mdk.zip | |
This commit was manufactured by cvs2svn to create tag 'V10_2_20mdk'.V10_2_20mdk
Diffstat (limited to 'rescue/make_partimage_save_rest_all')
| -rwxr-xr-x | rescue/make_partimage_save_rest_all | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/rescue/make_partimage_save_rest_all b/rescue/make_partimage_save_rest_all deleted file mode 100755 index a513b4f3e..000000000 --- a/rescue/make_partimage_save_rest_all +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh - -[ $# != 1 -a $# != 2 ] && { - echo "usage: make_partimage_save_rest_all <partimage special rpm> [<partimage dir>]" ; - exit 1 -} - -rpm=$1 -partimage_dir=$2 -where=/data/box - -if [ -n "$partimage_dir" ]; then - [ -d "$partimage_dir$where" ] || { - echo "can't find $partimage_dir$where" - exit 1 - } -fi - -rm -rf .tmp -mkdir -p .tmp/isolinux -cp -f /usr/lib/syslinux/isolinux.bin ../isolinux/alt0/* .tmp/isolinux - -PARTIMAGE_DIR="$where" PARTIMAGE_RPM=$rpm DISTRIB_DESCR="partimage save/restore all" ./make_rescue_img -mkdir -p .tmp/install/stage2 -mv -f rescue.clp .tmp/install/stage2 - -common_para="rescue automatic=method:cdrom" -# hda=4864,255,63 - -for action in save_all rest_all; do - - cat <<EOF > .tmp/isolinux/isolinux.cfg -default $action -prompt 1 -timeout 150 - -label save_all - kernel vmlinuz - append initrd=all.rdz $common_para save_all -label rest_all - kernel vmlinuz - append initrd=all.rdz keepmounted rest_all -label rescue - kernel vmlinuz - append initrd=all.rdz -EOF - - if [ $action = rest_all ]; then - mkdir -p .tmp$where - ln -s $partimage_dir$where/* .tmp$where - fi - - mkisofs -f -o part_$action.iso -r -J -hide-rr-moved -nobak -cache-inodes -publisher Mandrakesoft -V 'mdk part save/rest' -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table .tmp - mkcd --addmd5 part_$action.iso -done - -rm -rf .tmp |
