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
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
354c2da8
Commit
354c2da8
authored
Dec 15, 2021
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syslinux: cleanup syslinux/.in/ always
parent
98a5f60a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
01-syslinux
features.in/syslinux/stage1/scripts.d/01-syslinux
+8
-3
No files found.
features.in/syslinux/stage1/scripts.d/01-syslinux
View file @
354c2da8
...
...
@@ -2,6 +2,12 @@
# gather syslinux configuration from snippets;
# copy modules; see also this feature's generate.mk
# snippets are not going into the actual image
final_exit
()
{
if
[
"
$DEBUG
"
!=
2
]
;
then
rm
-r
.in/
;
fi
exit
0
}
MODDIR
=
"/usr/lib/syslinux"
case
"
$GLOBAL_BOOTLOADER
"
in
...
...
@@ -38,7 +44,7 @@ fi
# validate just in case (see also stage1 Makefile)
case
"
$GLOBAL_BOOTLOADER
"
in
isolinux|syslinux
)
;;
*
)
exit
0
;;
*
)
final_exit
;;
esac
# copy extra files, if any
...
...
@@ -56,8 +62,7 @@ if [ -n "$SYSLINUX_MODULES" ]; then
done
fi
# snippets are not going into the actual image
if
[
"
$DEBUG
"
!=
2
]
;
then
rm
-r
.in/
;
fi
final_exit
# NB: there will be final macro expansion based on actual image sizes
# done by features.in/syslinux/scripts.d/20-propagator-ramdisk
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