Quantcast

Add initial support for ppc64

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Add initial support for ppc64

John Paul Adrian Glaubitz
Hi!

Here's a small series of patches which adds ppc64 support to debian-installer.
With the patches applied, I can build debian-installer inside a ppc64 chroot.

The generated d-i images should work on 64-Bit PowerPC Macs.

Cheers,
Adrian

 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH 1/7] Clone boot configuration files from powerpc for ppc64.

John Paul Adrian Glaubitz
Signed-off-by: John Paul Adrian Glaubitz <[hidden email]>
---
 build/boot/ppc64/boot.msg             |  19 +++
 build/boot/ppc64/bootinfo.txt         | 266 ++++++++++++++++++++++++++++++++++
 build/boot/ppc64/hfs.map              |  12 ++
 build/boot/ppc64/ofboot.b             |  13 ++
 build/boot/ppc64/yaboot.conf          |  35 +++++
 build/boot/ppc64/yaboot.conf.hd-media |  35 +++++
 build/boot/ppc64/yaboot.conf.netboot  |  35 +++++
 debian/changelog                      |   3 +
 8 files changed, 418 insertions(+)
 create mode 100644 build/boot/ppc64/boot.msg
 create mode 100644 build/boot/ppc64/bootinfo.txt
 create mode 100644 build/boot/ppc64/hfs.map
 create mode 100644 build/boot/ppc64/ofboot.b
 create mode 100644 build/boot/ppc64/yaboot.conf
 create mode 100644 build/boot/ppc64/yaboot.conf.hd-media
 create mode 100644 build/boot/ppc64/yaboot.conf.netboot

