blob: 9cb56840a8e2ccccb89c371ae13a5b844f1b57ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
post_install() {
echo "***********************************shared-bootdir-helper**************************************"
echo "ATTENTION! You need to re-install kernel, and re-run grub-mkconfig to make me working. "
echo " you can read https://git.recolic.net/root/shared-bootdir-helper for more information. "
echo ""
echo "What's more: "
echo "If you want to boot each kernel with different kernel parameters, "
echo " you need to use the tool 'shared-bootdir-helper-multi-kparam'. "
echo " You MUST read https://git.recolic.net/root/shared-bootdir-helper in this case. "
echo "**********************************************************************************************"
echo '' >> /usr/bin/grub-mkconfig
echo '[ -f /usr/bin/shared-bootdir-helper-multi-kparam.sh ] && echo "Executing addon: /usr/bin/shared-bootdir-helper-multi-kparam.sh $grub_cfg" >&2 && /usr/bin/shared-bootdir-helper-multi-kparam.sh "$grub_cfg" >&2 && exit $?' >> /usr/bin/grub-mkconfig
}
|