File tree Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Original file line number Diff line number Diff line change 80
80
81
81
if [ " ${0##*/ } " = " installkernel" ]; then
82
82
COMMAND=add
83
- # make install doesn't pass any initrds
84
- no_initrds=1
83
+ # kernel's install.sh invokes us as
84
+ # /sbin/installkernel <version> <vmlinuz> <map> <installation-dir>
85
+ # We ignore the last two arguments.
86
+ set -- " $1 "
85
87
else
86
88
COMMAND=" $1 "
87
89
[ $# -ge 1 ] && shift
88
- no_initrds=0
89
90
fi
90
91
91
92
if [ " $COMMAND " = " inspect" ]; then
@@ -323,16 +324,8 @@ case "$COMMAND" in
323
324
fi
324
325
325
326
for f in $PLUGINS ; do
326
- if [ " $no_initrds " = 1 ]; then
327
- # kernel's install.sh invokes us as
328
- # /sbin/installkernel <version> <vmlinuz> <map> <installation-dir>
329
- # We ignore the last two arguments.
330
- [ " $KERNEL_INSTALL_VERBOSE " -gt 0 ] && echo " +$f add $KERNEL_VERSION $ENTRY_DIR_ABS $1 "
331
- " $f " add " $KERNEL_VERSION " " $ENTRY_DIR_ABS " " $1 "
332
- else
333
- [ " $KERNEL_INSTALL_VERBOSE " -gt 0 ] && echo " +$f add $KERNEL_VERSION $ENTRY_DIR_ABS $* "
334
- " $f " add " $KERNEL_VERSION " " $ENTRY_DIR_ABS " " $@ "
335
- fi
327
+ [ " $KERNEL_INSTALL_VERBOSE " -gt 0 ] && echo " +$f add $KERNEL_VERSION $ENTRY_DIR_ABS $* "
328
+ " $f " add " $KERNEL_VERSION " " $ENTRY_DIR_ABS " " $@ "
336
329
337
330
err=$?
338
331
[ $err -eq $skip_remaining ] && break
You can’t perform that action at this time.
0 commit comments