From b38ca942bacf7aaca2afd00176fa6670b05c6abc Mon Sep 17 00:00:00 2001 From: Duncaen Date: Thu, 20 Apr 2017 18:40:05 +0200 Subject: [PATCH] base-files: vkpurge is not architecture specific We have now aarch64 and armv7l kernels build from the same template as the x86 kernels, those use preserve=yes and using vkpurge to remove old kernels makes sense for them. This fixes #6225. --- srcpkgs/base-files/files/vkpurge | 6 ------ srcpkgs/base-files/files/vkpurge.8 | 8 ++++---- srcpkgs/base-files/template | 2 +- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/srcpkgs/base-files/files/vkpurge b/srcpkgs/base-files/files/vkpurge index ea954322a2b..50ee04f4d84 100644 --- a/srcpkgs/base-files/files/vkpurge +++ b/srcpkgs/base-files/files/vkpurge @@ -97,12 +97,6 @@ remove_kernel() fi } -ARCH=$(uname -m) -case "$ARCH" in - i686*|x86_64*);; - *) echo "vkpurge is x86 specific, exiting..."; exit 0;; -esac - if [ "$1" = "list" ]; then list_kernels elif [ "$1" = "rm" ]; then diff --git a/srcpkgs/base-files/files/vkpurge.8 b/srcpkgs/base-files/files/vkpurge.8 index 4ea9633b516..fcd56a055b8 100644 --- a/srcpkgs/base-files/files/vkpurge.8 +++ b/srcpkgs/base-files/files/vkpurge.8 @@ -13,9 +13,8 @@ .Sh DESCRIPTION The .Nm -command is used to properly remove old or unwanted kernels from an -x86-based Void Linux system, by running the appropiate removal hooks -and doing the removal. +command is used to properly remove old or unwanted kernels from Void Linux +systems, by running the appropiate removal hooks and doing the removal. .Ss Justification .Xr xbps-install 1 will leave old kernels in place when the kernel package gets upgraded, and @@ -59,4 +58,5 @@ The following command will delete the kernels with version 2.6.39_2 and 4.3.4_1 .Xr xbps-install 1 , .Xr xbps-remove 1 .Sh BUGS -There is no support as of yet for non-x86 platforms. +There is no support as of yet for all kernels, specific series like rpi-kernel +are not supported diff --git a/srcpkgs/base-files/template b/srcpkgs/base-files/template index 1b9abb1ad28..0a743bd7391 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.139 -revision=6 +revision=7 bootstrap=yes depends="xbps-triggers" short_desc="Void Linux base system files"