Re: Adding ppc64el support in debian-cd

2014-09-22 Thread Steve McIntyre
On Mon, Sep 22, 2014 at 09:57:44AM -0300, Mauricio Faria de Oliveira wrote:
>On 09/22/2014 12:00 AM, Lennart Sorensen wrote:
>>On Sun, Sep 21, 2014 at 06:19:43PM +0100, Steve McIntyre wrote:
>>>I'm adding support for new architectures at the moment. powerpc is one
>>>of the most awkward existing arches to add boot support for at the
>>>moment, due to the mess of older machines. I'm hoping that ppc64el is
>>>better, but I don't have much information to go on. What should we be
>>>doing to make bootable CD/DVD/USB images for ppc64el, please?
>
>Aurelien and Paulo know more about the bootable status/steps than me.
>
>I believe that w/ the grub2 and klibc uploads from this last weekend,
>it's almost there. There's powerpc-utils & util-linux coming in from
>DELAYED in 2 days & 5 days.

OK, cool.

>>I thought only power8 machines were able to run ppc64el so far, and
>>those would be openfirmware I imagine (every other IBM power machine I
>>have worked with was).
>
>Yes, ppc64el runs on POWER8 onwards with OpenFirmware based firmware.

Right. I'll start working based on that shortly.

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
"You can't barbecue lettuce!" -- Ellie Crane


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140922130929.ga27...@einval.com



Re: Adding ppc64el support in debian-cd

2014-09-22 Thread Mauricio Faria de Oliveira

On 09/22/2014 12:00 AM, Lennart Sorensen wrote:

On Sun, Sep 21, 2014 at 06:19:43PM +0100, Steve McIntyre wrote:

I'm adding support for new architectures at the moment. powerpc is one
of the most awkward existing arches to add boot support for at the
moment, due to the mess of older machines. I'm hoping that ppc64el is
better, but I don't have much information to go on. What should we be
doing to make bootable CD/DVD/USB images for ppc64el, please?


Aurelien and Paulo know more about the bootable status/steps than me.

I believe that w/ the grub2 and klibc uploads from this last weekend,
it's almost there. There's powerpc-utils & util-linux coming in from
DELAYED in 2 days & 5 days.


I thought only power8 machines were able to run ppc64el so far, and
those would be openfirmware I imagine (every other IBM power machine I
have worked with was).


Yes, ppc64el runs on POWER8 onwards with OpenFirmware based firmware.

Thanks!

--
Mauricio Faria de Oliveira
IBM Linux Technology Center


--
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54201cc8.6030...@linux.vnet.ibm.com



Bug#762487: desktop selection changes

2014-09-22 Thread Joey Hess
Package: debian-cd
Severity: important

Changes to desktop selection in tasksel and recently to d-i are going to
need updates to debian-cd. The attached patch might work, or at least
point in the right direction.

-- 
see shy jo
From 723ae4c5fb37461863d2312cfb25a201e7594cfd Mon Sep 17 00:00:00 2001
From: Joey Hess 
Date: Mon, 22 Sep 2014 15:14:47 -0400
Subject: [PATCH] adapt desktop handling for tasksel/d-i changes

tasksel now allows selecting the desktop, and d-i has dropped the boot menu
desktop selection. This patch attempts to update debian-cd for these
changes, removing the desktop boot menus from the CDs.

CD images for specific desktops (xfce/kde/mate/etc) should still override
the default tasksel desktop.

untested
---
 tools/boot/jessie/boot-x86   |  14 +
 tools/boot/jessie/common.sh  |   4 +-
 tools/boot/jessie/x86-desktop.sh | 109 +--
 3 files changed, 5 insertions(+), 122 deletions(-)

diff --git a/tools/boot/jessie/boot-x86 b/tools/boot/jessie/boot-x86
index df42c96..e42dee0 100644
--- a/tools/boot/jessie/boot-x86
+++ b/tools/boot/jessie/boot-x86
@@ -150,19 +150,16 @@ extra_image () {
 	done
 }
 
-# If multiple desktops are to be supported, set the default one
-ORIG_DESKTOP=
 case "$DESKTOP" in
 $UNSPEC_DESKTOP_DEFAULT)
 	# default from tasksel 
 	DESKTOP=
 	;;
 all)
-	ORIG_DESKTOP=$DESKTOP
+	# default from tasksel 
 	DESKTOP=
 	;;
 light)
-	ORIG_DESKTOP=$DESKTOP
 	DESKTOP=xfce
 	;;
 esac
@@ -377,14 +374,7 @@ if [ -n "$KERNEL_PARAMS" ]; then
 	done
 fi
 
-case "$ORIG_DESKTOP" in
-	all)
-		modify_for_all_desktop ;;
-	light)
-		modify_for_light_desktop ;;
-	*)
-		modify_for_single_desktop ;;
-esac
+set_default_desktop
 
 # Add autorun
 if [ -f boot$N/setup.exe ]; then
diff --git a/tools/boot/jessie/common.sh b/tools/boot/jessie/common.sh
index a09c8af..8a38b09 100644
--- a/tools/boot/jessie/common.sh
+++ b/tools/boot/jessie/common.sh
@@ -27,8 +27,8 @@ UNSPEC_DESKTOP_DEFAULT="$($BASEDIR/tools/apt-selection cache depends task-deskto
 exit
 }')"
 
-# Only i386 and amd64 support desktop selection with the 'light' and 'all'
-# desktops; make sure other arches get a working config
+# Only i386 and amd64 use DESKTOP to set the default desktop;
+# make sure other arches get a working config
 if [ "$ARCH" != i386 ] && [ "$ARCH" != amd64 ]; then
 if [ "$DESKTOP" = all ] || [ "$DESKTOP" = "$UNSPEC_DESKTOP_DEFAULT" ] ; then
 DESKTOP=
diff --git a/tools/boot/jessie/x86-desktop.sh b/tools/boot/jessie/x86-desktop.sh
index 8560d67..707c0f8 100644
--- a/tools/boot/jessie/x86-desktop.sh
+++ b/tools/boot/jessie/x86-desktop.sh
@@ -26,10 +26,6 @@ multiarch_workaround() {
 		boot$N/isolinux/amdtxt.cfg || true
 	sed -i "/^include menu.cfg/ a\include instsel.cfg" \
 		boot$N/isolinux/prompt.cfg
-	if [ -e boot$N/isolinux/desktop/prompt.cfg ]; then
-		sed -i "/^default install/ a\include instsel.cfg" \
-			boot$N/isolinux/desktop/prompt.cfg
-	fi
 	cat >boot$N/isolinux/instsel.cfg 

Bug#762392: Publish self-contained debootstrapped tarballs

2014-09-22 Thread Eduard - Gabriel Munteanu
Hi,

On Sun, 2014-09-21 at 21:46 +0100, Philip Hands wrote:

[snip]

> Anyone that can deal with those issues after installing a tarball should
> have no trouble at all running {c}debootstrap themselves.

What if {c}debootstrap isn't available in their environment? That's
specifically the case I was talking about.

I suppose we may consider distributing {c}debootstrap in a
distro-neutral, self-contained package, but I'm unsure how difficult
that is.

[snip]

> that you report bugs about those, with specific examples, because you
> may find that you've just not noticed the way in which such setups are
> supported, and will therefore find out that it is possible to do what
> you want, or you will highlight real weaknesses in the installer, which
> are then more likely to get fixed.

There seems to be a fundamental issue with d-i in the usecases I
mentioned: d-i is a bootable installer meant to run on the target
machine. This translates to a very roundabout way of doing stuff if
installation involves a host OS, e.g. you'll need to set up a full
networked environment with DHCP and HTTP servers just to serve a preseed
file, in a way that's not abstracted / hidden at all. Or you'll have to
remaster a CD image to insert or change a preseed file.

I think this stems from the fact Debian / d-i is not separating concerns
well enough; namely it's mixing up the following, in a rather ad-hoc
manner:
- interactive user interface
- bootable environment
- disk setup helpers
- bootstrapping (note how d-i assumes you want a fully installed and
bootable system, not just a chroot)
- configuration management

[snip]


Eduard


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1411413140.2990.31.ca...@jessie.desktop.edgmnt.net



Re: Adding ppc64el support in debian-cd

2014-09-22 Thread Aurelien Jarno
On Mon, Sep 22, 2014 at 02:09:29PM +0100, Steve McIntyre wrote:
> On Mon, Sep 22, 2014 at 09:57:44AM -0300, Mauricio Faria de Oliveira wrote:
> >On 09/22/2014 12:00 AM, Lennart Sorensen wrote:
> >>On Sun, Sep 21, 2014 at 06:19:43PM +0100, Steve McIntyre wrote:
> >>>I'm adding support for new architectures at the moment. powerpc is one
> >>>of the most awkward existing arches to add boot support for at the
> >>>moment, due to the mess of older machines. I'm hoping that ppc64el is
> >>>better, but I don't have much information to go on. What should we be
> >>>doing to make bootable CD/DVD/USB images for ppc64el, please?
> >
> >Aurelien and Paulo know more about the bootable status/steps than me.
> >
> >I believe that w/ the grub2 and klibc uploads from this last weekend,
> >it's almost there. There's powerpc-utils & util-linux coming in from
> >DELAYED in 2 days & 5 days.
> 
> OK, cool.

Indeed bootable CD images are done with GRUB on ppc64el, but it is
currently broken. debian-installer will provide a kernel, a vmlinux and
a file called debian-cd_info.tar.gz containing the grub files. I have
put an example of such a directory tree there:

  http://temp.aurel32.net/ppc64el/d-i/

The tarball should be decompressed in the root of the CD-ROM, while the
kernel and initrd should be placed in the /install directory. The ISO
image should be generated with the --chrp-boot argument. Beside that the
default options of genisoimage should be used, there is no need to
specify any strange HFS option like on powerpc (Note: I only tested that
on a VM using SLOF, it will be nice if someone with access to bare metal
can confirm that).

Don't hesitate to ask more details if needed. I will tell you once GRUB
is fixed and all these files are in place on d-i.debian.org.

Thanks,
Aurelien

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140922204710.gb5...@hall.aurel32.net



Re: Adding ppc64el support in debian-cd

2014-09-22 Thread Thomas Schmitt
Hi,

Aurelien Jarno wrote:
> Beside that the
> default options of genisoimage should be used, there is no need to
> specify any strange HFS option like on powerpc

If no option -hfs is needed, then xorriso should be suitable.


> The ISO image should be generated with the --chrp-boot argument.

That would be -chrp-boot-part in xorriso -as mkisofs.


Have a nice day :)

Thomas


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/391545533429646...@scdbackup.webframe.org



Re: 7.7 planning

2014-09-22 Thread Ansgar Burchardt
Hi,

"Adam D. Barratt"  writes:
> We're (over)due another wheezy point release; this time, 7.7. I propose
> we go for one of:
>
> 11/12 October
> 18/19 October
> 25/26 October

All of these are still good for me.

Ansgar


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/85d2amq1si@tsukuyomi.43-1.org