20090301-alt13.1
- silly bug in waiting fixed
This commit is contained in:
parent
46da4d889d
commit
235e6e0e39
3
log.c
3
log.c
@ -72,7 +72,8 @@ void open_log(void)
|
|||||||
if (!IS_TESTING) {
|
if (!IS_TESTING) {
|
||||||
for(i=0; i < timeout; i++ ) {
|
for(i=0; i < timeout; i++ ) {
|
||||||
logfile = fopen("/dev/tty3", "w");
|
logfile = fopen("/dev/tty3", "w");
|
||||||
if(logfile > -1) break;
|
if(logfile != NULL) break;
|
||||||
|
fprintf(stderr,"\rwaiting for /dev/tty3: %d",i);
|
||||||
sleep(1);
|
sleep(1);
|
||||||
}
|
}
|
||||||
if (!logfile)
|
if (!logfile)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: propagator
|
Name: propagator
|
||||||
Version: 20090301
|
Version: 20090301
|
||||||
Release: alt13
|
Release: alt13.1
|
||||||
|
|
||||||
Summary: 'Early userspace' set of binaries
|
Summary: 'Early userspace' set of binaries
|
||||||
License: GPL
|
License: GPL
|
||||||
@ -39,6 +39,9 @@ make %{?_with_shell:WITH_SHELL=t} %{?_with_splash:WITH_SPLASH=t} libdir=%_libdir
|
|||||||
%_libdir/%name
|
%_libdir/%name
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 19 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 20090301-alt13.1
|
||||||
|
- silly bug in waiting fixed
|
||||||
|
|
||||||
* Thu Nov 18 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 20090301-alt13
|
* Thu Nov 18 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 20090301-alt13
|
||||||
- Wait for tty[23]. It seems that is also fixes drives detection on el-smp
|
- Wait for tty[23]. It seems that is also fixes drives detection on el-smp
|
||||||
|
|
||||||
|
1
stage1.c
1
stage1.c
@ -120,6 +120,7 @@ static void spawn_shell(void)
|
|||||||
for(i=0; i < timeout; i++ ) {
|
for(i=0; i < timeout; i++ ) {
|
||||||
fd = open("/dev/tty2", O_RDWR);
|
fd = open("/dev/tty2", O_RDWR);
|
||||||
if(fd > -1) break;
|
if(fd > -1) break;
|
||||||
|
fprintf(stderr,"waiting for /dev/tty2: %d\n",i);
|
||||||
sleep(1);
|
sleep(1);
|
||||||
}
|
}
|
||||||
if (fd == -1) {
|
if (fd == -1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user