ALT Linux Bugzilla
– Attachment 8173 Details for
Bug 36835
Неправильно определяет flavour у запущенного ядра mp
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Фикс определения flavour ядра, состоящего не из двух слов
0001-Fix-indenification-flavour-consisting-of-not-two-wor.patch (text/plain), 1.01 KB, created by
Антон Мидюков
on 2019-06-25 15:01:40 MSK
(
hide
)
Description:
Фикс определения flavour ядра, состоящего не из двух слов
Filename:
MIME Type:
Creator:
Антон Мидюков
Created:
2019-06-25 15:01:40 MSK
Size:
1.01 KB
patch
obsolete
>From e712ced6ef9897c5129794c314751afb2cea5619 Mon Sep 17 00:00:00 2001 >From: Anton Midyukov <antohami@altlinux.org> >Date: Tue, 25 Jun 2019 18:39:16 +0700 >Subject: [PATCH] Fix indenification flavour, consisting of not two words > >--- > update_kernel_modules_cetus.sh | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/update_kernel_modules_cetus.sh b/update_kernel_modules_cetus.sh >index f485441..1628858 100755 >--- a/update_kernel_modules_cetus.sh >+++ b/update_kernel_modules_cetus.sh >@@ -109,7 +109,9 @@ echo "Checking for available kernel packages..." > KERNEL_PKGS="$(apt-cache pkgnames kernel-image)" > > # set kernel flavour. if not defined with -t option, use current >-current_kernel_flavour="$(uname -r | cut -d "-" -f2,3)" >+current_kernel_flavour="$(uname -r)" >+current_kernel_flavour={current_kernel_flavour#*-} >+current_kernel_flavour=${current_kernel_flavour%-alt*} > kernel_flavour="${kernel_flavour:-$current_kernel_flavour}" > > # check that we have at least one kernel with defined kernel_flavour >-- >2.21.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 36835
: 8173