From: Ypnose <Ypnose@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] base-files: modify kernel listing in vkpurge
Date: Sun, 16 Aug 2020 17:02:24 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24310@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 593 bytes --]
There is a new pull request by Ypnose against master on the void-packages repository
https://github.com/Ypnose/void-packages master
https://github.com/void-linux/void-packages/pull/24310
base-files: modify kernel listing in vkpurge
By default, kernel listing is not done by version, For example :
4.19.131_1
5.4.18_1
5.4.50_1
5.4.5_1
5.4.9_1
5.4.11_1
Using 'version-sort' option, it shows older versions before recent versions :
4.19.131_1
5.4.5_1
5.4.9_1
5.4.11_1
5.4.18_1
5.4.50_1
A patch file from https://github.com/void-linux/void-packages/pull/24310.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-24310.patch --]
[-- Type: text/x-diff, Size: 909 bytes --]
From 72a51d340595c06d8fa8d26342923088918f9819 Mon Sep 17 00:00:00 2001
From: Ypnose <Ypnose@users.noreply.github.com>
Date: Sun, 16 Aug 2020 17:01:26 +0200
Subject: [PATCH] base-files: modify kernel listing in vkpurge
By default, kernel listing is not done by version, For example :
4.19.131_1
5.4.18_1
5.4.50_1
5.4.5_1
5.4.9_1
5.4.11_1
Using 'version-sort' option, it shows older versions before recent versions :
4.19.131_1
5.4.5_1
5.4.9_1
5.4.11_1
5.4.18_1
5.4.50_1
---
srcpkgs/base-files/files/vkpurge | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/base-files/files/vkpurge b/srcpkgs/base-files/files/vkpurge
index 5519147b905..c7c6a78f6b2 100644
--- a/srcpkgs/base-files/files/vkpurge
+++ b/srcpkgs/base-files/files/vkpurge
@@ -33,7 +33,7 @@ list_kernels() {
$pattern) printf "%s\n" "$kver" ;;
esac
done
- done | sort -u
+ done | sort -uV
}
run_hooks() {
next reply other threads:[~2020-08-16 15:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-16 15:02 Ypnose [this message]
2020-08-16 15:06 ` [PR PATCH] [Updated] " Ypnose
2020-08-20 15:40 ` ahesford
2020-08-21 5:48 ` Ypnose
2020-08-21 11:26 ` [PR PATCH] [Closed]: " sgn
2020-08-21 11:33 ` q66
2020-08-21 12:06 ` sgn
2020-08-21 13:14 ` q66
2020-08-21 19:19 ` Ypnose
2020-08-24 16:50 ` Ypnose
2020-08-24 16:52 ` ahesford
2020-08-24 23:59 ` sgn
2020-08-30 6:20 ` Ypnose
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-24310@inbox.vuxu.org \
--to=ypnose@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).