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

Bug#722711: iso-scan: Second pass will never happen when the first one didn't found at least one valid iso.



Package: iso-scan
Version: 1.43
Severity: important
Tags: patch

I used my usb key to install debian jessie using hd-media. Due to the fact that
I'm using the usb key also for other distrib, I put my iso file (Debian 7.1.0
netinst amd64) into a special subdirectory ( /multiboot/isos/debian/). After
many tests, it appears that if one valid iso is found during the 1st pass, the
prompt will show you the iso for selection and offer you the choice to start
the 2nd pass ("Full search" option). The problem is if no valid iso is found
during the 1st pass. The prompt will ask you about running the 2nd pass but
even if you answer yes, it will run the 1st pass again.

So I modified iso-scan to start the 2nd pass when you answer yes to the 2nd
pass (seems logic :-) ).

Patch:

--- iso-scan.postinst.orig      2013-09-13 16:40:15.724121000 +0200
+++ iso-scan.postinst   2013-09-13 16:38:57.300441000 +0200
@@ -408,7 +408,7 @@
                if [ "$RET" = false ]; then
                        exit 1
                fi
-               STATE=10
+               STATE=29
                continue
                ;;



-- System Information:
Debian Release: jessie/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/8 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages iso-scan depends on:
pn  cdebconf-udeb  <none>
pn  di-utils       <none>
pn  hw-detect      <none>
pn  loop-modules   <none>

iso-scan recommends no packages.

iso-scan suggests no packages.


Reply to: