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
84bb55d0
Commit
84bb55d0
authored
Apr 20, 2016
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syslinux: fix gfxboot hook
...to *not* error out if there's no gfxboot at all.
parent
fb4bd77f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
02-gfxboot
features.in/syslinux/stage1/scripts.d/02-gfxboot
+8
-1
No files found.
features.in/syslinux/stage1/scripts.d/02-gfxboot
View file @
84bb55d0
#!/bin/sh
gfxboot_datadir
=
/usr/share/gfxboot
if
[
!
-d
"
$gfxboot_datadir
"
]
;
then
echo
"**
$gfxboot_datadir
not found"
>
&2
exit
0
fi
bootlogo
=
"
`
ls
$gfxboot_datadir
/
*
/bootlogo |
head
-1
`
"
###
if
[
!
-f
"
$bootlogo
"
]
;
then
echo
"
${
0
##*/
}
- SKIP:
$
bootlogo
not found"
>
&2
echo
"
**
bootlogo not found"
>
&2
ls
-alR
$gfxboot_datadir
exit
0
fi
cd
"
$WORKDIR
"
mkdir
-p
syslinux
cd
syslinux
...
...
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