Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tails
tails
Commits
9abdbff9
Commit
9abdbff9
authored
Apr 05, 2012
by
Tails developers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't try kexec'ing to non-existing amd64 kernel.
parent
cac29dc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
config/chroot_local-includes/usr/local/bin/tails-boot-to-kexec
...g/chroot_local-includes/usr/local/bin/tails-boot-to-kexec
+8
-8
No files found.
config/chroot_local-includes/usr/local/bin/tails-boot-to-kexec
View file @
9abdbff9
...
...
@@ -7,19 +7,19 @@ running_on_amd64_hardware() {
case
"
$1
"
in
kernel
)
boot_kernel
=
"
$2
"
if
running_on_amd64_hardware
;
then
echo
"
$boot_kernel
"
|
sed
-e
's,/vmlinuz$,/vmlinuz3,'
else
#
if running_on_amd64_hardware ; then
#
echo "$boot_kernel" | sed -e 's,/vmlinuz$,/vmlinuz3,'
#
else
echo
"
$boot_kernel
"
fi
#
fi
;;
initrd
)
boot_initrd
=
"
$2
"
if
running_on_amd64_hardware
;
then
echo
"
$boot_initrd
"
|
sed
-e
's,/initrd\.img$,/initrd3.img,'
else
#
if running_on_amd64_hardware ; then
#
echo "$boot_initrd" | sed -e 's,/initrd\.img$,/initrd3.img,'
#
else
echo
"
$boot_initrd
"
fi
#
fi
;;
*
)
usage
"
$0
kernel|initrd"
...
...
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