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
923cc170
Commit
923cc170
authored
Mar 29, 2021
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
propagator: Fix cleanup old propagator
the * symbol was seen as a symbol because of the options in the shebang.
parent
88acf8f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
90-build-propagator
...in/initrd-propagator/stage1/scripts.d/90-build-propagator
+3
-1
No files found.
features.in/initrd-propagator/stage1/scripts.d/90-build-propagator
View file @
923cc170
...
...
@@ -13,7 +13,9 @@ esac
kimage
=
"
$(
find /boot
-type
f
-name
"
$kname
-*"
)
"
rm
-f
/boot/full
*
.cz
# cleanup old propagator
old_propagator
=
"
$(
find /boot
-type
f
-name
"full*.cz"
)
"
[
-z
"
$old_propagator
"
]
||
rm
$old_propagator
for
kver
in
$kimage
;
do
kver
=
"
${
kver
#/boot/
$kname
-
}
"
...
...
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