Re: rpm -q in %post in RedHat 9

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

 



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@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list
> 





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux