Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
647
Issues
647
List
Boards
Labels
Service Desk
Milestones
Merge Requests
168
Merge Requests
168
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
10799b57
Commit
10799b57
authored
Jun 11, 2018
by
William Johansson
Committed by
Natanael Copa
Jun 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scripts: Fix kernel name in Xen BIOS boot
Apply missing changes from
f92a41f7
Also remove unused variable
parent
1de7c3fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
scripts/mkimg.base.sh
scripts/mkimg.base.sh
+3
-3
No files found.
scripts/mkimg.base.sh
View file @
10799b57
...
...
@@ -92,7 +92,7 @@ syslinux_gen_config() {
echo
"PROMPT
${
syslinux_prompt
:-
1
}
"
echo
"DEFAULT
${
kernel_flavors
%% *
}
"
local
_f
_kf
local
_f
for
_f
in
$kernel_flavors
;
do
if
[
-z
"
${
xen_params
+set
}
"
]
;
then
cat
<<-
EOF
...
...
@@ -110,14 +110,14 @@ syslinux_gen_config() {
LABEL
$_f
MENU LABEL Xen/Linux
$_f
KERNEL /boot/syslinux/mboot.c32
APPEND /boot/xen.gz
${
xen_params
}
--- /boot/vmlinuz
$_k
f
$initfs_cmdline
$kernel_cmdline
--- /boot/initramfs-
$_f
APPEND /boot/xen.gz
${
xen_params
}
--- /boot/vmlinuz
-
$_
f
$initfs_cmdline
$kernel_cmdline
--- /boot/initramfs-
$_f
EOF
fi
done
}
grub_gen_config
()
{
local
_f
_kf
local
_f
echo
"set timeout=2"
for
_f
in
$kernel_flavors
;
do
if
[
-z
"
${
xen_params
+set
}
"
]
;
then
...
...
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