update_bootcfg improvements.

- Fix a glitch (don't glob '*' in for).
- update_bootcfg should be a /bin command.
- update_bootcfg should not add menu entries for missing kernels.
This commit is contained in:
Evgeniy Ivanov
2012-03-14 18:19:28 +01:00
committed by Ben Gras
parent 24f1e18846
commit 72eca0eb1e
5 changed files with 70 additions and 41 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ hdboot: image
strip -s /boot/minix/.temp/kernel
[ -d /boot/image ] && ln -f /boot/minix/.temp/kernel /boot/kernel || true
sh mkboot $@ minix
exec sh update_bootcfg.sh
sh ../commands/update_bootcfg/update_bootcfg.sh
fdboot: image
exec su root mkboot $@