Hi, If you want to have logs, direct stdout (it seems you actually did it), the automatic creation of a log is not directly supported (and actually makes the boostrapping a little bit more complex).
For the prompt before installation, it is actually possible, i also like this kind of stuff: edit the /etc/oscar/oscar.conf file and change "PREREQ_MODE = check_and_fix" to "PREREQ_MODE = check_only". :-) It will tell you what you will need to manually do. oscar-config does not provide an interactive mode. About ubuntu-8, it should actually work, we did test here at the lab but you have a good point, i forgot to include it in list of supported distros. I just checked-in a fix, i am about to regenerate the packages. Feel free to give it a try. About other oscar-config options (such as --setup-distro), it is not yet working because a lack of time (the merge took a lot of my time). This is one of my next step. Thanks a lot for your feedback, it motivates me in order to continue to work on that (the merge was really not fun!). Thanks, ----- Mail Original ----- De: "Abhishek K" <[EMAIL PROTECTED]> À: [email protected] Envoyé: Mardi 5 Août 2008 10:20:46 GMT -05:00 USA/Canada - États de l'Est Objet: Re: [Oscar-devel] merge branch-5-1 and trunk - something to test Thanks, Geoffroy! This does make the installation process a whole lot easier! I didn't play much with it yet, but here are a few general issues and error I faced -- 1) I couldn't find a log for the OSCAR bootstrap process. Is one created? 2) FWIW, it would be good to have oscar-config _prompt_ before installing the prereqs/opkgs so that I understand what packages are being installed on my system (but maybe that's just me) I gave this a whirl on Ubuntu hardy 8.04 and it didn't work. Maybe I am doing something wrong here. I initially tried setting my distro ID to ubuntu 7 as -- $ sudo oscar-config --setup-distro ubuntu-7-i386 Use of uninitialized value in string eq at /usr/bin/oscar-config line 104. Use of uninitialized value in string eq at /usr/bin/oscar-config line 111. But it couldn't install all the prereqs for me. Then I tried this -- $ echo "ubuntu-8-i386 http://us.archive.ubuntu.com/ubuntu/+hardy+universe+multiverse http://bear.csm.ornl.gov/repos/debian-4-i386/+etch+/" >> /etc/oscar/supported_distros.txt $ cat /tftpboot/distro/ubuntu-8-i386.url http://us.archive.ubuntu.com/ubuntu/+hardy+universe+multiverse But it still could not install the prereqs . Are there any distro-specific nits which it is failing on? I can manually install all the base prereq packages using apt-get but the script can't find them. ERROR: impossible to install base ( /usr/bin/install_prereq --smart /usr/share/oscar/prereqs/base). at /usr/bin/oscar-config line 161 ERROR: impossible to install base prereqs (/usr/share/oscar/prereqs/base) at /usr/bin/oscar-config line 161 ERROR: Impossible to complete stage 2 of the bootstrap. at /usr/bin/oscar-config line 161 Log attached. Any help would be much appreciated. Thanks, -- Abhishek On Mon, Aug 4, 2008 at 11:04 AM, <[EMAIL PROTECTED]> wrote: > Hi all, > > I managed to do most of the work for the merge of branch-5-1 and trunk; I > have something that could be tested. Up-to-now, I focused mainly on Debian > and Ubuntu i386. To test it, do the following: > - edit your /etc/apt/sources.list file and add the following entry: > deb http://bear.csm.ornl.gov/repos/debian-4-i386/ etch . > - execute "aptitude update && aptitude install oscar oscar-bin liboscar" > - finally, try to execute "oscar-config --bootstrap". > > This will install OSCAR directly on your system (no need of OSCAR_HOME) and > try to bootstrap OSCAR. If it works, this means that all the prereqs are > ready and core packages installed on your machine. > We still have work to do to support install_cluster but this is a good > starting point. > > BTW, if you are interested in testing the merge on another system, let me > know, i can try to generate all the needed binary packages. I already setup > repositories for debian, rhel5 and fedora core 9, both x86 and x86_64. > > Regards, > > Geoffroy. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Oscar-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/oscar-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Oscar-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Oscar-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel
