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

Bug#311925: marked as done (debian-cd: Please add this pegasos support forth script to make booting debian-installer easier)



Your message dated Mon, 22 Aug 2005 16:32:04 -0700
with message-id <E1E7Lls-0007KT-00@spohr.debian.org>
and subject line Bug#311925: fixed in debian-cd 2.2.23
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 4 Jun 2005 11:11:43 +0000
>From luther@debian.org Sat Jun 04 04:11:42 2005
Return-path: <luther@debian.org>
Received: from smtp14.wanadoo.fr [193.252.23.69] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DeWZ4-0001aG-00; Sat, 04 Jun 2005 04:11:42 -0700
Received: from me-wanadoo.net (unknown [127.0.0.1])
	by mwinf1412.wanadoo.fr (SMTP Server) with ESMTP id 7A98970000AD
	for <submit@bugs.debian.org>; Sat,  4 Jun 2005 13:11:11 +0200 (CEST)
Received: from pegasos (AStrasbourg-251-1-63-82.w82-126.abo.wanadoo.fr [82.126.131.82])
	by mwinf1412.wanadoo.fr (SMTP Server) with ESMTP id 39D1F70000A5;
	Sat,  4 Jun 2005 13:11:11 +0200 (CEST)
X-ME-UUID: 20050604111111236.39D1F70000A5@mwinf1412.wanadoo.fr
Received: from luther by pegasos with local (Exim 4.50)
	id 1DeWXk-0003r5-LD; Sat, 04 Jun 2005 13:10:20 +0200
Content-Type: multipart/mixed; boundary="===============1005518694=="
MIME-Version: 1.0
From: Sven Luther <luther@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: debian-cd: Please add this pegasos support forth script to make booting
 debian-installer easier
X-Mailer: reportbug 3.12
Date: Sat, 04 Jun 2005 13:10:20 +0200
Message-Id: <E1DeWXk-0003r5-LD@pegasos>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============1005518694==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: debian-cd
Severity: important
Tags: patch


Please consider applying the attached patch to debian-cd before the final
build for sarge. I have extensively tested the resulting images, and this
change has no influence anyway on all the normal install procedures. It just
allows to do :

  boot cd install/pegasos

instead of the less obvious :

  boot cd install/powerpc/vmlinuz-chrp.initrd devfs=mount,dall init=/linuxrc --

or :

  boot cd install/powerpc/vmlinuz-chrp.initrd DEBCONF_PRIORITY=low devfs=mount,dall init=/linuxrc --

to get the normal or expert installs. It also has the added benefit of
allowing to inform the user about the little description of the different
choices, pasted directly from yaboot's boot.msg file (but removing the
obviously not-needed power3/4 entries).

Again, apologies for the lateness of this report, and i hope it is not too
late.

Friendly,

Sven Luther

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-powerpc
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages debian-cd depends on:
ii  apt                       0.5.28.6       Advanced front-end for dpkg
ii  apt-utils                 0.5.28.6       APT utility programs
ii  bc                        1.06-17        The GNU bc arbitrary precision cal
ii  cpp                       4:3.3.5-3      The GNU C preprocessor (cpp)
ii  debootstrap               0.2.45-0.2     Bootstrap a basic Debian system
ii  grep-dctrl                2.1.11         Grep Debian package information
ii  lynx                      2.8.5-2        Text-mode WWW Browser
ii  make                      3.80-9         The GNU version of the "make" util
ii  mkisofs                   4:2.01+01a01-4 Creates ISO-9660 CD-ROM filesystem
ii  perl [libdigest-md5-perl] 5.8.4-8        Larry Wall's Practical Extraction 
ii  sysutils                  1.3.8.5.1      Miscellaneous small system utiliti

--===============1005518694==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="debian-cd-pegasos.diff"

--- tools/boot/sarge/boot-powerpc	17 May 2005 09:47:34 -0000
+++ tools/boot/sarge/boot-powerpc	4 Jun 2005 11:02:59 -0000
@@ -124,4 +124,13 @@
   fi
 done
 
+#
+# Copy pegasos forth script, since pegasos machines don't support yaboot yet.
+BUILD_DATE=$(date +%Y%m%d)
+cat $BASEDIR/data/sarge/pegasos/pegasos \
+ | sed "s/\${MEDIA_TYPE}/CDROM/" \
+ | sed "s/\${DEBIAN_VERSION}/${CODENAME}/g" \
+ | sed "s/\${BUILD_DATE}/${BUILD_DATE}/g" \
+ > pegasos
+
 exit 0
--- data/sarge/pegasos/pegasos	2005-06-02 03:30:48.529791136 +0200
+++ data/sarge/pegasos/pegasos	2005-06-04 12:55:48.000000000 +0200
@@ -0,0 +1,87 @@
+\ FORTH is identifed by a forth comment at first line
+\
+\ terminal control stuff
+\
+: TTY.CSI d# 27 EMIT ASCII [ EMIT ;
+: TTY.HOME    TTY.CSI ASCII H EMIT ;
+: TTY.CLR_EOS TTY.CSI ASCII J EMIT ;
+: TTY.HOME_CLR TTY.HOME TTY.CLR_EOS ;
+\
+\ boot menu stuff
+\
+: my-max-boot-num 3 ;
+: my-boot-default 1 ;
+: my-boot-delay d# 300 ; \ unit = 100 ms
+: my-print-menu ( -- )
+  TTY.HOME_CLR
+  ."  "                                    			cr
+  ." Welcome to Debian GNU/Linux ${DEBIAN_VERSION}!"		cr
+  ." "								cr
+  ." This is a Debian installation ${MEDIA_TYPE},"		cr
+  ." built on ${BUILD_DATE}."					cr
+  ." "								cr
+  ." The default option is (1) 'install'. For maximum"		cr
+  ." control, you can use the (2) 'expert' option."		cr
+  ." "								cr
+  ." ************************************"			cr
+  ." If in doubt, just choose (1) 'install'"			cr
+  ." ************************************"			cr
+  ."  "								cr
+  ." 1: install"   						cr
+  ." 2: expert"   						cr
+  ." 3: return to OF prompt"					cr
+  ."  "								cr
+;
+: my-boot-case ( num -- )
+  ."  " cr
+  case
+    1 of " cd install/powerpc/vmlinuz-chrp.initrd devfs=mount,dall init=/linuxrc --" endof
+    2 of " cd install/powerpc/vmlinuz-chrp.initrd DEBCONF_PRIORITY=low devfs=mount,dall init=/linuxrc --" endof
+    3 of " none" endof
+  endcase
+  $boot
+;
+: my-input-num ( wait-period max-boot-num default-num -- boot-num )
+  1 \ loop-inc = 1
+  3 pick 0 do
+    0d emit
+    ." press 1-"
+    ( wait-period max-boot-num default-num loop-inc )
+    2 pick ascii 0 + emit
+    dup 1 = if
+      ."  within "
+      3 pick i - d# 10 / .d
+      ."  seconds"
+    then
+    ."  (default: "
+    over ascii 0 + emit
+    ." ) :                   "
+    d# 100 ms
+    key? if
+       key
+       ( wait-period max-boot-num default-num loop-inc key )
+       dup 0d = if \ return pressed
+         drop leave
+       then
+
+       ascii 0 -
+       ( wait-period max-boot-num default-num loop-inc num )
+       dup 1 5 pick
+       ( wait-period max-boot-num default-num loop-inc num num 1 max-boot-num )
+       between if
+         rot drop swap leave
+       then
+
+       ( wait-period max-boot-num default-num loop-inc num )
+       2drop 0  \ loop-inc = 0
+    then
+  dup +loop
+  drop
+  ( wait-period max-boot-num boot-num )
+  nip nip
+;
+
+
+my-print-menu
+my-boot-delay my-max-boot-num my-boot-default my-input-num
+my-boot-case

--===============1005518694==--


---------------------------------------
Received: (at 311925-close) by bugs.debian.org; 22 Aug 2005 23:40:55 +0000
>From katie@spohr.debian.org Mon Aug 22 16:40:55 2005
Return-path: <katie@spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1E7Lls-0007KT-00; Mon, 22 Aug 2005 16:32:04 -0700
From: Steve McIntyre <93sam@debian.org>
To: 311925-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#311925: fixed in debian-cd 2.2.23
Message-Id: <E1E7Lls-0007KT-00@spohr.debian.org>
Sender: Archive Administrator <katie@spohr.debian.org>
Date: Mon, 22 Aug 2005 16:32:04 -0700
Delivered-To: 311925-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2

