Changeset 1042
- Timestamp:
- 11/08/08 17:41:17 (2 months ago)
- Location:
- trunk/initramfs-tools-tcos
- Files:
-
- 15 modified
-
conf/tcos-run-functions.sh (modified) (3 diffs)
-
debian/changelog (modified) (1 diff)
-
hooks-addons/00main (modified) (1 diff)
-
hooks-addons/clean_initramfs (modified) (2 diffs)
-
scripts/tcos-bottom/10ldconfig (modified) (1 diff)
-
scripts/tcos-bottom/25startx (modified) (2 diffs)
-
scripts/tcos-bottom/80shell (modified) (1 diff)
-
scripts/tcos-premount/20hdd (modified) (1 diff)
-
scripts/tcos-premount/35http (modified) (1 diff)
-
scripts/tcos-premount/40tftp (modified) (1 diff)
-
scripts/tcos-premount/45sqmount (modified) (1 diff)
-
scripts/tcos-premount/50unionfs (modified) (1 diff)
-
scripts/tcos-top/01busybox (modified) (1 diff)
-
scripts/tcos-top/05network (modified) (2 diffs)
-
tcos/logo.lss (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
trunk/initramfs-tools-tcos/conf/tcos-run-functions.sh
r1032 r1042 49 49 kill_usplash() { 50 50 if [ -x /sbin/usplash ]; then 51 usplash_write QUIT2> /dev/null52 killall usplash 2> /dev/null51 usplash_write "QUIT" 2> /dev/null 52 killall usplash 2> /dev/null 53 53 #chvt 1 2> /dev/null # this cause some problems :( 54 54 fi … … 165 165 mkdir $(dirname $2) >/dev/null 2>&1 166 166 _log "tftp -g -r ${1} -l ${2} "$(read_server "tftp-server") 167 rm -f /tmp/downloading 168 touch /tmp/downloading 169 /sbin/down-listener & 167 170 tftp -g -r ${1} -l ${2} $(read_server "tftp-server") > /dev/null 2> /tmp/download_file.log 171 rm -f /tmp/downloading 168 172 if [ $? = 0 ] ;then 169 173 _log "download_file() OK" … … 212 216 # /tmp/progress is created in scripts/tcos-top/10foo with value=5 213 217 old=$(cat /tmp/progress) 214 new=$((${old}+${sum})) 218 new=$(echo $old $sum | awk '{print $1+$2}') 219 #new=$((${old}+${sum})) 215 220 if [ -x /sbin/usplash_write ]; then 216 221 /sbin/usplash_write "PROGRESS ${new}" -
trunk/initramfs-tools-tcos/debian/changelog
r1037 r1042 1 initramfs-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 1 13 initramfs-tools-tcos (0.89.17) unstable; urgency=low 2 14 -
trunk/initramfs-tools-tcos/hooks-addons/00main
r1035 r1042 140 140 EOF 141 141 142 143 cat << EOF > $DESTDIR/sbin/down-listener 144 #!/bin/sh 145 146 . /conf/tcos-run-functions 147 148 MAX=15 149 COUNT=0 150 151 sleep 1 152 [ ! -e /tmp/downloading ] && exit 0 153 154 while [ -e /tmp/downloading ] && [ \$COUNT -lt \$MAX ]; do 155 update_progress 1 156 COUNT=\$((\$COUNT+1)) 157 sleep 1 158 done 159 160 161 EOF 162 chmod +x $DESTDIR/sbin/down-listener 163 -
trunk/initramfs-tools-tcos/hooks-addons/clean_initramfs
r917 r1042 74 74 rm -f ${DESTDIR}/usr/lib/libkrb5support.so.0 75 75 rm -f ${DESTDIR}/usr/lib/libfusion-1.0.so.0 76 rm -f ${DESTDIR}/usr/lib/libdrm.so.276 #rm -f ${DESTDIR}/usr/lib/libdrm.so.2 77 77 rm -f ${DESTDIR}/usr/lib/libdirectfb-1.0.so.0 78 78 rm -f ${DESTDIR}/usr/lib/libnvidia-tls.so.1 … … 84 84 rm -f ${DESTDIR}/usr/lib/imlib2/loaders/png.so 85 85 rm -f ${DESTDIR}/usr/lib/libgssapi_krb5.so.2 86 rm -f ${DESTDIR}/lib/libsplashycnf.so.186 #rm -f ${DESTDIR}/lib/libsplashycnf.so.1 87 87 rm -f ${DESTDIR}/lib/libkeyutils.so.1 88 rm -f ${DESTDIR}/lib/libsplashy.so.188 #rm -f ${DESTDIR}/lib/libsplashy.so.1 89 89 -
trunk/initramfs-tools-tcos/scripts/tcos-bottom/10ldconfig
r788 r1042 110 110 fi 111 111 112 echo 67 > /tmp/progress 112 113 update_progress 113 114 -
trunk/initramfs-tools-tcos/scripts/tcos-bottom/25startx
r741 r1042 110 110 startx=$(read_cmdline_var "startx" "${startx}") 111 111 112 kill_usplash 112 if [ "${startx}" != "N" ]; then 113 kill_usplash 114 fi 113 115 114 116 … … 131 133 132 134 135 echo 82 > /tmp/progress 136 update_progress 133 137 134 138 exit 0 -
trunk/initramfs-tools-tcos/scripts/tcos-bottom/80shell
r1033 r1042 24 24 export PS1="($(hostname)@$(whoami)) # " 25 25 26 clear 26 kill_usplash 27 grep -q " startx=N " /proc/cmdline && chvt 1 28 29 # no clear 30 #clear 27 31 28 32 -
trunk/initramfs-tools-tcos/scripts/tcos-premount/20hdd
r741 r1042 55 55 56 56 57 update_progress 557 update_progress 58 58 59 59 exit 0 -
trunk/initramfs-tools-tcos/scripts/tcos-premount/35http
r741 r1042 66 66 67 67 68 update_progress 568 update_progress 69 69 70 70 exit 0 -
trunk/initramfs-tools-tcos/scripts/tcos-premount/40tftp
r1033 r1042 86 86 87 87 88 update_progress 1088 update_progress 89 89 90 90 exit 0 -
trunk/initramfs-tools-tcos/scripts/tcos-premount/45sqmount
r849 r1042 85 85 86 86 87 update_progress 587 update_progress 88 88 89 89 exit 0 -
trunk/initramfs-tools-tcos/scripts/tcos-premount/50unionfs
r849 r1042 47 47 48 48 49 update_progress 5 49 echo 48 > /tmp/progress 50 update_progress 50 51 51 52 exit 0 -
trunk/initramfs-tools-tcos/scripts/tcos-top/01busybox
r1033 r1042 15 15 . /conf/tcos.conf 16 16 . /conf/tcos-run-functions 17 18 # stop PULSATE 19 grep -q " splash " /proc/cmdline && usplash_write "PROGRESS 0" >/dev/null 2>&1 17 20 18 21 -
trunk/initramfs-tools-tcos/scripts/tcos-top/05network
r1027 r1042 21 21 # file to save progress % 22 22 echo 5 > /tmp/progress 23 update_progress 23 24 24 25 # localhost … … 267 268 268 269 270 echo 18 > /tmp/progress 269 271 update_progress 270 272
