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
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Anton Palgunov
mkimage-profiles
Commits
00283166
You need to sign in or sign up before continuing.
Commit
00283166
authored
Jan 06, 2020
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syslinux: fixed for using BOOTLOADER not equal syslinux
Do not create syslinux.cfg if EFI_BOOTLOADER is set to not equal grub-efi.
parent
216da236
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
8 deletions
+12
-8
20-propagator-ramdisk-syslinux
...ures.in/syslinux/scripts.d/20-propagator-ramdisk-syslinux
+2
-0
20-propagator-rescue-hash-syslinux
....in/syslinux/scripts.d/20-propagator-rescue-hash-syslinux
+2
-0
01-syslinux
features.in/syslinux/stage1/scripts.d/01-syslinux
+5
-5
02-gfxboot
features.in/syslinux/stage1/scripts.d/02-gfxboot
+3
-3
No files found.
features.in/syslinux/scripts.d/20-propagator-ramdisk-syslinux
View file @
00283166
...
...
@@ -5,6 +5,8 @@
cd
"
$WORKDIR
"
[
-d
"syslinux"
]
||
exit
0
# apply size census while looking for potential squashfs images
find
-maxdepth
1
-type
f
-size
+1M
\
|
sed
's,^\./,,'
\
...
...
features.in/syslinux/scripts.d/20-propagator-rescue-hash-syslinux
View file @
00283166
...
...
@@ -5,6 +5,8 @@
cd
"
$WORKDIR
"
[
-d
"syslinux"
]
||
exit
0
grep
-qs
"@rescue_hash@"
syslinux/
*
.cfg
||
exit
0
find
-maxdepth
1
-type
f
-name
rescue
\
...
...
features.in/syslinux/stage1/scripts.d/01-syslinux
View file @
00283166
...
...
@@ -5,16 +5,16 @@
MODDIR
=
"/usr/lib/syslinux"
CFG
=
"
$GLOBAL_BOOTLOADER
.cfg"
mkdir
-p
"
$WORKDIR
/syslinux"
cd
"
$WORKDIR
/syslinux"
# validate just in case (see also stage1 Makefile)
case
"
$GLOBAL_BOOTLOADER
"
in
isolinux|syslinux
)
;;
*
)
echo
"error: weird GLOBAL_BOOTLOADER:
\`
$GLOBAL_BOOTLOADER
'"
>
&2
;
exit
1
;;
*
)
echo
"Warning: GLOBAL_BOOTLOADER not supported:
\`
$GLOBAL_BOOTLOADER
'"
>
&2
;
rm
-fr
"
$WORKDIR
/syslinux"
exit
0
;;
esac
cd
"
$WORKDIR
/syslinux"
# copy extra files, if any
SYSLINUX_FILES
=
"
$(
cat
.in/syslinux.list
)
"
if
[
-n
"
${
SYSLINUX_FILES
%
}
"
]
;
then
...
...
features.in/syslinux/stage1/scripts.d/02-gfxboot
View file @
00283166
#!/bin/sh
[
-d
"
$WORKDIR
/syslinux"
]
||
exit
0
gfxboot_datadir
=
/usr/share/gfxboot
if
[
!
-d
"
$gfxboot_datadir
"
]
;
then
...
...
@@ -15,9 +17,7 @@ if [ ! -f "$bootlogo" ]; then
exit
0
fi
cd
"
$WORKDIR
"
mkdir
-p
syslinux
cd
syslinux
cd
"
$WORKDIR
/syslinux"
# unpack
cpio
-iduV
<
"
$bootlogo
"
...
...
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