summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2018-01-11 22:07:24 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2018-01-11 22:07:24 +0000
commit1b0e0a9948046bc52e55393b2851acccbf2b72d3 (patch)
tree026dcc8d43e391318416e69e168bc7a7bbc5f223 /usr.sbin
parentc8b71c857544a5f6ea1ba6fca06fe289a7c78c2d (diff)
Install the intel firmware package which contains microcode updates
if we match Intel CPUs in dmesg(8). "do it do it" deraadt@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/FwUpdate.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm b/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm
index e4391c57f82..3a9753ea68f 100644
--- a/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm
+++ b/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: FwUpdate.pm,v 1.25 2018/01/11 22:04:39 patrick Exp $
+# $OpenBSD: FwUpdate.pm,v 1.26 2018/01/11 22:07:23 patrick Exp $
#
# Copyright (c) 2014 Marc Espie <espie@openbsd.org>
#
@@ -147,10 +147,11 @@ OpenBSD::Auto::cache(updater,
});
my %possible_drivers = map {($_, "$_-firmware")}
- (qw(acx athn bwfm bwi ipw iwi iwm iwn malo otus pgt radeondrm rsu rtwn uath
- upgt urtwn uvideo vmm wpi));
+ (qw(acx athn bwfm bwi intel ipw iwi iwm iwn malo otus pgt radeondrm rsu rtwn
+ uath upgt urtwn uvideo vmm wpi));
my %match = map {($_, qr{^\Q$_\E\d+\s+at\s/})} (keys %possible_drivers);
+$match{'intel'} = qr{^cpu\d+: Intel};
sub parse_dmesg
{