Hi Erich, Looks like you have already fixed 2) and 3) to the rpm template. Yeah, that works fine. :-) BTW, I just fixed 1) and I checked-in to pkgsrc.
Regards, - DongInn Erich Focht wrote: > Hi DongInn, > > [CC'ing to oscar-devel as these are devel issues] > I need help with opkgc, again. There are three issues: > > 1) The Description: is spoiled, some spaces are missing. For example: > Description : > Netbootmgr provides a GUI interface for managing the next boot action > fornetwork booted hosts. It does so by using pxelinux' or elilo.efi's > capabilityto load an IP specific configuration file from the network. > Netbootmgrcreates/deletes symbolic links pointing to predefined pxelinux/elilo > configfiles. > > (from opkg-netbootmgr). Every package has this problem. I suppose this is > related to wrongly merging the description string line feeds somewhere. > > > 2) opkg-API scripts attempt to execute pre-install scriptlets. For example: > % rpm -q --scripts -p > /tftpboot/oscar/suse-10.2-x86_64/opkg-oda-1.31.0-1.noarch.rpm > preinstall scriptlet (using /bin/sh): > #!/bin/sh > /var/lib/oscar/packages/oda/api-pre-install $* > > This is evil because the expected script is not yet in the expected location. > I remember to have warned Jean about this problem long ago, this might work > with > debian but doesn't with RPMs. > Please disable scriptlets for now, their execution is controlled by the OSCAR > API logic (calling OSCAR::Package::run_pkg_script). I can't pass --noscripts > to yum (it doesn't understand it), so we need scriptles totally disabled. > Guess > you can do this in the opkg spec file template by commenting the lines out. > > > 3) opkg-*-server should require opkg-*. And they should require opkg-* with > exactly the same version as they have. The simplest way seems to add a > Requires: opkg-$name > line in the spec file template, but maybe you can add it into the > DependecyFactory > (I don't know how to do that). > > Thanks in advance for your help, > best regards, > Erich ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Oscar-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel
