Ignore:
Timestamp:
May 7, 2007, 2:07:32 PM (13 years ago)
Author:
Bruno Cornec
Message:
  • Fix a Debian packaging bug
  • Do not use mindi-boot.2880.img (which may not exist) anymore in mondorestore
  • Adds a debuging message for image_devs for mondo
  • Adds some useful log info for debugging at restore time in init
  • Debian stores its optimised libraries in /lib/i686/cmov now. (Andree Leidenfrost)
  • Fix a bug on lsmod | sed. (Andree Leidenfrost). As a consequence, lsmod is not used anymo

re in mindi (except for log). Replaced by /proc/modules. And the MODULES variable is now us
ed to avoid code duplication.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/rootfs/sbin/init

    r1351 r1408  
    523523openvt 8 /usr/bin/tail -f $LOGFILE
    524524
     525# Log some useful info
     526echo "init (from mindi v$MINDI_VER-r${MINDI_REV}" >> $LOGFILE
     527echo "/proc/cmdline is:" >> $LOGFILE
     528cat /proc/cmdline  >> $LOGFILE
     529echo "Start date : `date`" >> $LOGFILE
     530echo "df result:" >> $LOGFILE
     531echo "----------" >> $LOGFILE
     532df >> $LOGFILE
     533echo "-------------" >> $LOGFILE
     534echo "mount result:" >> $LOGFILE
     535echo "-------------" >> $LOGFILE
     536mount >> $LOGFILE
     537echo "-------------" >> $LOGFILE
     538echo "lsmod result:" >> $LOGFILE
     539echo "-------------" >> $LOGFILE
     540lsmod >> $LOGFILE
     541echo "-------------" >> $LOGFILE
     542
    525543#-------------------------------
    526544#ABSORBENTANDYELLOWANDPOROUSISHE#;# --- don't touch this either :)
    527545#-------------------------------
    528 
    529 lsmod > /tmp/ramdisk-lsmod.txt 2> /dev/null
    530 cut -d' ' -f1 /tmp/original-lsmod.txt /tmp/original-lsmod.txt /tmp/ramdisk-lsmod.txt | sort | uniq -d > /tmp/missing-modules.txt
    531 echo "Warning - these modules did not make it onto the ramdisk" >> $LOGFILE
    532 cat /tmp/missing-modules.txt >> $LOGFILE
    533546
    534547#ctrlaltdel soft
Note: See TracChangeset for help on using the changeset viewer.