Changeset 454 for branches/stable


Ignore:
Timestamp:
Mar 24, 2006, 7:09:44 PM (14 years ago)
Author:
bcornec
Message:

deplist.d introduced
deplist.txt split in multiple config files under it
delivery process adapted

Location:
branches/stable/mindi
Files:
7 added
4 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/deplist.txt

    r321 r454  
    1 # Mindi-Linux's dependency list                                      07/10/2004
     1# Mindi-Linux's dependency list
    22#
    33# NB:
     
    55# 2. If you put 'libncurses' (w/o quotation marks) on an uncommented line then
    66#    Mindi will find /lib/libncurses* and include all matching files.
    7 # 3. You may give an absolute path if you think Mindi will have trouble finding
    8 #    the file on its own.
     7# 3. You have to give an absolute path
    98# 4. If you want to add something, just add it on its own line. K.I.S.S.
    109# 5. You must _not_ put a semicolon & comment after an entry. e.g. 'foo; #bar'.
    11 # 6. All these worlds are yours except Europa. Attempt no landing there.
     10# 6. you can add also entries in a file inside the deplist.d subdirectory
    1211
    13 #------------------------- STUFF ADDED BY THE USER ----------------------------
    14 #---vvvv     vvvv     vvvv  list your stuff here!  vvvv     vvvv     vvvv
    15 #
    16 # bar
    17 # foo
    18 #
    19 #---^^^^     ^^^^     ^^^^  list your stuff here!  ^^^^     ^^^^     ^^^^
    20 #------------------------------------------------------------------------------
    21 
    22 #----- Covers a multitude of sins, including XFS, JFS, ReiserFS, and RAID -----
    23 mkfs mkswap mkswapfs mkfs.swap mkfs.ext2 mke2fs mkfs.vfat mkfs.dos mkdosfs mkvfatfs mkfatfs mkreiserfs mkfs.reiserfs mkfs.reiser mkfs.ext3 mke3fs mkfs.jfs mkfs.xfs mkxfs mkjfs mkxfsfs mkjfsfs logdump logredo xchkdmp xchklog xpeek mkpv mkraid raid0run raidhotadd raidhotremove raidsetfaulty raidstart raidstop e2label tune2fs e2fsadm mdadm
    24 fsck fsck.ext2 fsck.reiserfs fsck.reiser fsck.xfs fsck.ext3 fsck.jfs badblocks
     12#----- Kept for compatibility -----
     13mkswapfs mkfs.swap mkfs.dos mkvfatfs mkfatfs mkfs.reiser mke3fs mkxfs mkjfs mkxfsfs mkjfsfs logdump logredo xchkdmp xchklog xpeek e2fsadm fsck.reiser
    2514
    2615#-------------------------------- ESSENTIAL -----------------------------------
    27 fstab raidtab modules.conf conf.modules mondorestore mt modules.conf.local
    28 afio star ntfsclone parted ms-sys file getfattr setfattr getfacl setfacl
    29 buffer
    30 awk gawk
    31 bzip2 bunzip2 lzop
    32 date ctrlaltdel
    33 dd
    34 eject
    35 grep ld-linux.so.2 ld-2.3.4.so
    36 hosts host.conf resolv.conf hosts.allow hosts.deny
    37 wc
    38 xargs
    39 gzip gunzip
    40 klogd sysklogd
    41 fdisk hdparm parted arch
    42 less less.bin less.dummy less.dupe less.hot.weather.in.texas.please
    43 loadkeys
    44 mount
    45 ping devfsd burnBX burnK6 burnK7 burnMMX burnP5 burnP6 lucifer tiobench tiotest bonnie++ mprime ide-smart
     16conf.modules modules.conf.local ms-sys
     17less.bin less.dummy less.dupe less.hot.weather.in.texas.please
     18burnBX burnK6 burnK7 burnMMX burnP5 burnP6 lucifer tiobench tiotest bonnie++ mprime ide-smart
    4619
    47 # ------------------------------- for X (Hugo) --------------------------------
    48 #tar
    49 #ldd lddlibc4
    50 #libXmu
    51 #libz
    52 #X
    53 #startx
    54 #xinitrc
    55 #xinit
    56 #/etc/X11/XF86Config
    57 #xauth
    58 #libXext
    59 # --- end of X stuff ---
    60 
    61 insmod insmod.static insmod.static.old lsmod
    62 
    63 #-------------------------- For mounting NFS volumes --------------------------
    64 ifconfig route /sbin/start-nfs
    65 #ifconfig host.conf resolv.conf ping ip portmap rpc.statd
    66 #rpc.lockd rpc.statd nfsstat rpc.nfsd rpc.mountd rpc.exportfs exportfs hosts exports hosts.allow hosts.deny showmount /etc/sysconfig/network /etc/sysconfig/network-scripts service usernetctl services protocols inetd inetd.conf /etc/rc.d ifup ifdown
    67 
    68 
     20insmod.static insmod.static.old
    6921
    7022#------------------------ Added for Stuart D. Gathman -------------------------
    7123#lc l lf netstat inetd tcpd in.telnetd route ldconfig ldd telnet rsh rcp services protocols rpc inetd.conf nsswitch.conf localtime security libresolv libutil libcrypt lbnss_compat libnss_files libnss_dns libpwdb libncurses
    7224
    73 
    74 
    75 #------------------------- Part of the Cuckoo Project -------------------------
    76 #mkisofs
    77 #cdrecord
    78 #losetup
    79 #fdformat
    80 #lilo grub
    81 #/usr/local/share/mondo
    82 #mondoarchive
    83 #mindi
    84 #/usr/local/share/mindi
    85 
    8625#----------------- For all you LVM users out there, much love -----------------
    8726LVMFILES:
    88 lvmiopversion lvchange lvcreate lvdisplay lvextend lvmchange lvmcreate_initrd lvmdiskscan lvmsadc lvmsar lvreduce lvremove lvrename lvscan pvchange pvcreate pvdata pvdisplay pvmove pvscan vgcfgbackup vgcfgrestore vgchange vgck vgcreate vgdisplay vgexport vgextend vgimport vgmerge vgmknodes vgreduce vgremove vgrename vgscan vgsplit liblvm lvm lvm-10 /etc/lvm/lvm.conf
     27lvmiopversion  lvmcreate_initrd  pvdata
    8928#------------------------------------------------------------------------------
  • branches/stable/mindi/distributions/rpm/mindi.spec

    r449 r454  
    6060%files
    6161%defattr(644,root,root,755)
    62 %config(noreplace) %{_sysconfdir}/mindi/deplist.txt %{_sysconfdir}/mindi/mindi.conf
     62%config(noreplace) %{_sysconfdir}/mindi/deplist.txt
     63%config(noreplace) %{_sysconfdir}/mindi/deplist.d/*
     64%config(noreplace) %{_sysconfdir}/mindi/mindi.conf
    6365%doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox svn.log
    6466%{_mandir}/man8/*
  • branches/stable/mindi/install.sh

    r449 r454  
    4141
    4242echo "Creating target directories ..."
    43 install -m 755 -d $conf $locallib/mindi $MANDIR $local/sbin $DOCDIR
     43install -m 755 -d $conf $conf/deplist.d $locallib/mindi $MANDIR $local/sbin $DOCDIR
    4444
    4545echo "Copying files ..."
    4646install -m 644 isolinux.cfg msg-txt sys-disk.raw.gz isolinux-H.cfg syslinux.cfg syslinux-H.cfg dev.tgz $locallib/mindi
    4747install -m 644 deplist.txt $conf
    48 install -m 644 distributions/conf/mindi.conf $conf
     48install -m 644 distributions/conf/deplist.d/* $conf/deplist.d
     49install -m 755 distributions/conf/mindi.conf $conf
    4950
    5051cp -af rootfs aux-tools $locallib/mindi
  • branches/stable/mindi/mindi

    r449 r454  
    6464
    6565if [ "$mindi_deplist_dir" == "" ]; then
    66     DEPLIST_DIR="/etc/mindi/deplist.d"
     66    DEPLIST_DIR="$MINDI_CONF/deplist.d"
    6767else
    6868    DEPLIST_DIR="$mindi_deplist_dir"
     
    328328    biggienumber=$4
    329329
    330     [ -d "$filename" ] && Die "Cannot chop up $filename: it's a directory. Please amend deplist.txt accordingly."
     330    [ -d "$filename" ] && Die "Cannot chop up $filename: it's a directory. Please amend deplist file accordingly."
    331331    mkdir -p $outdir
    332332
     
    875875    echo "$fname" >> $outfile.pre
    876876        cat $tempdepfile >> $outfile.pre
    877 #        echo "$fname ----> dependencies:-" >> $LOGFILE
    878 #        cat $tempdepfile | tr -s '/' '/' | sort -u >> $LOGFILE
    879 #        echo -en "(end of deplist of $fname)\n\n" >> $LOGFILE
    880877        rm -f $tempdepfile
    881878    progress=$(($progress+1))
     
    13641361    if [ -d "/proc/lvm" ] || [ -d "/dev/mapper" ]; then
    13651362    echo -en "\rAnalyzing LVM...\r"
    1366     all_partitions=`$MINDI_LIB/analyze-my-lvm | fgrep ">>>" | cut -d' ' -f2-32`
     1363    all_partitions=`$MINDI_SBIN/analyze-my-lvm | fgrep ">>>" | cut -d' ' -f2-32`
    13671364    fi
    13681365    all_partitions="$all_partitions `ListAllPartitions 2> /dev/null`"
     
    21692166    tardir=$TMP_ROOT/tardir
    21702167
    2171     lines=`grep -vx " *#.*" $MINDI_CONF/deplist.txt | grep -vx "" | wc -l`
    2172     cat $MINDI_CONF/deplist.txt | GenerateGiantDependencyList $needlist $lines
     2168    lines=`grep -vx " *#.*" $MINDI_CONF/deplist.txt $DEPLIST_DIR/* | grep -vx "" | wc -l`
     2169    cat $MINDI_CONF/deplist.txt $DEPLIST_DIR/* | GenerateGiantDependencyList $needlist $lines
    21732170    res=$?
    21742171    if [ "$YOUR_KERNEL_SUCKS" ]; then
     
    22702267    cp -f $TMP_ROOT/mountlist.txt $CACHE_LOC
    22712268    [ "`DidMondoCallMe`" ] && cp -f $minidir_root/$noof_disks/tmp/mountlist.txt $MONDO_TMP/.
    2272     [ -d "/proc/lvm" ] && $MINDI_LIB/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm
    2273     [ -d "/dev/mapper" ] && $MINDI_LIB/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm
     2269    [ -d "/proc/lvm" ] && $MINDI_SBIN/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm
     2270    [ -d "/dev/mapper" ] && $MINDI_SBIN/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm
    22742271    cat $minidir_root/$noof_disks/tmp/mountlist.txt >> $LOGFILE
    22752272    ZipMinidirsIntoTarballs $minidir_root $tardir $noof_disks
     
    29542951#----------------------------------- main -----------------------------------#
    29552952##############################################################################
    2956 
    2957 
    2958 #AWK=`which gawk`
    2959 #LocateDeps $1
    2960 #MakeModuleLoadingScript /tmp/load-modules.sh
    2961 #exit 0
    2962 
    2963 
    2964 #cat /etc/mindi/deplist.txt | GenerateGiantDependencyList /tmp/deplist.old 200
    2965 #exit 0
    2966 
    29672953
    29682954
Note: See TracChangeset for help on using the changeset viewer.