Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
a8b1f11f
Commit
a8b1f11f
authored
Aug 20, 2019
by
Anton Midyukov
Committed by
Michael Shigorin
Aug 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build-vm: handle multiple kernels either again
KFLAVOURS can describe more than one kernel, get iterator back. Fixes:
27674e29
parent
d135272a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
07-kernel
features.in/build-vm/image-scripts.d/07-kernel
+6
-4
No files found.
features.in/build-vm/image-scripts.d/07-kernel
View file @
a8b1f11f
...
@@ -12,10 +12,12 @@ kver="$(rpm -qa 'kernel-image*' \
...
@@ -12,10 +12,12 @@ kver="$(rpm -qa 'kernel-image*' \
cd
/boot
cd
/boot
make-initrd
-N
-k
"
$kver
"
AUTODETECT
=
\
for
KVER
in
$kver
;
do
FEATURES+
=
"
$GLOBAL_VM_INITRDFEATURES
"
\
make-initrd
-N
-k
"
$KVER
"
AUTODETECT
=
\
MODULES_ADD+
=
"
$GLOBAL_VM_INITRDMODULES
"
\
FEATURES+
=
"
$GLOBAL_VM_INITRDFEATURES
"
\
||
{
echo
"** Error: make-initrd failed"
>
&2
;
exit
1
;
}
MODULES_ADD+
=
"
$GLOBAL_VM_INITRDMODULES
"
\
||
{
echo
"** Error: make-initrd failed"
>
&2
;
exit
1
;
}
done
# NB: e2k kernel builds "image" instead of "vmlinuz"
# NB: e2k kernel builds "image" instead of "vmlinuz"
[
-f
vmlinuz-
$kver
]
&&
ln
-s
vmlinuz-
$kver
vmlinuz
||
:
[
-f
vmlinuz-
$kver
]
&&
ln
-s
vmlinuz-
$kver
vmlinuz
||
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment