فهرست منبع

pkg: fedora: Use the file creation time to determine the newest kernel

Dorian Stoll 2 سال پیش
والد
کامیت
39d0d5ec60
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      pkg/fedora/kernel-surface/files/linux-surface-default-kernel.sh

+ 1 - 1
pkg/fedora/kernel-surface/files/linux-surface-default-kernel.sh

@@ -2,7 +2,7 @@
 set -euo pipefail
 
 # get list of surface kernels with timestamp
-kernels=$(find /boot -maxdepth 1 -name "vmlinuz-*.surface.*" -printf '%T@\t%p\n')
+kernels=$(find /boot -maxdepth 1 -name "vmlinuz-*.surface.*" -printf '%B@\t%p\n')
 
 # sort by timestamp
 kernels=$(echo "${kernels}" | sort -n)