diff --git a/build/boot/ppc64/boot.msg b/build/boot/ppc64/boot.msg
new file mode 100644
index 000000000..30723098e
--- /dev/null
+++ b/build/boot/ppc64/boot.msg
@@ -0,0 +1,19 @@
+Welcome to Debian GNU/Linux ${DEBIAN_VERSION}!
+
+This is a Debian installation ${MEDIA_TYPE},
+built on ${BUILD_DATE}.
+
+The default option is 'install'. For maximum
+control, you can use the 'expert' option.
+
+If the system fails to boot at all (the typical
+symptom is a white screen which doesn't go away),
+use 'install video=ofonly' or 'expert video=ofonly'.
+
+Press the tab key for a list of options, or type
+'help' for help.
+
+************************************
+If in doubt, just choose 'install', and if that
+doesn't work, try 'install video=ofonly'.
+************************************
diff --git a/build/boot/ppc64/bootinfo.txt b/build/boot/ppc64/bootinfo.txt
new file mode 100644
index 000000000..bbaa4d3c5
--- /dev/null
+++ b/build/boot/ppc64/bootinfo.txt
@@ -0,0 +1,266 @@
+<chrp-boot>
+<description>Debian/GNU Linux Installation on IBM CHRP hardware</description>
+<os-name>Debian/GNU Linux for PowerPC</os-name>
+<boot-script>boot &device;:\install\yaboot</boot-script>
+<icon size=64,64 color-space=3,3,2>
+<bitmap>
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+</bitmap>
+</icon>
+</chrp-boot>
+
diff --git a/build/boot/ppc64/hfs.map b/build/boot/ppc64/hfs.map
new file mode 100644
index 000000000..0d8b4cfce
--- /dev/null
+++ b/build/boot/ppc64/hfs.map
@@ -0,0 +1,12 @@
+# ext.  xlate  creator  type    comment
+.hqx    Ascii  'BnHx'   'TEXT'  "BinHex file"
+.sit    Raw    'SIT!'   'SITD'  "StuffIT Expander"
+.mov    Raw    'TVOD'   'MooV'  "QuickTime Movie"
+.deb    Raw    'Debn'   'bina'  "Debian package"
+.bin    Raw    'ddsk'   'DDim'  "Floppy or ramdisk image"
+.img    Raw    'ddsk'   'DDim'  "Floppy or ramdisk image"
+.b      Raw    'UNIX'   'tbxi'  "bootstrap"
+yaboot  Raw    'UNIX'   'boot'  "bootstrap"
+vmlinux Raw    'UNIX'   'boot'  "bootstrap"
+.conf   Raw    'UNIX'   'conf'  "bootstrap"
+*       Ascii  '????'   '????'  "Text file"
diff --git a/build/boot/ppc64/ofboot.b b/build/boot/ppc64/ofboot.b
new file mode 100644
index 000000000..ffa91e802
--- /dev/null
+++ b/build/boot/ppc64/ofboot.b
@@ -0,0 +1,13 @@
+<CHRP-BOOT>
+<COMPATIBLE>
+MacRISC MacRISC3 MacRISC4
+</COMPATIBLE>
+<DESCRIPTION>
+Debian GNU/Linux PowerPC first stage CDROM bootloader
+</DESCRIPTION>
+<BOOT-SCRIPT>
+" screen" output
+load-base release-load-area
+boot cd:,\install\yaboot
+</BOOT-SCRIPT>
+</CHRP-BOOT>
diff --git a/build/boot/ppc64/yaboot.conf b/build/boot/ppc64/yaboot.conf
new file mode 100644
index 000000000..d0e13a166
--- /dev/null
+++ b/build/boot/ppc64/yaboot.conf
@@ -0,0 +1,35 @@
+## This yaboot.conf is for CD booting only, do not use as reference.
+## Debian GNU/Linux PowerPC
+
+default=install
+root=/dev/ram
+
+message=/install/boot.msg
+
+image=/install/${TYPE}-linux
+ label=install
+ initrd=/install/${TYPE}-initrd.gz
+ initrd-size=${RAMDISK_SIZE}
+ append="--"
+ read-only
+
+image=/install/${TYPE}-linux
+ label=expert
+ initrd=/install/${TYPE}-initrd.gz
+ initrd-size=${RAMDISK_SIZE}
+ append="priority=low --"
+ read-only
+
+image=/install/${TYPE}-linux
+ label=rescue
+ initrd=/install/${TYPE}-initrd.gz
+ initrd-size=${RAMDISK_SIZE}
+ append="rescue/enable=true --"
+ read-only
+
+image=/install/${TYPE}-linux
+ label=auto
+ initrd=/install/${TYPE}-initrd.gz
+ initrd-size=${RAMDISK_SIZE}
+ append="auto=true priority=critical --"
+ read-only
diff --git a/build/boot/ppc64/yaboot.conf.hd-media b/build/boot/ppc64/yaboot.conf.hd-media
new file mode 100644
index 000000000..4e5c35a33
--- /dev/null
+++ b/build/boot/ppc64/yaboot.conf.hd-media
@@ -0,0 +1,35 @@
+## This yaboot.conf is for hd-media booting only, do not use as reference.
+## Debian GNU/Linux PowerPC
+
+default=install
+root=/dev/ram
+
+message=/boot.msg
+
+image=/vmlinux
+ label=install
+ initrd=/initrd.gz
+ initrd-size=${RAMDISK_SIZE}
+ append="--"
+ read-only
+
+image=/vmlinux
+ label=expert
+ initrd=/initrd.gz
+ initrd-size=${RAMDISK_SIZE}
+ append="priority=low --"
+ read-only
+
+image=/vmlinux
+ label=rescue
+ initrd=/initrd.gz
+ initrd-size=${RAMDISK_SIZE}
+ append="rescue/enable=true --"
+ read-only
+
+image=/vmlinux
+ label=auto
+ initrd=/initrd.gz
+ initrd-size=${RAMDISK_SIZE}
+ append="auto=true priority=critical --"
+ read-only
diff --git a/build/boot/ppc64/yaboot.conf.netboot b/build/boot/ppc64/yaboot.conf.netboot
new file mode 100644
index 000000000..0c2e7e3f5
--- /dev/null
+++ b/build/boot/ppc64/yaboot.conf.netboot
@@ -0,0 +1,35 @@
+## This yaboot.conf is for netbooting only, do not use as reference.
+## Debian GNU/Linux PowerPC
+
+default=install
+root=/dev/ram
+
+message=/boot.msg
+
+image=/vmlinux
+ label=install
+ initrd=/initrd.gz
+ initrd-size=${RAMDISK_SIZE}
+ append="--"
+ read-only
+
+image=/vmlinux
+ label=expert
+ initrd=/initrd.gz
+ initrd-size=${RAMDISK_SIZE}
+ append="priority=low --"
+ read-only
+
+image=/vmlinux
+ label=rescue
+ initrd=/initrd.gz
+ initrd-size=${RAMDISK_SIZE}
+ append="rescue/enable=true --"
+ read-only
+
+image=/vmlinux
+ label=auto
+ initrd=/initrd.gz
+ initrd-size=${RAMDISK_SIZE}
+ append="auto=true priority=critical --"
+ read-only
diff --git a/debian/changelog b/debian/changelog
index 85db40363..afb6d3c13 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -36,6 +36,9 @@ debian-installer (20170128) UNRELEASED; urgency=medium
   [ Mark Cave-Ayland ]
   * sparc64: Add virtio modules to cdrom image
 
+  [ John Paul Adrian Glaubitz ]
+  * Clone boot configuration files from powerpc for ppc64.
+
  -- Samuel Thibault <[hidden email]>  Sat, 11 Feb 2017 14:20:14 +0100
 
 debian-installer (20170127) unstable; urgency=medium
--
2.11.0

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH 2/7] Add ppc64 support based on powerpc configuration.

John Paul Adrian Glaubitz
In reply to this post by John Paul Adrian Glaubitz
Signed-off-by: John Paul Adrian Glaubitz <[hidden email]>
---
 build/config/ppc64.cfg                       | 97 ++++++++++++++++++++++++++++
 build/config/ppc64/powerpc64.cfg             | 18 ++++++
 build/config/ppc64/powerpc64/cdrom.cfg       |  9 +++
 build/config/ppc64/powerpc64/monolithic.cfg  |  8 +++
 build/config/ppc64/powerpc64/netboot-gtk.cfg | 16 +++++
 build/config/ppc64/powerpc64/netboot.cfg     |  9 +++
 debian/changelog                             |  1 +
 7 files changed, 158 insertions(+)
 create mode 100644 build/config/ppc64.cfg
 create mode 100644 build/config/ppc64/powerpc64.cfg
 create mode 100644 build/config/ppc64/powerpc64/cdrom.cfg
 create mode 100644 build/config/ppc64/powerpc64/monolithic.cfg
 create mode 100644 build/config/ppc64/powerpc64/netboot-gtk.cfg
 create mode 100644 build/config/ppc64/powerpc64/netboot.cfg

diff --git a/build/config/ppc64.cfg b/build/config/ppc64.cfg
new file mode 100644
index 000000000..0637b87dd
--- /dev/null
+++ b/build/config/ppc64.cfg
@@ -0,0 +1,97 @@
+SUBARCH_SUPPORTED = powerpc64
+
+KERNELMAJOR = 2.6
+BASEVERSION = $(LINUX_KERNEL_ABI)
+
+# create the kernels with builtin initrd.
+builtin_initrd: $(TEMP_KERNEL) $(TEMP_INITRD)
+ # temporary hack
+ case $(KERNELMAJOR) in \
+ 2.6) \
+ for subarch in $(SUBARCHES); do \
+ rm -f $(DEST)/vmlinuz-$$subarch.initrd; \
+ mkvmlinuz -v \
+ -a $$subarch \
+ -r $(KERNELVERSION) \
+ -k $(TEMP_KERNEL) \
+ -z -i $(TEMP_INITRD) \
+ -d $(TEMP)/lib \
+ -o $(DEST)/vmlinuz-$$subarch.initrd; \
+ done \
+ ;; \
+ *) \
+ echo "Kernel $(KERNELMAJOR) not supported" \
+ ;;\
+ esac
+
+# cd content for ppc64, includes yaboot for booting
+# apple ppc64 (newworld) computers
+cd_content_common:
+ mkdir -p $(TEMP_CD_TREE)/$(dir install/$(TYPE))
+
+ cp $(TEMP_KERNEL) $(TEMP_CD_TREE)/install/$(TYPE)-linux
+ ln -f $(TEMP_INITRD) $(TEMP_CD_TREE)/install/$(TYPE)-initrd.gz
+
+ # New-world bootability
+ cp -f boot/ppc64/ofboot.b $(TEMP_CD_TREE)/install/
+ cp -f /usr/lib/yaboot/yaboot $(TEMP_CD_TREE)/install/
+ bootvars-subst MEDIA_TYPE "${MEDIA_TYPE}" \
+ DEBIAN_VERSION "${DEBIAN_VERSION}" \
+ BUILD_DATE "${BUILD_DATE}" \
+ < boot/ppc64/boot.msg > $(TEMP_CD_TREE)/install/boot.msg
+ ramdisk-size-subst $(TEMP_INITRD) \
+ < boot/ppc64/yaboot.conf \
+ | sed 's,\$${TYPE},$(TYPE),g' \
+ > $(TEMP_CD_TREE)/install/yaboot.conf
+ # CHRP bootability
+ mkdir -p $(TEMP_CD_TREE)/etc
+ mkdir -p $(TEMP_CD_TREE)/ppc/chrp
+ cp -f $(TEMP_CD_TREE)/install/yaboot.conf $(TEMP_CD_TREE)/etc
+ cp -f boot/ppc64/bootinfo.txt $(TEMP_CD_TREE)/ppc
+
+# Adds yaboot to netboot dirs.
+netboot_content_common:
+ cp -f /usr/lib/yaboot/yaboot $(DEST)
+ bootvars-subst MEDIA_TYPE "${MEDIA_TYPE}" \
+ DEBIAN_VERSION "${DEBIAN_VERSION}" \
+ BUILD_DATE "${BUILD_DATE}" \
+ < boot/ppc64/boot.msg > $(DEST)/boot.msg
+ ramdisk-size-subst $(TEMP_INITRD) \
+ < boot/ppc64/yaboot.conf.netboot \
+ | sed 's,\$${TYPE},$(TYPE),g' \
+ > $(DEST)/yaboot.conf
+
+# creates a bootable cd image for ppc64
+arch_miniiso_common: cd_content_common
+ genisoimage -r -T --netatalk -chrp-boot -hfs -probe -map boot/ppc64/hfs.map -part -no-desktop -hfs-bless $(TEMP_CD_TREE)/install -hfs-volid Debian-Installer/PPC64 -o $(TEMP_MINIISO) $(TEMP_CD_TREE)
+
+# creates a bootable HFS filesystem, used for USB sticks
+hd_media_common: $(TEMP_KERNEL) $(TEMP_INITRD)
+ mkdir -p $(dir $(TEMP_BOOT))
+ : | dd of=$(TEMP_BOOT) bs=1024 seek=$(FLOPPY_SIZE)
+ HOME=$(TEMP) hformat -l $(DISK_LABEL) $(TEMP_BOOT)
+ HOME=$(TEMP) hmount $(TEMP_BOOT)
+ HOME=$(TEMP) hcopy -r $(TEMP_KERNEL) :vmlinux
+ HOME=$(TEMP) hcopy -r $(TEMP_INITRD) :initrd.gz
+ cp -a /usr/lib/yaboot/yaboot $(TEMP)/yaboot # used later
+ HOME=$(TEMP) hcopy -r $(TEMP)/yaboot :yaboot
+ HOME=$(TEMP) hattrib -c UNIX -t tbxi :yaboot
+
+ bootvars-subst MEDIA_TYPE "${MEDIA_TYPE}" \
+ DEBIAN_VERSION "${DEBIAN_VERSION}" \
+ BUILD_DATE "${BUILD_DATE}" \
+ < boot/ppc64/boot.msg > $(TEMP)/boot.msg
+ ramdisk-size-subst $(TEMP_INITRD) \
+ < boot/ppc64/yaboot.conf.hd-media \
+ > $(TEMP)/yaboot.conf
+ HOME=$(TEMP) hcopy -r $(TEMP)/boot.msg :boot.msg
+ HOME=$(TEMP) hcopy -r $(TEMP)/yaboot.conf :yaboot.conf
+
+ HOME=$(TEMP) hattrib -b :
+ HOME=$(TEMP) humount
+ rm -f $(TEMP)/.hcwd # clean up after hfsutils
+
+ $(if $(GZIPPED),gzip -v9f $(TEMP_BOOT))
+
+
+arch_tree:
diff --git a/build/config/ppc64/powerpc64.cfg b/build/config/ppc64/powerpc64.cfg
new file mode 100644
index 000000000..05428a139
--- /dev/null
+++ b/build/config/ppc64/powerpc64.cfg
@@ -0,0 +1,18 @@
+MEDIUM_SUPPORTED = cdrom netboot netboot-gtk
+MEDIUM_SUPPORTED_EXTRA = monolithic
+
+# The version of the kernel to use.
+KERNELVERSION = $(BASEVERSION)-powerpc64
+KERNELNAME = vmlinux
+
+SUBARCHES = chrp
+
+cd_content: cd_content_common
+
+netboot_content: netboot_content_common
+
+arch_miniiso: arch_miniiso_common
+
+arch_boot_screens:
+
+arch_boot: arch_boot_initrd
diff --git a/build/config/ppc64/powerpc64/cdrom.cfg b/build/config/ppc64/powerpc64/cdrom.cfg
new file mode 100644
index 000000000..886b0af76
--- /dev/null
+++ b/build/config/ppc64/powerpc64/cdrom.cfg
@@ -0,0 +1,9 @@
+MEDIA_TYPE = CD-ROM
+
+# cd booting does not need floppy images on powerpc
+TARGET = $(INITRD) $(KERNEL) builtin_initrd
+EXTRANAME = $(MEDIUM)/
+
+MANIFEST-BOOT = "CDROM image for 64bit Power and PowerPC cpus (except pre-power5 iSeries)"
+MANIFEST-INITRD = "initrd for use with 64bit Power and PowerPC cpus (except pre-power5 iSeries)"
+MANIFEST-KERNEL = "kernel for use with 64bit Power and PowerPC cpus (except pre-power5 iSeries)"
diff --git a/build/config/ppc64/powerpc64/monolithic.cfg b/build/config/ppc64/powerpc64/monolithic.cfg
new file mode 100644
index 000000000..727e191a0
--- /dev/null
+++ b/build/config/ppc64/powerpc64/monolithic.cfg
@@ -0,0 +1,8 @@
+MEDIA_TYPE = boot image
+
+TARGET = pkg-lists/standard-udebs pkg-lists/kernel-module-udebs $(INITRD) $(KERNEL) $(MINIISO)
+EXTRANAME = $(MEDIUM)/
+
+MANIFEST-INITRD = "initrd for 64bit Power and PowerPC cpus (except pre-power5 iSeries)"
+MANIFEST-KERNEL = "kernel image for use with 64bit Power and PowerPC cpus (except pre-power5 iSeries)"
+MANIFEST-MINIISO = "small bootable CD image for network install on 64bit Power and PowerPC machines (except pre-power5 iSeries)"
diff --git a/build/config/ppc64/powerpc64/netboot-gtk.cfg b/build/config/ppc64/powerpc64/netboot-gtk.cfg
new file mode 100644
index 000000000..d263cef0b
--- /dev/null
+++ b/build/config/ppc64/powerpc64/netboot-gtk.cfg
@@ -0,0 +1,16 @@
+MEDIA_TYPE = netboot image
+
+TYPE = netboot/gtk
+
+TARGET = $(INITRD) $(KERNEL) $(MINIISO) builtin_initrd
+EXTRANAME = netboot/gtk/
+
+MANIFEST-BOOT = "tftp boot image for 64bit Power and PowerPC cpus (except pre-power5 iSeries)"
+MANIFEST-INITRD = "initrd for use with 64bit Power and PowerPC cpus (except pre-power5 iSeries)"
+MANIFEST-KERNEL = "kernel for use with 64bit Power and PowerPC cpus (except pre-power5 iSeries)"
+
+KEEP_GI_LANGS = 1
+
+# All images that include cdebconf should include symbols needed by these
+# plugins.
+EXTRAUDEBS += cdebconf-gtk-entropy
diff --git a/build/config/ppc64/powerpc64/netboot.cfg b/build/config/ppc64/powerpc64/netboot.cfg
new file mode 100644
index 000000000..2d65a9c8d
--- /dev/null
+++ b/build/config/ppc64/powerpc64/netboot.cfg
@@ -0,0 +1,9 @@
+MEDIA_TYPE = netboot image
+
+TARGET = $(INITRD) $(KERNEL) $(MINIISO) builtin_initrd netboot_content
+EXTRANAME = $(MEDIUM)/
+
+MANIFEST-BOOT = "tftp boot image for 64bit Power and PowerPC cpus (except pre-power5 iSeries)"
+MANIFEST-INITRD = "initrd for 64bit Power and PowerPC cpus (except pre-power5 iSeries)"
+MANIFEST-KERNEL = "kernel for 64bit Power and PowerPC cpus (except pre-power5 iSeries)"
+MANIFEST-MINIISO = "small bootable CD image for powerpc64 netboot"
diff --git a/debian/changelog b/debian/changelog
index afb6d3c13..07c0b11c8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -38,6 +38,7 @@ debian-installer (20170128) UNRELEASED; urgency=medium
 
   [ John Paul Adrian Glaubitz ]
   * Clone boot configuration files from powerpc for ppc64.
+  * Add ppc64 support based on powerpc configuration.
 
  -- Samuel Thibault <[hidden email]>  Sat, 11 Feb 2017 14:20:14 +0100
 
--
2.11.0

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH 3/7] Clone cdrom pkg-lists from powerpc for ppc64.

John Paul Adrian Glaubitz
In reply to this post by John Paul Adrian Glaubitz
Signed-off-by: John Paul Adrian Glaubitz <[hidden email]>
---
 build/pkg-lists/cdrom/ppc64.cfg | 31 +++++++++++++++++++++++++++++++
 debian/changelog                |  1 +
 2 files changed, 32 insertions(+)
 create mode 100644 build/pkg-lists/cdrom/ppc64.cfg

diff --git a/build/pkg-lists/cdrom/ppc64.cfg b/build/pkg-lists/cdrom/ppc64.cfg
new file mode 100644
index 000000000..f69f187b4
--- /dev/null
+++ b/build/pkg-lists/cdrom/ppc64.cfg
@@ -0,0 +1,31 @@
+input-modules-${kernel:Version}
+firewire-core-modules-${kernel:Version}
+
+pata-modules-${kernel:Version}
+console-setup-pc-ekmap
+console-setup-udeb
+kbd-udeb
+# The following can be removed once unix socket support is compiled
+# in to the kernel.
+usb-modules-${kernel:Version}
+serial-modules-${kernel:Version}
+usb-serial-modules-${kernel:Version} ?
+uinput-modules-${kernel:Version} ?
+# Currently all built into the kernel.
+#input-modules-${kernel:Version}
+fb-modules-${kernel:Version} ?
+eject-udeb
+pcmcia-storage-modules-${kernel:Version}
+pcmcia-modules-${kernel:Version}
+pcmciautils-udeb
+virtio-modules-${kernel:Version}
+
+# Support for USB CD-ROMs
+usb-storage-modules-${kernel:Version}
+# Support for SCSI CD-ROMs.
+scsi-common-modules-${kernel:Version} ?
+scsi-modules-${kernel:Version}
+
+# IBM Power hypervisor modules, only available on powerpc64.
+hypervisor-modules-${kernel:Version} ?
+fancontrol-modules-${kernel:Version} ?
diff --git a/debian/changelog b/debian/changelog
index 07c0b11c8..35f570ecd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -39,6 +39,7 @@ debian-installer (20170128) UNRELEASED; urgency=medium
   [ John Paul Adrian Glaubitz ]
   * Clone boot configuration files from powerpc for ppc64.
   * Add ppc64 support based on powerpc configuration.
+  * Clone cdrom pkg-lists from powerpc for ppc64.
 
  -- Samuel Thibault <[hidden email]>  Sat, 11 Feb 2017 14:20:14 +0100
 
--
2.11.0

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH 4/7] Clone netboot pkg-lists from powerpc for ppc64.

John Paul Adrian Glaubitz
In reply to this post by John Paul Adrian Glaubitz
Signed-off-by: John Paul Adrian Glaubitz <[hidden email]>
---
 build/pkg-lists/netboot/ppc64.cfg | 30 ++++++++++++++++++++++++++++++
 debian/changelog                  |  1 +
 2 files changed, 31 insertions(+)
 create mode 100644 build/pkg-lists/netboot/ppc64.cfg

diff --git a/build/pkg-lists/netboot/ppc64.cfg b/build/pkg-lists/netboot/ppc64.cfg
new file mode 100644
index 000000000..3e9b572aa
--- /dev/null
+++ b/build/pkg-lists/netboot/ppc64.cfg
@@ -0,0 +1,30 @@
+input-modules-${kernel:Version}
+console-setup-pc-ekmap
+nic-modules-${kernel:Version}
+nic-pcmcia-modules-${kernel:Version}
+pcmcia-modules-${kernel:Version}
+mountmedia
+media-retriever
+usb-storage-modules-${kernel:Version}
+pcmciautils-udeb
+fb-modules-${kernel:Version} ?
+usb-modules-${kernel:Version}
+virtio-modules-${kernel:Version}
+
+console-setup-udeb
+kbd-udeb
+bogl-bterm-udeb
+hw-detect
+ethdetect
+netcfg
+
+# brltty
+brltty-udeb
+serial-modules-${kernel:Version}
+usb-serial-modules-${kernel:Version} ?
+uinput-modules-${kernel:Version} ?
+
+# IBM Power hypervisor modules, only available on powerpc64.
+hypervisor-modules-${kernel:Version} ?
+fancontrol-modules-${kernel:Version} ?
+
diff --git a/debian/changelog b/debian/changelog
index 35f570ecd..fe4d556e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -40,6 +40,7 @@ debian-installer (20170128) UNRELEASED; urgency=medium
   * Clone boot configuration files from powerpc for ppc64.
   * Add ppc64 support based on powerpc configuration.
   * Clone cdrom pkg-lists from powerpc for ppc64.
+  * Clone netboot pkg-lists from powerpc for ppc64.
 
  -- Samuel Thibault <[hidden email]>  Sat, 11 Feb 2017 14:20:14 +0100
 
--
2.11.0

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH 5/7] Clone netboot-gtk pkg-lists from powerpc for ppc64.

John Paul Adrian Glaubitz
In reply to this post by John Paul Adrian Glaubitz
Signed-off-by: John Paul Adrian Glaubitz <[hidden email]>
---
 build/pkg-lists/netboot/gtk/ppc64.cfg | 5 +++++
 debian/changelog                      | 1 +
 2 files changed, 6 insertions(+)
 create mode 100644 build/pkg-lists/netboot/gtk/ppc64.cfg

diff --git a/build/pkg-lists/netboot/gtk/ppc64.cfg b/build/pkg-lists/netboot/gtk/ppc64.cfg
new file mode 100644
index 000000000..bab02b461
--- /dev/null
+++ b/build/pkg-lists/netboot/gtk/ppc64.cfg
@@ -0,0 +1,5 @@
+#include "gtk-linux"
+
+mouse-modules-${kernel:Version}
+xserver-xorg-input-evdev-udeb
+xserver-xorg-video-fbdev-udeb
diff --git a/debian/changelog b/debian/changelog
index fe4d556e4..3b2e7dad8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -41,6 +41,7 @@ debian-installer (20170128) UNRELEASED; urgency=medium
   * Add ppc64 support based on powerpc configuration.
   * Clone cdrom pkg-lists from powerpc for ppc64.
   * Clone netboot pkg-lists from powerpc for ppc64.
+  * Clone netboot-gtk pkg-lists from powerpc for ppc64.
 
  -- Samuel Thibault <[hidden email]>  Sat, 11 Feb 2017 14:20:14 +0100
 
--
2.11.0

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH 6/7] Add yaboot to Build-Depends for ppc64.

John Paul Adrian Glaubitz
In reply to this post by John Paul Adrian Glaubitz
Signed-off-by: John Paul Adrian Glaubitz <[hidden email]>
---
 debian/changelog | 1 +
 debian/control   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 3b2e7dad8..1cf61ee70 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -42,6 +42,7 @@ debian-installer (20170128) UNRELEASED; urgency=medium
   * Clone cdrom pkg-lists from powerpc for ppc64.
   * Clone netboot pkg-lists from powerpc for ppc64.
   * Clone netboot-gtk pkg-lists from powerpc for ppc64.
+  * Add yaboot to Build-Depends for ppc64.
 
  -- Samuel Thibault <[hidden email]>  Sat, 11 Feb 2017 14:20:14 +0100
 
diff --git a/debian/control b/debian/control
index 51680f462..237f81f41 100644
--- a/debian/control
+++ b/debian/control
@@ -95,7 +95,7 @@ Build-Depends:
  pxelinux [i386 amd64],
  syslinux-common (>= 3:6) [i386 amd64],
 # With isohybrid.
- yaboot [powerpc],
+ yaboot [powerpc ppc64],
 # For all our powerpc boot needs. Well, not really.
  aboot (>= 0.9b-2) [alpha],
 # A previous version didn't have netabootwrap.
--
2.11.0

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH 7/7] Add mkvmlinuz to Build-Depends for ppc64.

John Paul Adrian Glaubitz
In reply to this post by John Paul Adrian Glaubitz
Signed-off-by: John Paul Adrian Glaubitz <[hidden email]>
---
 debian/changelog | 1 +
 debian/control   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 1cf61ee70..4db7aa7b4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -43,6 +43,7 @@ debian-installer (20170128) UNRELEASED; urgency=medium
   * Clone netboot pkg-lists from powerpc for ppc64.
   * Clone netboot-gtk pkg-lists from powerpc for ppc64.
   * Add yaboot to Build-Depends for ppc64.
+  * Add mkvmlinuz to Build-Depends for ppc64.
 
  -- Samuel Thibault <[hidden email]>  Sat, 11 Feb 2017 14:20:14 +0100
 
diff --git a/debian/control b/debian/control
index 237f81f41..be5ac92b6 100644
--- a/debian/control
+++ b/debian/control
@@ -148,7 +148,7 @@ Build-Depends:
  bf-utf-source [!s390 !s390x],
 # Contains the unicode font we use. Not a udeb since we
 # perform font reduction at build time.
- mkvmlinuz [powerpc],
+ mkvmlinuz [powerpc ppc64],
 # Used to make powerpc images that can boot direct from
 # firmware w/o using a boot loader.
  openssl,
--
2.11.0

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 2/7] Add ppc64 support based on powerpc configuration.

Ben Hutchings-3
In reply to this post by John Paul Adrian Glaubitz
On Mon, 2017-03-20 at 19:17 +0100, John Paul Adrian Glaubitz wrote:
[...]
> +KERNELMAJOR = 2.6
[...]
> + case $(KERNELMAJOR) in \
> + 2.6) \
[...]
> + *) \
> + echo "Kernel $(KERNELMAJOR) not supported" \
> + ;;\
[...]

Could you please not copy this nonsense?

Ben.

--
Ben Hutchings
Humans are not rational beings; they are rationalising beings.


signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 2/7] Add ppc64 support based on powerpc configuration.

John Paul Adrian Glaubitz
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 03/20/2017 10:19 PM, Ben Hutchings wrote:
> Could you please not copy this nonsense?

I also copied it for sparc64 "as is" back then, simply for consistency reasons.
Wouldn't it be better to clean it up in a separate commit, for all architectures?

Thanks,
Adrian

- --
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEYv+KdYTgKVaVRgAGdCY7N/W1+RMFAljQSc0ACgkQdCY7N/W1
+ROb5g/9HPPQ37f42CdwTZsbhs7Z5HUgnDQwl3atZ5qqUnltS3SnkJMhkygkQ/x9
ZZMiTg+0KO3lqz0rVXEdTuhZ1yWKmK23ixIynVeNm21o+eYYScPe+UDLFEsoABpG
uDw/mc+71wJU1bvmPbzpvLSm5MPRpY+6XsxwU6S1/boxrH7oYgdBPISC7jAwQs9f
rWXKsm/uR8+Cd1ghFr5LrsMqvwTnFzTJMP5OQ6JejVFucZxHFb8hh785U3SKqdZ4
c2v/Exrhn1sAOjyZ3+fTg9bhy1FVBi9q77Cw2tqUKKiFuio1o13h8l8su5Famvqj
2Lblvo8w2BHU/jd4XlnkscCDB6MLy2by71X+HiU1xBrX+u7plhbt2X826WEL9VrB
qFCDsg+5MOG1wEK5zgesd6oy1z7lRKVp16QmR1GDtWzd4kE+EDV3mbuIaUBJHkzx
daHYpFrX3Mjs0bb28y5xqsN3oZapygsdnL2A6E9wXgj160TJk0QKB4HYnUPdWg1l
2u6KMo8AjcHvxs0UsGAfhTdAdYvy6KnOfM15XbuHdaxSjWnDlJ+pXAKpQPJAN2jT
Qfiedq9cW+S2MLxPmTadHUwLaD2NOcyxn/tCLMcsyo2uWFW0wW0BPBdQchXaKvvy
ATT9X90pkd5UO6GPx6a4ZzOv9XYtjQFC6gWGUmcaLZ7rduU42J4=
=JqtO
-----END PGP SIGNATURE-----

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 2/7] Add ppc64 support based on powerpc configuration.

Ben Hutchings-3
On Mon, 2017-03-20 at 22:29 +0100, John Paul Adrian Glaubitz wrote:
> On 03/20/2017 10:19 PM, Ben Hutchings wrote:
> > Could you please not copy this nonsense?
>
> I also copied it for sparc64 "as is" back then, simply for
> consistency reasons.
> Wouldn't it be better to clean it up in a separate commit, for all
> architectures?

Yes, why don't you do that first.

Ben.

--
Ben Hutchings
Humans are not rational beings; they are rationalising beings.


signature.asc (849 bytes) Download Attachment
Loading...