Comment 20 for bug 1523637

Revision history for this message
bugproxy (bugproxy) wrote : Patch for libdebian-installer to detect PowerNV as powerpc/chrp_ibm

------- Comment on attachment From <email address hidden> 2016-02-02 05:11 EDT-------

Hi @mathieu-tl

This patch has been verified to resolve this problem (thanks Kevin), and another one which is being mirrored.

The problem is partman-prep is currently not downloaded on PowerNV, but we need prep_sync_flag to set the PReP flag on the correct partition, which lines it up for grub-installer.

Details:
===

~ # tail /proc/cpuinfo
...
platform : PowerNV
model : 8286-42A
machine : PowerNV 8286-42A
firmware : OPAL v3

Without patch:
---

~ # archdetect
ppc64el/unknown

~ # grep partman-prep /var/log/syslog
~ #

With patch:
---

~ # archdetect
ppc64el/chrp_ibm

~ # grep partman-prep /var/log/syslog
Feb 1 13:11:34 anna[2929]: DEBUG: retrieving partman-prep 27ubuntu1
Feb 1 13:11:34 anna[2929]: 2016-02-01 13:11:34 URL:http://ports.ubuntu.com/ubuntu-ports//pool/main/p/partman-prep/partman-prep_27ubuntu1_ppc64el.udeb [13126/13126] -> "/var/cache/anna/partman-prep_27ubuntu1_ppc64el.udeb" [1]
~ #