From e3bcfa4989d212499cc5a3cd8d5411bd4e1b159c Mon Sep 17 00:00:00 2001 From: Evan Sosenko Date: Mon, 12 Oct 2015 19:05:46 -0700 Subject: [PATCH] Add efistub-ucode service. --- CHANGELOG.md | 4 ++++ system/efistub-ucode-update.path | 8 ++++++++ system/efistub-ucode-update.service | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 system/efistub-ucode-update.path create mode 100644 system/efistub-ucode-update.service diff --git a/CHANGELOG.md b/CHANGELOG.md index bbe4014..ffc5305 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## HEAD + +- Add efistub-ucode service. + ## 1.4.0 - Add rEFInd update service. diff --git a/system/efistub-ucode-update.path b/system/efistub-ucode-update.path new file mode 100644 index 0000000..3ab9162 --- /dev/null +++ b/system/efistub-ucode-update.path @@ -0,0 +1,8 @@ +[Unit] +Description=Copy Intel microcode to UEFISYS Partition + +[Path] +PathChanged=/boot/intel-ucode.img + +[Install] +WantedBy=multi-user.target diff --git a/system/efistub-ucode-update.service b/system/efistub-ucode-update.service new file mode 100644 index 0000000..0257cc8 --- /dev/null +++ b/system/efistub-ucode-update.service @@ -0,0 +1,6 @@ +[Unit] +Description=Copy Intel microcode to UEFISYS Partition + +[Service] +Type=oneshot +ExecStart=/usr/bin/cp -f /boot/intel-ucode.img /boot/efi/EFI/arch/intel-ucode.img