[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rpm -q in %post in RedHat 9
- From: Ed Brown <ebrown lanl gov>
- To: kickstart-list redhat com
- Subject: Re: rpm -q in %post in RedHat 9
- Date: 15 May 2003 17:20:34 -0600
Hi Michael,
'uname -m' might work for you. You need the sh-utils rpm for uname. (I
don't have an 8.0 machine here to verify that it works the same.)
-Ed
On Thu, 2003-05-15 at 13: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
>
> --
> Michael J. Carter | They will only cause the lower classes to
> IT Team Leader | move about needlessly. -- The Duke of
> Space Data Systems (NIS-3) | Wellington, on early steam railroads.
> Los Alamos National Laboratory |
>
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list redhat com
> https://www.redhat.com/mailman/listinfo/kickstart-list
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]