GRUB_DEB_SRC=grub2_2.02~beta2-19.debian.tar.xz
# update/sync changelog.pve
-DEBVER=2.02~bpo70+1
+DEBVER=2.02~bpo70+2
DEBS= \
grub2-common_${DEBVER}_amd64.deb \
+grub2 (2.02~bpo70+2) unstable; urgency=low
+
+ * fix partition scan in grub-pc.postinst
+
+ -- Proxmox Support Team <support@proxmox.com> Mon, 19 Jan 2015 12:22:27 +0100
+
grub2 (2.02~bpo70+1) unstable; urgency=medium
* recompile for debian wheezy
--- /dev/null
+Index: new/debian/postinst.in
+===================================================================
+--- new.orig/debian/postinst.in 2014-12-22 12:55:53.000000000 +0100
++++ new/debian/postinst.in 2015-01-19 12:20:20.000000000 +0100
+@@ -265,8 +265,13 @@
+ if [ -z "$partition" ] || [ "$partition" = "$last_partition" ]; then
+ continue
+ fi
+- partition_id="$(device_to_id "$partition" || true)"
+- echo "$path:$partition_id"
++ for dev in $partition; do
++ partition_id="$(device_to_id "$dev" || true)"
++ if [ -z "$partition_id" ]; then
++ continue;
++ fi
++ echo "$dev:$partition_id"
++ done
+ last_partition="$partition"
+ done | sort -t: -k2
+ }