Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lipck
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osak
lipck
Commits
4fb58cfe
Commit
4fb58cfe
authored
9 years ago
by
Christopher Spinrath
Browse files
Options
Downloads
Patches
Plain Diff
image:grub: set prefix to /grub to avoid conflicts
with the ubuntu secure boot grub located in /boot/grub.
parent
32970dfc
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+1
-1
1 addition, 1 deletion
Makefile
contrib/image/grub_early.cfg
+1
-1
1 addition, 1 deletion
contrib/image/grub_early.cfg
with
2 additions
and
2 deletions
Makefile
+
1
−
1
View file @
4fb58cfe
...
...
@@ -395,7 +395,7 @@ $(GRUB_ASSEMBLE_DIR)/grub.x86_64-efi $(GRUB_ASSEMBLE_DIR)/grub.i386-efi : $(GRUB
image_grub_mkimage_mbr
:
$(GRUB_ASSEMBLE_DIR)/grub.i386-pc
$(GRUB_ASSEMBLE_DIR)/grub.i386-pc
:
| $(WORKSPACE)
mkdir
-p
"
$(
GRUB_ASSEMBLE_DIR
)
"
grub-mkimage
--prefix
"(hd0,msdos1)/
boot/
grub"
\
grub-mkimage
--prefix
"(hd0,msdos1)/grub"
\
--output
"
$@
"
--format
"i386-pc"
\
$(
IMAGE_GRUB_MBR_MODULES
)
...
...
This diff is collapsed.
Click to expand it.
contrib/image/grub_early.cfg
+
1
−
1
View file @
4fb58cfe
if
[ -z "$prefix" -o ! -e "$prefix" ]
; then
if
!
search
--file
--set
=
root /.disk/info; then
search
--file
--set
=
root /.disk/mini-info
set
prefix
=
($root)/
boot/
grub
set
prefix
=
($root)/grub
if
[ -e $prefix/x86_64-efi/grub.cfg ]
; then
source
$prefix/x86_64-efi/grub.cfg
else
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment