|
Lines 68-81
Link Here
|
| 68 |
if [ -n "$1" ] && (( ($1*100 + $2) * 100 + $3 >= 20616)); then |
68 |
if [ -n "$1" ] && (( ($1*100 + $2) * 100 + $3 >= 20616)); then |
| 69 |
update_bootloader --image /boot/$image.previous \ |
69 |
update_bootloader --image /boot/$image.previous \ |
| 70 |
--initrd /boot/initrd.previous \ |
70 |
--initrd /boot/initrd.previous \ |
| 71 |
--previous --add --force |
71 |
--previous --add --force \ |
|
|
72 |
$([[ "$1" =~ -xen ]] && echo --xen) |
| 72 |
fi |
73 |
fi |
| 73 |
fi |
74 |
fi |
| 74 |
;; |
75 |
;; |
| 75 |
esac |
76 |
esac |
| 76 |
update_bootloader --image /boot/$image \ |
77 |
update_bootloader --image /boot/$image \ |
| 77 |
--initrd /boot/initrd \ |
78 |
--initrd /boot/initrd \ |
| 78 |
--add --force |
79 |
--add --force \ |
|
|
80 |
$([[ @FLAVOR@ =~ -xen ]] && echo --xen) |
| 79 |
|
81 |
|
| 80 |
# Somewhen in the future: use the real image and initrd filenames instead |
82 |
# Somewhen in the future: use the real image and initrd filenames instead |
| 81 |
# of the symlinks, and add/remove by the real filenames. |
83 |
# of the symlinks, and add/remove by the real filenames. |