Source: debian-cd
Source-Version: 2.2.23

We believe that the bug you reported is fixed in the latest version of
debian-cd, which is due to be installed in the Debian FTP archive:

debian-cd_2.2.23.dsc
  to pool/main/d/debian-cd/debian-cd_2.2.23.dsc
debian-cd_2.2.23.tar.gz
  to pool/main/d/debian-cd/debian-cd_2.2.23.tar.gz
debian-cd_2.2.23_all.deb
  to pool/main/d/debian-cd/debian-cd_2.2.23_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 311925@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve McIntyre <93sam@debian.org> (supplier of updated debian-cd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 23 Aug 2005 00:02:40 +0100
Source: debian-cd
Binary: debian-cd
Architecture: source all
Version: 2.2.23
Distribution: unstable
Urgency: low
Maintainer: Debian CD Group <debian-cd@lists.debian.org>
Changed-By: Steve McIntyre <93sam@debian.org>
Description: 
 debian-cd  - Tools for building (Official) Debian CD set
Closes: 249386 311925 311925 313613 318021 320206
Changes: 
 debian-cd (2.2.23) unstable; urgency=low
 .
   * Raphael Hertzog
     - Patch from Sven Luther for pegasos support already applied
       by Steve McIntyre. Closes: #311925
   * Steve McIntyre
     - Added sed hack to make sarge appear as "stable" in the Release
       files we generate on the CDs (for the sarge release). Removed the
       hack sgain before the 2.2.23 package build.
     - Download the release notes and try to fit them onto
       CD#1. Updated sarge's README.html.in to point to them
     - Updated tools/add-bin-doc to stop warnings on this.
     - Added patch from Sven Luther to add a forth script to make
  	  ppc/pegasos easier to boot.  Closes: #311925
     - Re-add the kernel-headers packages to match kernel images (only
       on i386 and amd64). Closes: #249386
     - Made list2cds more verbose
     - Added tools/sarge/upgrade-hppa.sh and tools/sarge/upgrade-sparc.sh
       to install the upgrade-kernel bits on CD#1
     - Added tools/dedicated_source: simple script used to add extra
       source packages onto _binary_ CDs. Used for the amd64 sarge release
       so far.
     - Added patch from Frans Pop to use $CODENAME for exclusions.
       Closes: #320206
     - We no longer need to use md5sum.textutils, as dpkg no longer ships a
       non-64-clean version. We can now just use plain "md5sum".
       Closes: #313613
   * Joey Hess
     - Synced up all sarge changes to etch.
     - Use dpkg --print-architecture instead of now-deprecated
       --print-installation-architecture
     - Completed access cd-drivers transition.
     - d-i renamed syslinux.txt to boot.txt, us new name instead of
       renaming file from d-i.
     - Use isolinux config files included in the d-i debian-cd_info tarball
       so it does not need to be maintained in both places.
     - Repository moved to svn, update docs to reflect move.
     - Add hw-detect-full to exclude list for etch, renamed to disk-detect.
     - Switch mipsel to use my builds.
     - Applied s390 boot support patch by Frans Pop. Closes: #318021
     - partman udeb renamed to partman-base
   * Stephen R. Marenka
     - Changed m68k boot for etch to handle etch changes in d-i.
Files: 
 6403dbcf51b1baf564a93f1ad9c64331 652 admin extra debian-cd_2.2.23.dsc
 3e1d924df911286f21a09ebfe55883e6 632908 admin extra debian-cd_2.2.23.tar.gz
 3ebdfa7fe12ca78aa353988efa63560b 640580 admin extra debian-cd_2.2.23_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDClw2fDt5cIjHwfcRAoHlAJ9mUH16bLCiOjb6EqA2+s7u1BLUZwCfYyeD
mhEAFFijghdZQOoe0QthckM=
=L13T
-----END PGP SIGNATURE-----



Reply to: