Changeset 2964 in MondoRescue
- Timestamp:
- Mar 14, 2012, 2:42:05 AM (13 years ago)
- Location:
- branches/3.0/mindi
- Files:
-
- 7 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/mindi/deplist.d/addon.conf
r2409 r2964 4 4 # 5 5 /usr/games/petris 6 /usr/bin/nano -
branches/3.0/mindi/deplist.d/base.conf
r2893 r2964 52 52 /usr/bin/lzma 53 53 54 /bin/bash55 54 /bin/date 56 55 /sbin/ctrlaltdel … … 60 59 /usr/bin/xargs 61 60 /usr/bin/less 62 # On ArchLinux 63 /bin/less 61 64 62 /sbin/ldconfig 65 63 /usr/bin/tee -
branches/3.0/mindi/deplist.d/minimal.conf
r2951 r2964 7 7 8 8 # Base Unix commands 9 /bin/bash 9 10 /bin/mt 10 11 /bin/awk … … 20 21 /bin/loadkeys 21 22 /sbin/pidof 23 /etc/init.d/functions 22 24 # On ArchLinux 23 25 /bin/pidof 24 /etc/init.d/functions25 # On ArchLinux26 26 /etc/rc.d/functions 27 /usr/bin/grep 27 28 28 29 # Compression … … 68 69 /sbin/mount.ntfs-3g 69 70 70 # For udev/devfs71 # For devfs 71 72 /sbin/MAKEDEV 72 /etc/init.d/functions73 73 /sbin/devfsd 74 /etc/udev75 /etc/hotplug.d76 /sbin/udev.static77 /sbin/udevsend78 /sbin/udevd79 74 /sbin/hwup 80 /sbin/path_id 81 /sbin/scsi_tur 82 # On ArchLinux 83 /sbin/udevadm 84 /sbin/udevstart.static 85 /sbin/udev_volume_id 86 /sbin/start_udev 87 /sbin/udev 88 /sbin/udevstart 89 /sbin/create_static_dev_nodes 90 /etc/init.d/functions 75 91 76 # On SLES 10 92 77 /sbin/path_id … … 95 80 /sbin/hwup 96 81 82 /sbin/usb_id 83 /sbin/vol_id 84 /sbin/pam_console_apply 85 97 86 # Modules 98 87 /sbin/insmod 99 88 /sbin/lsmod 89 /sbin/kmod 100 90 # On ArchLinux 101 /bin/lsmod 91 /usr/bin/lsmod 92 /usr/bin/insmod 93 /usr/bin/kmod 102 94 /sbin/modprobe 103 95 /etc/modprobe.d -
branches/3.0/mindi/deplist.d/net.conf
r2952 r2964 15 15 /var/lib/dhclient 16 16 # On ArchLinnux 17 /sbin/dhcpcd 18 /var/lib/dhcpd 19 # On ArchLinnux 20 /sbin/dhcpcd 17 /usr/sbin/dhcpcd 21 18 /var/lib/dhcpd 22 19 -
branches/3.0/mindi/deplist.d/udev.conf
r2899 r2964 8 8 # 9 9 /sbin/udevd 10 /sbin/modprobe11 /sbin/insmod12 10 /sbin/udevstart 13 11 /sbin/udevcontrol 14 12 /sbin/udevtrigger 15 13 /sbin/udevsettle 16 /sbin/pam_console_apply 17 /bin/bash 14 /sbin/udevadm 15 /sbin/udev.static 16 /sbin/udevsend 17 /etc/udev 18 /etc/hotplug.d 19 20 # On ArchLinux 21 /usr/bin/udevadm 22 /usr/bin/udevd 23 24 /sbin/udevstart.static 25 /sbin/udev_volume_id 26 /sbin/start_udev 27 /sbin/udev 18 28 /sbin/create_static_dev_nodes 19 /sbin/start_udev 20 /sbin/udevadm 21 /sbin/usb_id 22 /sbin/vol_id 29 -
branches/3.0/mindi/install.sh
r2882 r2964 76 76 install -m 755 analyze-my-lvm $locallib/mindi 77 77 install -m 644 msg-txt dev.tgz $locallib/mindi 78 install -m 644 deplist.txt udev.filesmindi.conf $conf78 install -m 644 deplist.txt mindi.conf $conf 79 79 for f in deplist.d/*.conf; do 80 80 install -m 644 $f $conf/deplist.d -
branches/3.0/mindi/mindi
r2963 r2964 2545 2545 fi 2546 2546 if [ -x /sbin/udevd ]; then 2547 lis2=`grep -Ev '^#' $ MINDI_CONF/udev.files`2547 lis2=`grep -Ev '^#' $DEPLIST_DIR/udev.conf` 2548 2548 lis="" 2549 2549 # Get only the files which exist in that list … … 2656 2656 done 2657 2657 2658 # Also copy modules. depin case of udev so that normal modprobe works2659 tar cf - -C / /$needed_modules_path/modules. dep 2>> $MINDI_TMP/$$.log | (cd "$mountpoint" ; tar xf -) || LogIt "ERROR: Unable to copy modules.depto $mountpoint" $MINDI_TMP/$$.log2658 # Also copy modules.* in case of udev so that normal modprobe works 2659 tar cf - -C / /$needed_modules_path/modules.* 2>> $MINDI_TMP/$$.log | (cd "$mountpoint" ; tar xf -) || LogIt "ERROR: Unable to copy modules.* to $mountpoint" $MINDI_TMP/$$.log 2660 2660 2661 2661 # Copy FW in case some drivers needs it -
branches/3.0/mindi/rootfs/etc/init.d/rcS
r2955 r2964 150 150 151 151 # Here we can add the USB storage module, it's working even with OBDR ! 152 modprobe -q usb-storage 152 modprobe -q usb-storage 2> /dev/null 153 153 # Tape takes some time to appear 154 154 sleep 10 … … 198 198 fi 199 199 echo "Activating a potential USB Storage device" 200 modprobe -q usb-storage 200 modprobe -q usb-storage 2> /dev/null 201 201 for i in 1 2 3 4 5 6 7 8 9 10 ; do 202 202 sleep 1 … … 390 390 return 391 391 fi 392 modprobe -q uhcd_hci 393 modprobe -q usbhid 392 modprobe -q uhcd_hci 2> /dev/null 393 modprobe -q usbhid 2> /dev/null 394 394 } 395 395 … … 403 403 LogIt "Scanning LVM's..." 1 404 404 if which lvm ; then 405 modprobe -q dm-mod 406 modprobe -q dm_mod 405 modprobe -q dm-mod 2> /dev/null 406 modprobe -q dm_mod 2> /dev/null 407 407 lvm vgscan --mknodes 408 408 else … … 687 687 if [ $? -eq 0 ]; then 688 688 echo "Forcing first $j..." 689 modprobe -q $j 689 modprobe -q $j 2> /dev/null 690 690 fi 691 691 done … … 703 703 fi 704 704 echo "Probing $j..." 705 modprobe -q $j 705 modprobe -q $j 2> /dev/null 706 706 done 707 707 } … … 742 742 MINDI_REV=PBREV 743 743 trap CaughtSoftReset SIGTERM 744 trap GetShell SIGINT R744 trap GetShell SIGINT 745 745 LOGFILE=/var/log/mondorestore.log 746 746 PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/mondo:/usr/games
Note:
See TracChangeset
for help on using the changeset viewer.