Hi, I'm trying to restructure the way how binary packages are copied from the package distro directories to OSCAR repositories in order to switch later to a simpler way of distributing OSCAR. This required a significant change to install_prereq:
- Removed generic-setup call. Packages are now searched in: - the appropriate share/prereqs/*/distro/... directories - the appropriate packages/*/distro/... directories - the _local_ distro repositories (packages expected to live in the top level directory, for example: /tftpboot/distro/centos-4-i386). This is only needed in "dumb" mode, smart mode will search the distro and oscar repositories, not the packages or share/prereqs subdirectories. Attention: there is still no version checking in dumb mode. The last match will be installed. - Added functionality to deal with shell scripts! The following configuration line inside prereq.cfg: sh: mkdir /scratch will execute the command right after the "sh:" string. So each config line starting with "sh:" is a shell script command which will be invoked _after_ the installation of any requested packages. - Added check whether requested packages were installed or not. This should help with the issues which we had with missing prerequisites. This is done _after_ the install step but before executing any script lines. If any package was not installed, install_prereq fails with an error, i.e. the script lines will not be executed. Regards, Erich ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Oscar-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel
