[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#664128: debian-installer: please default to grub-ieee1275 on powerpc instead of yaboot



On 10/23/2012 09:52 AM, Daniel Kahn Gillmor wrote:
> On 10/22/2012 05:55 PM, Milan Kupcevic wrote:
>> We can allow d-i grub installation on powerpc machines for wheezy, but
>> not make it default.
> 
>  [...]
> 
>> Manual creation of the appropriate partition in d-i (/boot/grub) will
>> enable grub installation in wheezy d-i. Thus, we will be able to
>> experiment with d-i grub installation on powerpc machines.
> 
> ok, this sounds like a good step to me.  Are you saying this is present
> in the current wheezy beta3 ?
> 


No. It will eventually hit the daily builds soon. See attachment.


Milan



commit cf2fc86abf0fd34963afb49047c21e94a2cde40e
Author: Milan Kupcevic <milan@physics.harvard.edu>
Date:   Mon Oct 22 17:46:06 2012 -0400

    Allow grub installation on PowerPC machines
    
    * Allow grub installation on PowerPC machines if /boot/grub partition
      is present. Closes: #664128

diff --git a/debian/changelog b/debian/changelog
index 9105cdb..204cc11 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+grub-installer (1.83) UNRELEASED; urgency=low
+
+  * Allow grub installation on PowerPC machines if /boot/grub partition
+    is present. Closes: #664128
+
+ -- Milan Kupcevic <milan@physics.harvard.edu>  Mon, 22 Oct 2012 17:39:07 -0400
+
 grub-installer (1.82) unstable; urgency=low
 
   [ Updated translations ]
diff --git a/debian/isinstallable b/debian/isinstallable
index e66bac1..89fadb7 100755
--- a/debian/isinstallable
+++ b/debian/isinstallable
@@ -15,11 +15,11 @@ case $ARCH in
 		exit 1
 	fi
 	;;
-    powerpc/chrp_pegasos)
-	;;
     powerpc/*)
-	log "GRUB not yet usable on PowerPC systems other than Pegasos/Efika"
-	exit 1
+	mount | grep "on /target/boot/grub" 1>&2 || {
+		log "GRUB requires OF bootable partition mounted at /boot/grub on PowerPC systems"
+		exit 1
+	}
 	;;
     mipsel/loongson-2f)
 	;;

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: