From: Dinko Korunic Date: Tue, 2 Jun 2009 15:28:33 +0000 (+0200) Subject: - reimport Grub funkcije zbog device.mapa (nakon sto se regenerira, potrebno je i... X-Git-Tag: debian/2.6.26-4~5 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=kernel-cn.git;a=commitdiff_plain;h=90131b816a7b8971843d63866a6239f20481d48c - reimport Grub funkcije zbog device.mapa (nakon sto se regenerira, potrebno je i reinicijalizirati root i boot i groot varijable) --- diff --git a/debian/postinst b/debian/postinst index 547ddad..deb7984 100755 --- a/debian/postinst +++ b/debian/postinst @@ -178,6 +178,9 @@ if [ ! -s "$device_map" ]; then fi echo -n " grub4" +# import GRUB helper functions (again, updated device map) +. /usr/share/kernel-2.6-cn/grub-functions.sh + # get install device (0x80 BIOS device) install_device=$(grep '^(hd0)' "$device_map" | \ sed -e 's%[^[:space:]]*[[:space:]]*\([^[:space:]]*\)%\1%')