From: Ypnose <Ypnose@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] base-files: modify kernel listing in vkpurge
Date: Sun, 16 Aug 2020 17:06:47 +0200 [thread overview]
Message-ID: <20200816150647.-5RVTVUAAkSLQDz9SamgvOfQIp08hhdqC652a-vFrUE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24310@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 648 bytes --]
There is an updated 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: 1577 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 1/2] 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() {
From 2d94a245cf88702ea295b512a8e4d2f9cdde2c8d Mon Sep 17 00:00:00 2001
From: Ypnose <Ypnose@users.noreply.github.com>
Date: Sun, 16 Aug 2020 17:06:44 +0200
Subject: [PATCH 2/2] base-files: update revision
---
srcpkgs/base-files/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/base-files/template b/srcpkgs/base-files/template
index 6b503690606..b34c40c697a 100644
--- a/srcpkgs/base-files/template
+++ b/srcpkgs/base-files/template
@@ -1,7 +1,7 @@
# Template file for 'base-files'
pkgname=base-files
version=0.141
-revision=2
+revision=3
bootstrap=yes
depends="xbps-triggers"
short_desc="Void Linux base system files"
next prev parent reply other threads:[~2020-08-16 15:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-16 15:02 [PR PATCH] " Ypnose
2020-08-16 15:06 ` Ypnose [this message]
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=20200816150647.-5RVTVUAAkSLQDz9SamgvOfQIp08hhdqC652a-vFrUE@z \
--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).