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
1
Issues
1
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
83109b6b
Commit
83109b6b
authored
Feb 10, 2021
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syslinux: Add grub-pc compatibility
Directory syslinux can exist if using memtest feature.
parent
1e2a05d9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
5 deletions
+17
-5
20-propagator-ramdisk-syslinux
...ures.in/syslinux/scripts.d/20-propagator-ramdisk-syslinux
+6
-2
20-propagator-rescue-hash-syslinux
....in/syslinux/scripts.d/20-propagator-rescue-hash-syslinux
+6
-2
02-gfxboot
features.in/syslinux/stage1/scripts.d/02-gfxboot
+5
-1
No files found.
features.in/syslinux/scripts.d/20-propagator-ramdisk-syslinux
View file @
83109b6b
...
@@ -3,9 +3,13 @@
...
@@ -3,9 +3,13 @@
# when the image sizes are finally known
# when the image sizes are finally known
# NB: install2_size, live_size, rescue_size get defined here
# NB: install2_size, live_size, rescue_size get defined here
cd
"
$WORKDIR
"
# validate just in case (see also stage1 Makefile)
if
[
-z
"
$(
find
$WORKDIR
/syslinux/
*
.cfg
)
"
]
;
then
echo
"Warning: syslinux/*.cfg not found"
exit
0
fi
[
-d
"syslinux"
]
||
exit
0
cd
"
$WORKDIR
"
# apply size census while looking for potential squashfs images
# apply size census while looking for potential squashfs images
find
-maxdepth
1
-type
f
-size
+1M
\
find
-maxdepth
1
-type
f
-size
+1M
\
...
...
features.in/syslinux/scripts.d/20-propagator-rescue-hash-syslinux
View file @
83109b6b
...
@@ -3,9 +3,13 @@
...
@@ -3,9 +3,13 @@
# to add rescue image hash, if any
# to add rescue image hash, if any
# (for propagator in forensic mode)
# (for propagator in forensic mode)
cd
"
$WORKDIR
"
# validate just in case (see also stage1 Makefile)
if
[
-z
"
$(
find
$WORKDIR
/syslinux/
*
.cfg
)
"
]
;
then
echo
"Warning: syslinux/*.cfg not found"
exit
0
fi
[
-d
"syslinux"
]
||
exit
0
cd
"
$WORKDIR
"
grep
-qs
"@rescue_hash@"
syslinux/
*
.cfg
||
exit
0
grep
-qs
"@rescue_hash@"
syslinux/
*
.cfg
||
exit
0
...
...
features.in/syslinux/stage1/scripts.d/02-gfxboot
View file @
83109b6b
#!/bin/sh
#!/bin/sh
[
-d
"
$WORKDIR
/syslinux"
]
||
exit
0
# validate just in case (see also stage1 Makefile)
if
[
!
-f
"
$WORKDIR
/syslinux/
$GLOBAL_BOOTLOADER
.cfg"
]
;
then
echo
"Warning: syslinux/*.cfg not found"
exit
0
fi
gfxboot_datadir
=
/usr/share/gfxboot
gfxboot_datadir
=
/usr/share/gfxboot
...
...
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