kernel: INSTALL: create boot/grub if necessary.
--HG-- extra : convert_revision : 423882f57bb91492d092736e79529e1e27e23b1e
This commit is contained in:
@@ -8,6 +8,7 @@ pre)
|
|||||||
;;
|
;;
|
||||||
post)
|
post)
|
||||||
if [ ! -f $menulst ]; then
|
if [ ! -f $menulst ]; then
|
||||||
|
[ ! -d boot/grub ] && mkdir -p boot/grub
|
||||||
echo "default 0" >> $menulst
|
echo "default 0" >> $menulst
|
||||||
echo "timeout 5" >> $menulst
|
echo "timeout 5" >> $menulst
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user