Hello community, here is the log from the commit of package preload for openSUSE:Factory checked in at Wed May 6 18:50:40 CEST 2009. -------- --- preload/preload.changes 2009-04-16 20:26:53.000000000 +0200 +++ /mounts/work_src_done/STABLE/preload/preload.changes 2009-05-06 13:42:28.000000000 +0200 @@ -0,0 +1,12 @@ +------------------------------------------------------------------- +Wed May 6 13:42:09 CEST 2009 - coolo@suse.de + +- if the output goes to serial console, give some more buffer + +------------------------------------------------------------------- +Mon May 4 15:24:15 CEST 2009 - coolo@suse.de + +- don't be too verbose (bnc#494082) + +------------------------------------------------------------------- + calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ preload.spec ++++++ --- /var/tmp/diff_new_pack.x21039/_old 2009-05-06 18:50:32.000000000 +0200 +++ /var/tmp/diff_new_pack.x21039/_new 2009-05-06 18:50:32.000000000 +0200 @@ -20,7 +20,7 @@ Name: preload Version: 1.0 -Release: 10 +Release: 11 Summary: Preloads Files into System Cache for Faster Booting License: GPL v2 or later Group: System/Boot @@ -149,6 +149,10 @@ #/opt/kde3 %changelog +* Wed May 06 2009 coolo@suse.de +- if the output goes to serial console, give some more buffer +* Mon May 04 2009 coolo@suse.de +- don't be too verbose (bnc#494082) * Thu Apr 16 2009 coolo@suse.de - don't require the kmp, it still has a function without regenerating - removed debug output from waitforidle ++++++ preload.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/preload/init.startpreload new/preload/init.startpreload --- old/preload/init.startpreload 2009-04-06 12:05:26.000000000 +0200 +++ new/preload/init.startpreload 2009-05-06 13:41:33.000000000 +0200 @@ -31,8 +31,17 @@ esac done if test "$preload" = 1; then - if test "$preloadlog" != "/dev/null"; then - staprun -o $preloadlog preloadtrace & + cmd=staprun + case "$preloadlog" in + /dev/null) + cmd= + ;; + /dev/tty*) + cmd="staprun -b 40" + ;; + esac + if test -n "$cmd"; then + $cmd -o $preloadlog preloadtrace & count=0 while test -z "`pidof stapio`"; do usleep 50000 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/preload/preload.c new/preload/preload.c --- old/preload/preload.c 2009-03-25 21:47:16.000000000 +0100 +++ new/preload/preload.c 2009-05-04 15:22:10.000000000 +0200 @@ -508,7 +508,7 @@ do_command(idx++); } } - printf("unlink\n"); + if (verbose) printf("unlink\n"); unlink("/dev/shm/preload_sock"); exit(0); } @@ -626,7 +626,7 @@ buffer[ret] = 0; /* the kernel limits the execname, so we need to do too */ buffer[16] = 0; - printf("got request to load %s %d\n", buffer, s2); + if (verbose) printf("got request to load %s %d\n", buffer, s2); for (i = 0; i < process_counter; ++i) { if (! strcmp(all_processes[i].name, buffer)) @@ -641,7 +641,7 @@ } } if (s2 >= 0) { - printf("%s not found\n", buffer); + if (verbose) printf("%s not found\n", buffer); close(s2); } /* FD_ISSET(0, &rfds) will be true. */ @@ -654,8 +654,8 @@ { printf ("Loaded %zd bytes\n", total_bytes); printf ("Stated %zd entries\n", total_stats); + printf("unlinked sun\n"); } - printf("unlinked sun\n"); unlink(local.sun_path); return 0; } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/preload/preload-client.c new/preload/preload-client.c --- old/preload/preload-client.c 2009-03-25 21:47:16.000000000 +0100 +++ new/preload/preload-client.c 2009-05-04 15:21:06.000000000 +0200 @@ -24,7 +24,7 @@ strcpy(remote.sun_path, SOCK_PATH); len = strlen(remote.sun_path) + sizeof(remote.sun_family); if (connect(s, (struct sockaddr *)&remote, len) == -1) { - perror("connect"); + /*perror("connect");*/ exit(1); } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de