Github messages for voidlinux
 help / color / mirror / Atom feed
From: joshuakraemer <joshuakraemer@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] Add removal of initramfs backup to kernel hook
Date: Tue, 17 Aug 2021 20:35:28 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32550@inbox.vuxu.org> (raw)

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

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

https://github.com/joshuakraemer/void-packages dkms-kernel-hook
https://github.com/void-linux/void-packages/pull/32550

Add removal of initramfs backup to kernel hook
This is necessary to remove the initramfs backups created by dkms, which otherwise accumulate in /boot.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-dkms-kernel-hook-32550.patch --]
[-- Type: text/x-diff, Size: 1134 bytes --]

From 071154c487d9e175f96cafa04bb13090110db186 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joshua=20Kr=C3=A4mer?= <joshua@kraemer.link>
Date: Tue, 17 Aug 2021 20:49:10 +0200
Subject: [PATCH] Remove initramfs backup

---
 srcpkgs/dkms/files/kernel.d/dkms.prerm | 2 ++
 srcpkgs/dkms/template                  | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/dkms/files/kernel.d/dkms.prerm b/srcpkgs/dkms/files/kernel.d/dkms.prerm
index 155e9734aee2..e73720598830 100644
--- a/srcpkgs/dkms/files/kernel.d/dkms.prerm
+++ b/srcpkgs/dkms/files/kernel.d/dkms.prerm
@@ -18,4 +18,6 @@ rmdir \
 	"/lib/modules/${VERSION}/updates/dkms" \
 	"/lib/modules/${VERSION}/updates" 2>/dev/null
 
+rm -f /boot/initramfs-${VERSION}.img.old-dkms
+
 exit 0
diff --git a/srcpkgs/dkms/template b/srcpkgs/dkms/template
index 32b0211981f8..0fb5ad7a5d96 100644
--- a/srcpkgs/dkms/template
+++ b/srcpkgs/dkms/template
@@ -1,7 +1,7 @@
 # Template file for 'dkms'
 pkgname=dkms
 version=2.8.4
-revision=2
+revision=3
 conf_files="/etc/dkms/framework.conf"
 depends="bash kmod gcc make coreutils"
 short_desc="Dynamic Kernel Modules System"

             reply	other threads:[~2021-08-17 18:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-17 18:35 joshuakraemer [this message]
2021-08-17 18:39 ` [PR PATCH] [Updated] " joshuakraemer
2021-08-17 18:41 ` joshuakraemer
2021-08-19 14:37 ` joshuakraemer
2022-06-02  2:14 ` github-actions
2022-06-17  2:13 ` [PR PATCH] [Closed]: " github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32550@inbox.vuxu.org \
    --to=joshuakraemer@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).