S***@be.thalesgroup.com
2011-02-10 14:32:37 UTC
Hello,
I have a few questions about setup/Linux/install.sh :
- ossdetect is used to create device nodes and write to a file which drivers
are installed. Can I install drivers manually or is calling soundon (once)
enough ?
-the old (pre V4 ? ) nodes are deleted near the end. Could this be moved
upwards to where the old pre V4 modules are removed ?
- in a text output V4.1 is still mentioned. Could a generic version
parameter be useful ?
- why is flashsupport recompiled ? AFAICT it is delivered with OSS4 itself
and is not kernel version dependend and 32 or 64 bit can be known when the
configure script is called.
- in several places /etc/issue is checked to find which distribution is used
to be able to provide more detailed help. This could be abstracted in a few
shell functions that are implemented per distribution and only the functions
for the detetced distribution are include.
Example (pseudo code):
Function detect_distro()
{
DISTRO=other
if test grep Fedora /etc/issue
DISTRO= Fedora
fi
if test grep Ubuntu /etc/issue
DISTRO= Ubuntu
fi
..
}
Include help.$DISTRO
The help.Fedora, help.Ubuntu and help.other would contain the functions
help_on_missing_buildenv and help_on_missing_kernelsrc.
This way the install script would become both smaller and other
distributions could be added more easily if anyone familiar with a missing
distro feels like it and has five minutes to spare.
Thank you for any advice or comments,
Sven
Sven Biebaut
+32 2 391 2362
***@be.thalesgroup.com
----------------------------------------------------------------------------
-
T COMMUNICATIONS BELGIUM
Rue des Frères Taymans 28, B-1480 Tubize, Belgium
Phone: +32 (0)2 3912211, fax: +32 (0)2
3912300
I have a few questions about setup/Linux/install.sh :
- ossdetect is used to create device nodes and write to a file which drivers
are installed. Can I install drivers manually or is calling soundon (once)
enough ?
-the old (pre V4 ? ) nodes are deleted near the end. Could this be moved
upwards to where the old pre V4 modules are removed ?
- in a text output V4.1 is still mentioned. Could a generic version
parameter be useful ?
- why is flashsupport recompiled ? AFAICT it is delivered with OSS4 itself
and is not kernel version dependend and 32 or 64 bit can be known when the
configure script is called.
- in several places /etc/issue is checked to find which distribution is used
to be able to provide more detailed help. This could be abstracted in a few
shell functions that are implemented per distribution and only the functions
for the detetced distribution are include.
Example (pseudo code):
Function detect_distro()
{
DISTRO=other
if test grep Fedora /etc/issue
DISTRO= Fedora
fi
if test grep Ubuntu /etc/issue
DISTRO= Ubuntu
fi
..
}
Include help.$DISTRO
The help.Fedora, help.Ubuntu and help.other would contain the functions
help_on_missing_buildenv and help_on_missing_kernelsrc.
This way the install script would become both smaller and other
distributions could be added more easily if anyone familiar with a missing
distro feels like it and has five minutes to spare.
Thank you for any advice or comments,
Sven
Sven Biebaut
+32 2 391 2362
***@be.thalesgroup.com
----------------------------------------------------------------------------
-
T COMMUNICATIONS BELGIUM
Rue des Frères Taymans 28, B-1480 Tubize, Belgium
Phone: +32 (0)2 3912211, fax: +32 (0)2
3912300