You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: package/kernelctl/kernelctl
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ help() {
25
25
${bf} list ${sf}List available kernels.
26
26
${bf} show ${sf}Show the current configured kernel.
27
27
${bf} delete <kernel> ${sf}Delete kernel from the staging dir. WARNING this is irreversible.
28
+
${bf} prune ${sf}Delete all backups of vanilla kernels older than the one that shipped with the current software version. WARNING this is irreversible.
28
29
${bf} set <kernel> ${sf}Change booting kernel.
29
30
30
31
${bf} <kernel> ${sf}Kernel name or number (from 'list' command) or "default" to revert to the upstram kernel.
@@ -171,6 +172,18 @@ delete() {
171
172
fi
172
173
}
173
174
175
+
prune() {
176
+
echo"Deleting backups of old vanilla kernel(s) from the staging area is irreversible."
0 commit comments