Bug#619236: [Cbe-oss-dev] Bug#619236: debian PS3 installation kboot.conf needed

2014-05-24 Thread Antonio Ospite
On Sun, 2 Mar 2014 22:21:28 +0100
Cyril Brulebois k...@debian.org wrote:

 Adding -powerpc to the loop. Initial bug report:
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619236
 
 Geoff Levand ge...@infradead.org (2013-09-04):
  We still have a need for the kboot-utils package in debian.  Recent
  daily builds of D-I work fine on PS3, but the installed system still
  cannot boot due to lack of a kboot.conf file for the PS3's native
  bootloader (petitboot).
 
 Is anyone working on getting better PS3 support?
 

As you can read from the last message in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619236
I don't have a PS3 to test patches on but I looked at the last bits
missing for a successful installation, TBH more to learn something about
d-i than for anything else.

Anyhow, if anyone is willing to test the changes I will spend some more
time to send proper patches to d-i.

Ciao,
   Antonio

-- 
Antonio Ospite
http://ao2.it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140524235444.bbdbe5b1c145357a6a2ab...@ao2.it



Bug#619236: debian PS3 installation kboot.conf needed

2014-05-09 Thread Antonio Ospite
On Thu, 20 Mar 2014 09:34:41 +0100
Wouter Verhelst w...@uter.be wrote:

 Op maandag 3 maart 2014 10:38:12 schreef Antonio Ospite:
  kboot-utils is in Debian[1] already, all that is missing is to find a
  way to tell the installer:
  
  if this system is a PS3, then install kboot-utils
  
  Can anyone suggest where this kind of logic can be added in d-i?
  I didn't manage to allocate enough time to look deeper into that.
 
 If the PS3 needs some special partitioning (it's been a while since I 
 upgraded my PS3 to something that can't run Linux anymore, so I don't 
 remember) then I would suggest a partman module.
 
 If not, I guess finish-install is the best place to do it.
 

I had some minutes to spare and I looked a little further into this;
I think we could use pkgsel along with archdetect for this: the latter
is in the hw-detect[1] package, which uses libdebian-installer[2].

It looks like archdetect knows about the PS3 already[3], so maybe it can
be called in pkgsel[4], like done for laptop-detect[5], hopefully
something like the following may be enough:

--- [d-i/pkgsel.git]/pre-pkgsel.d/20kboot-utils ---
#!/bin/sh

set -e

# Install kboot-utils on PS3
case $(archdetect) in
powerpc/ps3)
apt-install kboot-utils || true
;;
esac
---

Unfortunately I don't know the exact output of archdetect on the PS3 as I don't
have mine anymore.

If anyone can provide the output of archdetect (is it only available
while installing?) I can send a patch to pkgsel.

Thanks,
   Antonio

[1] http://anonscm.debian.org/gitweb/?p=d-i/hw-detect.git;a=summary 
[2] http://anonscm.debian.org/gitweb/?p=d-i/libdebian-installer.git;a=summary
[3] 
http://anonscm.debian.org/gitweb/?p=d-i/libdebian-installer.git;a=blob;f=src/system/subarch-powerpc-linux.c;h=a91a4347e83f8ad9e97afb8285e1fbbbfd2aee8b;hb=HEAD#l33
[4] http://anonscm.debian.org/gitweb/?p=d-i/pkgsel.git;a=summary
[5] 
http://anonscm.debian.org/gitweb/?p=d-i/pkgsel.git;a=blob;f=pre-pkgsel.d/10laptop-detect;h=472cda224e4c3e9118eeef56221cd20c4e461f2d;hb=HEAD

-- 
Antonio Ospite
http://ao2.it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140509182601.9e4fb1d3efc5499cb16ea...@ao2.it



Bug#619236: debian PS3 installation kboot.conf needed

2014-03-20 Thread Wouter Verhelst
Op maandag 3 maart 2014 10:38:12 schreef Antonio Ospite:
 kboot-utils is in Debian[1] already, all that is missing is to find a
 way to tell the installer:
 
   if this system is a PS3, then install kboot-utils
 
 Can anyone suggest where this kind of logic can be added in d-i?
 I didn't manage to allocate enough time to look deeper into that.

If the PS3 needs some special partitioning (it's been a while since I 
upgraded my PS3 to something that can't run Linux anymore, so I don't 
remember) then I would suggest a partman module.

If not, I guess finish-install is the best place to do it.

-- 
This end should point toward the ground if you want to go to space.

If it starts pointing toward space you are having a bad problem and you
will not go to space today.

  -- http://xkcd.com/1133/



Bug#619236: debian PS3 installation kboot.conf needed

2014-03-03 Thread Antonio Ospite
Hi Cyril,

On Sun, 2 Mar 2014 22:21:28 +0100
Cyril Brulebois k...@debian.org wrote:

 Adding -powerpc to the loop. Initial bug report:
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619236
 
 Geoff Levand ge...@infradead.org (2013-09-04):
  We still have a need for the kboot-utils package in debian.  Recent
  daily builds of D-I work fine on PS3, but the installed system still
  cannot boot due to lack of a kboot.conf file for the PS3's native
  bootloader (petitboot).
 
 Is anyone working on getting better PS3 support?

kboot-utils is in Debian[1] already, all that is missing is to find a
way to tell the installer:

if this system is a PS3, then install kboot-utils

Can anyone suggest where this kind of logic can be added in d-i?
I didn't manage to allocate enough time to look deeper into that.

Thanks,
   Antonio

[1] http://packages.qa.debian.org/k/kboot-utils.html

-- 
Antonio Ospite
http://ao2.it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140303103812.39299da3188c3358bdd44...@ao2.it



Bug#619236: debian PS3 installation kboot.conf needed

2014-03-02 Thread Cyril Brulebois
Adding -powerpc to the loop. Initial bug report:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619236

Geoff Levand ge...@infradead.org (2013-09-04):
 We still have a need for the kboot-utils package in debian.  Recent
 daily builds of D-I work fine on PS3, but the installed system still
 cannot boot due to lack of a kboot.conf file for the PS3's native
 bootloader (petitboot).

Is anyone working on getting better PS3 support?

Mraw,
KiBi.


signature.asc
Description: Digital signature


Bug#619236: debian PS3 installation kboot.conf needed

2013-09-04 Thread Geoff Levand
We still have a need for the kboot-utils package in debian.  Recent
daily builds of D-I work fine on PS3, but the installed system still
cannot boot due to lack of a kboot.conf file for the PS3's native
bootloader (petitboot).


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1378328476.23710.59.camel@smoke