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.
This commit is contained in:
parent
984f5a391c
commit
b38ca942ba
3 changed files with 5 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue