Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] intel-ucode: add initramfs triggers
@ 2019-06-07 20:18 voidlinux-github
  2019-06-20 19:08 ` voidlinux-github
  2019-06-21  6:30 ` voidlinux-github
  0 siblings, 2 replies; 3+ messages in thread
From: voidlinux-github @ 2019-06-07 20:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 324 bytes --]

There is a new pull request by steinex against master on the void-packages repository

https://github.com/steinex/void-packages intel-ucode
https://github.com/void-linux/void-packages/pull/12269

intel-ucode: add initramfs triggers


A patch file from https://github.com/void-linux/void-packages/pull/12269.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-intel-ucode-12269.patch --]
[-- Type: application/text/x-diff, Size: 1574 bytes --]

From 02c66a54f00ff2cb3b7dadc90e34f13b83f15f53 Mon Sep 17 00:00:00 2001
From: Frank Steinborn <steinex@nognu.de>
Date: Fri, 7 Jun 2019 22:17:48 +0200
Subject: [PATCH] intel-ucode: add initramfs triggers

---
 srcpkgs/intel-ucode/INSTALL  | 7 +++++++
 srcpkgs/intel-ucode/REMOVE   | 7 +++++++
 srcpkgs/intel-ucode/template | 2 +-
 3 files changed, 15 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/intel-ucode/INSTALL
 create mode 100644 srcpkgs/intel-ucode/REMOVE

diff --git a/srcpkgs/intel-ucode/INSTALL b/srcpkgs/intel-ucode/INSTALL
new file mode 100644
index 00000000000..6b065bedb4a
--- /dev/null
+++ b/srcpkgs/intel-ucode/INSTALL
@@ -0,0 +1,7 @@
+# Regenerate initramfs.
+case ${ACTION} in
+post)
+	echo "Regenerating initramfs, please wait..."
+	dracut -f -q --regenerate-all
+	;;
+esac
diff --git a/srcpkgs/intel-ucode/REMOVE b/srcpkgs/intel-ucode/REMOVE
new file mode 100644
index 00000000000..e4d494ca015
--- /dev/null
+++ b/srcpkgs/intel-ucode/REMOVE
@@ -0,0 +1,7 @@
+# Regenerate initramfs.
+case ${ACTION} in
+purge)
+	echo "Regenerating initramfs, please wait..."
+	dracut -f -q --regenerate-all
+	;;
+esac
diff --git a/srcpkgs/intel-ucode/template b/srcpkgs/intel-ucode/template
index 0807ce9c3ce..063f8b3669c 100644
--- a/srcpkgs/intel-ucode/template
+++ b/srcpkgs/intel-ucode/template
@@ -1,7 +1,7 @@
 # Template file for 'intel-ucode'
 pkgname=intel-ucode
 version=20190514
-revision=1
+revision=2
 archs="i686* x86_64*"
 wrksrc="Intel-Linux-Processor-Microcode-Data-Files-microcode-${version}"
 short_desc="Microcode update files for Intel CPUs"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: intel-ucode: add initramfs triggers
  2019-06-07 20:18 [PR PATCH] intel-ucode: add initramfs triggers voidlinux-github
@ 2019-06-20 19:08 ` voidlinux-github
  2019-06-21  6:30 ` voidlinux-github
  1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2019-06-20 19:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 206 bytes --]

New comment by jpmenil on void-packages repository

https://github.com/void-linux/void-packages/pull/12269#issuecomment-504146615
Comment:
will fail for the one not using dracut (mkinitcpio for example).


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: intel-ucode: add initramfs triggers
  2019-06-07 20:18 [PR PATCH] intel-ucode: add initramfs triggers voidlinux-github
  2019-06-20 19:08 ` voidlinux-github
@ 2019-06-21  6:30 ` voidlinux-github
  1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2019-06-21  6:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

New comment by jpmenil on void-packages repository

https://github.com/void-linux/void-packages/pull/12269#issuecomment-504307887
Comment:
In fact, when using early microcode, we do not need to rebuild initramfs.
We just need provide the microcode as the first initramfs (aka initrd, in cpio format) to the kernel during boot:
initrd /intel-ucode.img
initrd /initramfs-5.1.7_1.img


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-21  6:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-07 20:18 [PR PATCH] intel-ucode: add initramfs triggers voidlinux-github
2019-06-20 19:08 ` voidlinux-github
2019-06-21  6:30 ` voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).