Re: [PATCH lorax/master 7/7] remove dmidecode

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El Wed, 20 Jun 2012 11:02:18 -0400
Jon Stanley <jonstanley@xxxxxxxxx> escribió:
> On Wed, Jun 20, 2012 at 10:23 AM, Will Woods <wwoods@xxxxxxxxxx>
> wrote:
> 
> > Yes. The kernel exposes a bunch of the dmi info
> > in /sys/class/dmi/id. This should be equivalent:
> >
> >  if grep -q 'VMware' /sys/class/dmi/id/sys_vendor; then
> >      chkconfig smartd off
> >  fi
> 
> FWIW, we use dmidecode during %pre on some systems in order to figure
> out what we're doing - it might not be a gigantic deal to move stuff
> to using the kernel exports, but it might be.
> 
> A decision like this to remove an important piece of the anaconda
> runtime that folks have been used to for years shouldn't be taken
> lightly.
> 
> $0.02
dmidecode only works on x86 so if you use anything else you have to use
different tooling anyway. maybe not a huge deal today but will be more
so going forward.


Dennis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)

iEYEARECAAYFAk/iB2kACgkQkSxm47BaWfceUgCeMGH/S6wzWAahBmameG6G7xuh
RKYAniQUbl8rcNGUbEj6juxMWxySyCZj
=nf3I
-----END PGP SIGNATURE-----

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list



[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux