Enable TideLinux kernel name matching in the default configuration file
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: refind
|
name: refind
|
||||||
description: EFI Boot Manager
|
description: EFI Boot Manager
|
||||||
version: 0.14.2
|
version: 0.14.2
|
||||||
revision: 1
|
revision: 2
|
||||||
url: https://www.rodsbooks.com/refind/
|
url: https://www.rodsbooks.com/refind/
|
||||||
license: BSD-2-Clause,CC-BY-SA-3.0,CC-BY-SA-4.0,GPL2-only,GPL2-or-later,GPL3-or-later,LGPL2.1-or-later,LGPL3-or-later OR CC-BY-SA-3.0
|
license: BSD-2-Clause,CC-BY-SA-3.0,CC-BY-SA-4.0,GPL2-only,GPL2-or-later,GPL3-or-later,LGPL2.1-or-later,LGPL3-or-later OR CC-BY-SA-3.0
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -12,6 +12,8 @@ prepare() {
|
|||||||
sed -e 's|RefindDir=\"\$ThisDir/refind\"|RefindDir="/usr/share/refind/"|g' -i refind-install
|
sed -e 's|RefindDir=\"\$ThisDir/refind\"|RefindDir="/usr/share/refind/"|g' -i refind-install
|
||||||
# add vendor line to the sbat file
|
# add vendor line to the sbat file
|
||||||
printf 'refind.%s,%s,%s,refind,%s,%s\n' 'tide' '1' 'Tide Linux' "${epoch:+${epoch}:}${BPM_PKG_VERSION}" 'https://git.enumerated.dev/tidelinux/refind' >> refind-sbat.csv
|
printf 'refind.%s,%s,%s,refind,%s,%s\n' 'tide' '1' 'Tide Linux' "${epoch:+${epoch}:}${BPM_PKG_VERSION}" 'https://git.enumerated.dev/tidelinux/refind' >> refind-sbat.csv
|
||||||
|
# Enable TideLinux kernel name matching in the default configuration file
|
||||||
|
sed -E 's/^#(extra_kernel_version_strings).*$/\1 "linux-stable,linux-lts,linux-mainline"/' -i refind.conf-sample
|
||||||
}
|
}
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
|
|||||||
Reference in New Issue
Block a user