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

Bug#445428: [sparc] GET_DISK_TYPE renamed to GET_LABEL_TYPE



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




Reply to: