Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Bug#445428: [sparc] GET_DISK_TYPE renamed to GET_LABEL_TYPE

From: Geert Stappers <stappers(at)stappers.nl>
Date: Sun Oct 07 2007 - 04:58:31 EDT


Op 06-10-2007 om 09:27 schreef Geert Stappers:
> Op 05-10-2007 om 20:24 schreef Geert Stappers:
> > Attached the partman log
>
> <bigsnip/>
>
> > parted_server: Closing infifo and outfifo
> > parted_server: main_loop: iteration 63
> > parted_server: Opening infifo
> > /lib/partman/check.d/05silo_check: IN: GET_DISK_TYPE =dev=hda
> > parted_server: Read command: GET_DISK_TYPE
> > parted_server: Unknown command GET_DISK_TYPE
> > parted_server: Line 2327. CRITICAL ERROR!!! EXITING.
>
> In packages/arch/sparc/silo-installer/finish.d/silo_check is
>
> | open_dialog GET_DISK_TYPE
>
> and packages/partman/partman-base/parted_server.c
> has a matching
>
> | else if (!strcasecmp(str, "GET_DISK_TYPE"))
>
> Strange ...

That was seen due a NOT up-to-date source. Doing an update did bring

| else if (!strcasecmp(str, "GET_LABEL_TYPE"))

In packages/partman/partman-base/debian/changelog is

  • Rename GET_DISK_TYPE to GET_LABEL_TYPE.

A workaround:

  • /lib/partman/check.d/05silo_check.outdated 2006-06-18 14:12:20.000000000 +0200 +++ /lib/partman/check.d/05silo_check 2007-10-07 11:02:04.000000000 +0200 @@ -76,7 +76,7 @@ { if [ "${boot_dev}" ]; then cd "${boot_dev}" - open_dialog GET_DISK_TYPE + open_dialog GET_LABEL_TYPE read_line disk_type close_dialog # parted-server tells us that disk_type is loop when opening a # raid

in the running installer.

Cheers
Geert Stappers

-- 
To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Sun Oct 7 05:16:26 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 03:01:47 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library