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
37f5fbca
Commit
37f5fbca
authored
Mar 22, 2021
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stage2: copy initrd instead full*.cz, if that is not available
In the future, it is planned building iso without propagator.
parent
3259b2fa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
95-copy-kernel
features.in/stage2/stage1/scripts.d/95-copy-kernel
+9
-2
No files found.
features.in/stage2/stage1/scripts.d/95-copy-kernel
View file @
37f5fbca
...
...
@@ -19,11 +19,18 @@ fi
kimage
=
"
$(
find /boot
-type
f
-name
"
$kname
-*"
)
"
propagator
=
"
$(
find /boot
-type
f
-name
'full-*.cz'
)
"
[
-n
"
$propagator
"
]
||
initrd
=
"
$(
find /boot
-type
f
-name
'initrd-*.img'
)
"
cp
$verbose
-af
$kimage
boot/
mv
boot/
$kname
-
$kverdef
boot/
$kname
cp
$verbose
-af
$propagator
boot/
mv
boot/full-
$kverdef
.cz boot/full.cz
if
[
-n
"
$propagator
"
]
;
then
cp
$verbose
-af
$propagator
boot/
mv
boot/full-
$kverdef
.cz boot/full.cz
else
cp
$verbose
-af
$initrd
boot/
mv
boot/initrd-
$kverdef
.img boot/initrd.img
fi
# config is generated in mkimage
case
"
$GLOBAL_EFI_BOOTLOADER
"
in
...
...
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