Re: Hardware check before installing a rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi sateesh,
Which hardware checking your going to test?If u mention it than its
better to explain the procedure for %ifXXX.



On Wed, 10 Nov 2004 08:28:17 +0530, Sateesh <sahegde@xxxxxxxxx> wrote:
> Thanks Tres,
> I tried that in %pre and in the case of condition failure gave a exit 1.
> That works fine, but I get the message
> "error: %pre(ABC-1.1-b13p1) scriptlet failed, exit status 1
> error:   install: %pre scriptlet failed (2), skipping ABC-1.1-b13p1"
> 
> Is it possible to suppress this error message and give my own message ??
> 
> Regards
> Sateesh
> 
> -----Original Message-----
> From: Tres Seaver [mailto:tseaver@xxxxxxxx]
> Sent: Wednesday, November 10, 2004 12:59 AM
> To: sahegde@xxxxxxxxx
> Subject: Re: Hardware check before installing a rpm
> 
> 
> Sateesh wrote:
> 
> > I need to do some checking of hardware before installing and only if
>  > the checks are correct then only I need install, other wise exit with
>  > error. Is it possible to check this using %ifXXX or like xxx_canon
>  > tags?  What are the possible value for xxx in these ??
> 
> The interesting one in your case is '%pre'.  Check out the online
> version of Maximum RPM for details.
> 
> Tres.
> --
> ===============================================================
> Tres Seaver                                tseaver@xxxxxxxx
> Zope Corporation      "Zope Dealers"       http://www.zope.com
> 
> 
> 
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list
>

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux