Changeset 1042

Show
Ignore:
Timestamp:
11/08/08 17:41:17 (2 months ago)
Author:
mariodebian
Message:

initramfs-tools-tcos (0.89.18)

  • Use update_progress without argument (switch to new theme)
  • tcos/logo.lss:
    • New black theme
  • conf/tcos-run-functions.sh:
    • Increase progress bar when downloading big files
  • hooks-addons/clean_initramfs:
    • No delete libdrm and other libs
Location:
trunk/initramfs-tools-tcos
Files:
15 modified

Legend:

Unmodified
Added
Removed
  • trunk/initramfs-tools-tcos/conf/tcos-run-functions.sh

    r1032 r1042  
    4949kill_usplash() { 
    5050  if [ -x /sbin/usplash ]; then 
    51     usplash_write QUIT  2> /dev/null 
    52     killall usplash     2> /dev/null 
     51    usplash_write "QUIT"  2> /dev/null 
     52    killall usplash       2> /dev/null 
    5353    #chvt 1              2> /dev/null # this cause some problems :( 
    5454  fi 
     
    165165mkdir $(dirname $2) >/dev/null 2>&1 
    166166_log "tftp -g -r ${1} -l ${2} "$(read_server "tftp-server") 
     167rm -f /tmp/downloading 
     168touch /tmp/downloading 
     169/sbin/down-listener & 
    167170tftp -g -r ${1} -l ${2} $(read_server "tftp-server") > /dev/null 2> /tmp/download_file.log 
     171rm -f /tmp/downloading 
    168172if [ $? = 0 ] ;then 
    169173 _log "download_file() OK" 
     
    212216  # /tmp/progress is created in scripts/tcos-top/10foo with value=5 
    213217  old=$(cat /tmp/progress) 
    214   new=$((${old}+${sum})) 
     218  new=$(echo $old $sum | awk '{print $1+$2}') 
     219  #new=$((${old}+${sum})) 
    215220  if [ -x /sbin/usplash_write ]; then 
    216221    /sbin/usplash_write "PROGRESS ${new}" 
  • trunk/initramfs-tools-tcos/debian/changelog

    r1037 r1042  
     1initramfs-tools-tcos (0.89.18) unstable; urgency=low 
     2 
     3  * Use update_progress without argument (switch to new theme) 
     4  * tcos/logo.lss: 
     5    - New black theme 
     6  * conf/tcos-run-functions.sh: 
     7    - Increase progress bar when downloading big files 
     8  * hooks-addons/clean_initramfs: 
     9    - No delete libdrm and other libs 
     10 
     11 -- Mario Izquierdo (mariodebian) <mariodebian@gmail.com>  Sat, 08 Nov 2008 17:42:36 +0100 
     12 
    113initramfs-tools-tcos (0.89.17) unstable; urgency=low 
    214 
  • trunk/initramfs-tools-tcos/hooks-addons/00main

    r1035 r1042  
    140140EOF 
    141141 
     142 
     143cat << EOF > $DESTDIR/sbin/down-listener 
     144#!/bin/sh 
     145 
     146. /conf/tcos-run-functions 
     147 
     148MAX=15 
     149COUNT=0 
     150 
     151sleep 1 
     152[ ! -e /tmp/downloading ] && exit 0 
     153 
     154while [ -e /tmp/downloading ] && [ \$COUNT -lt \$MAX ]; do 
     155  update_progress 1 
     156  COUNT=\$((\$COUNT+1)) 
     157  sleep 1 
     158done 
     159 
     160 
     161EOF 
     162chmod +x $DESTDIR/sbin/down-listener 
     163 
  • trunk/initramfs-tools-tcos/hooks-addons/clean_initramfs

    r917 r1042  
    7474rm -f ${DESTDIR}/usr/lib/libkrb5support.so.0 
    7575rm -f ${DESTDIR}/usr/lib/libfusion-1.0.so.0 
    76 rm -f ${DESTDIR}/usr/lib/libdrm.so.2 
     76#rm -f ${DESTDIR}/usr/lib/libdrm.so.2 
    7777rm -f ${DESTDIR}/usr/lib/libdirectfb-1.0.so.0 
    7878rm -f ${DESTDIR}/usr/lib/libnvidia-tls.so.1 
     
    8484rm -f ${DESTDIR}/usr/lib/imlib2/loaders/png.so 
    8585rm -f ${DESTDIR}/usr/lib/libgssapi_krb5.so.2 
    86 rm -f ${DESTDIR}/lib/libsplashycnf.so.1 
     86#rm -f ${DESTDIR}/lib/libsplashycnf.so.1 
    8787rm -f ${DESTDIR}/lib/libkeyutils.so.1 
    88 rm -f ${DESTDIR}/lib/libsplashy.so.1 
     88#rm -f ${DESTDIR}/lib/libsplashy.so.1 
    8989 
  • trunk/initramfs-tools-tcos/scripts/tcos-bottom/10ldconfig

    r788 r1042  
    110110fi 
    111111 
     112echo 67 > /tmp/progress 
    112113update_progress 
    113114 
  • trunk/initramfs-tools-tcos/scripts/tcos-bottom/25startx

    r741 r1042  
    110110startx=$(read_cmdline_var "startx" "${startx}") 
    111111 
    112 kill_usplash 
     112if [ "${startx}" != "N" ]; then 
     113  kill_usplash 
     114fi 
    113115 
    114116 
     
    131133 
    132134 
     135echo 82 > /tmp/progress 
     136update_progress 
    133137 
    134138exit 0 
  • trunk/initramfs-tools-tcos/scripts/tcos-bottom/80shell

    r1033 r1042  
    2424export PS1="($(hostname)@$(whoami)) # " 
    2525 
    26 clear 
     26kill_usplash 
     27grep -q " startx=N " /proc/cmdline && chvt 1 
     28 
     29# no clear 
     30#clear 
    2731 
    2832 
  • trunk/initramfs-tools-tcos/scripts/tcos-premount/20hdd

    r741 r1042  
    5555 
    5656 
    57 update_progress 5 
     57update_progress 
    5858 
    5959exit 0 
  • trunk/initramfs-tools-tcos/scripts/tcos-premount/35http

    r741 r1042  
    6666 
    6767 
    68 update_progress 5 
     68update_progress 
    6969 
    7070exit 0 
  • trunk/initramfs-tools-tcos/scripts/tcos-premount/40tftp

    r1033 r1042  
    8686 
    8787 
    88 update_progress 10 
     88update_progress 
    8989 
    9090exit 0 
  • trunk/initramfs-tools-tcos/scripts/tcos-premount/45sqmount

    r849 r1042  
    8585 
    8686 
    87 update_progress 5 
     87update_progress 
    8888 
    8989exit 0 
  • trunk/initramfs-tools-tcos/scripts/tcos-premount/50unionfs

    r849 r1042  
    4747 
    4848 
    49 update_progress 5 
     49echo 48 > /tmp/progress 
     50update_progress 
    5051 
    5152exit 0 
  • trunk/initramfs-tools-tcos/scripts/tcos-top/01busybox

    r1033 r1042  
    1515. /conf/tcos.conf 
    1616. /conf/tcos-run-functions 
     17 
     18# stop PULSATE 
     19grep -q " splash " /proc/cmdline && usplash_write "PROGRESS 0" >/dev/null 2>&1 
    1720 
    1821 
  • trunk/initramfs-tools-tcos/scripts/tcos-top/05network

    r1027 r1042  
    2121# file to save progress % 
    2222echo 5 > /tmp/progress 
     23update_progress 
    2324 
    2425# localhost 
     
    267268 
    268269 
     270echo 18 > /tmp/progress 
    269271update_progress 
    270272