[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rpm -q in %post in RedHat 9
- From: Ronald Reed <rreed ops sgp arm gov>
- To: kickstart-list redhat com
- Subject: Re: rpm -q in %post in RedHat 9
- Date: 15 May 2003 14:18:54 -0500
>From a script that I got from another list:
RHVer=`rpm -qp --qf "%{version}\n" RedHat/RPMS/redhat-release-*.rpm`
This is supposed to work for 7.3, 8.0, or 9.0, just change the
RedHat/RPMS to where the rpms are located.
Ron
On Thu, 2003-05-15 at 14:13, Michael J. Carter wrote:
> In RedHat 7.X one could determine the ARCH of a system by executing the
> following command in arch:
>
> carter guglielmo$ rpm -q --qf '%{ARCH}\n' kernel
> i686
>
> This returns null in RedHat 9 when executed inside kickstart. Does
> anyone know what changed and if there are any workarounds?
>
> Thanks,
> mjc
--
Ronald Reed <rreed ops sgp arm gov>
ARM SGP CART Site
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]