Bug#836679: flash-kernel: cannot configure kernel 4.7 with new flash-kernel

2017-01-02 Thread Ian Campbell
On Sun, 2017-01-01 at 12:40 -0800, Martin Michlmayr wrote: > I investigated a bit more and > found > out that it relates to the use of "local".  See e.g. > http://superuser.com/questions/363444/how-do-i-get-the-output-and-exi > t-value-of-a-subshell-when-using-bash-e/1103711#1103711 > for an explan

Bug#836679: flash-kernel: cannot configure kernel 4.7 with new flash-kernel

2017-01-01 Thread Martin Michlmayr
* Ian Campbell [2016-12-23 00:23]: > IIRC "set -e" doesn't propagate to subshells with Bash, my > understanding of this is from http://xenbits.xen.org/gitweb/?p=osstest. > git;a=commit;h=6ffbf6eee57d0e4a7f1a669a66dc1a0ae1f7d8d6 > > But flash-kernel uses /bin/sh which these days ought to be dash n

Bug#836679: flash-kernel: cannot configure kernel 4.7 with new flash-kernel

2016-12-22 Thread Ian Campbell
On Sat, 2016-12-17 at 14:09 -0800, Martin Michlmayr wrote: > It seems the exit called from find_dtb_file() doesn't exit the whole > program.  I know this is normal because it's called in a subshell, > but > flash-kernel itself does a "set -e" so I thought any exit should > trigger the whole script

Bug#836679: flash-kernel: cannot configure kernel 4.7 with new flash-kernel

2016-12-17 Thread Martin Michlmayr
* Ian Campbell [2016-10-01 08:29]: > > Looking at the code, all uses of find_dtb_file() check for the result > > and produce an error if the file doesn't exist, so maybe we should > > just move the error messages into find_dtb_file().  Then we could > > tell > > the user where we were looking. > >

Bug#836679: flash-kernel: cannot configure kernel 4.7 with new flash-kernel

2016-10-01 Thread Ian Campbell
On Fri, 2016-09-30 at 11:21 -0700, Martin Michlmayr wrote: > Looking at the code, all uses of find_dtb_file() check for the result > and produce an error if the file doesn't exist, so maybe we should > just move the error messages into find_dtb_file().  Then we could > tell > the user where we were

Bug#836679: flash-kernel: cannot configure kernel 4.7 with new flash-kernel

2016-09-30 Thread Martin Michlmayr
* Dominique Dumont [2016-09-15 08:06]: > I guess that the intent is to let user know the the right DTB for his board > is > sun7i-a20-olinuxino-lime.dtb but this file cannot be found in the expected > location (which is I guess /boot). No, it's usually found under /usr/lib/linux-image-$kvers

Bug#836679: flash-kernel: cannot configure kernel 4.7 with new flash-kernel

2016-09-14 Thread Dominique Dumont
On Wednesday, 14 September 2016 15:39:53 CEST you wrote: > I can change it to: > Couldn't find sun7i-a20-olinuxino-lime.dtb > Does this work? All in all, user would see: # flash-kernel DTB: sun7i-a20-olinuxino-lime.dtb Couldn't find sun7i-a20-olinuxino-lime.dtb I guess that the intent is to

Bug#836679: flash-kernel: cannot configure kernel 4.7 with new flash-kernel

2016-09-14 Thread Martin Michlmayr
* Dominique Dumont [2016-09-05 09:42]: > On the other hand the error message returned by flash-kernel could be > improved. > > When the dtb is missing, flash-kernel shows: > > # flash-kernel > DTB: sun7i-a20-olinuxino-lime.dtb > Couldn't find > > Reading that, I thought that the dtb file was

Bug#836679: flash-kernel: cannot configure kernel 4.7 with new flash-kernel

2016-09-05 Thread Dominique Dumont
On Sunday, September 4, 2016 12:34:03 PM CEST you wrote: > Maybe the real bug is that the signed package doesn't contain the > DTBs. Indeed. This issue has also been reported in #836255. On the other hand the error message returned by flash-kernel could be improved. When the dtb is missing, fl

Bug#836679: flash-kernel: cannot configure kernel 4.7 with new flash-kernel

2016-09-04 Thread Ben Hutchings
Control: reassign -1 src:linux-signed 2 Control: retitle -1 DTBs are not included in signed kernel packages Control: forcemerge 836255 -1 On Sun, 2016-09-04 at 12:34 -0700, Martin Michlmayr wrote: > * Dominique Dumont [2016-09-04 21:16]: > > > > On the other there's no dtb file in linux-image-4.

Bug#836679: flash-kernel: cannot configure kernel 4.7 with new flash-kernel

2016-09-04 Thread Martin Michlmayr
* Dominique Dumont [2016-09-04 21:16]: > On the other there's no dtb file in linux-image-4.7.0-1-armmp-lpae ... > $ dpkg --listfiles linux-image-4.7.0-1-armmp-lpae | grep dtb > [ nothing ] > > Did I miss something ? Maybe the real bug is that the signed package doesn't contain the DTBs. -- Mar

Bug#836679: flash-kernel: cannot configure kernel 4.7 with new flash-kernel

2016-09-04 Thread Dominique Dumont
On the other there's no dtb file in linux-image-4.7.0-1-armmp-lpae ... $ dpkg --listfiles linux-image-4.7.0-1-armmp-lpae | grep dtb [ nothing ] Did I miss something ? -- https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/ http://ddumont.wordpress.com/ -o- irc: dod at irc.debi

Bug#836679: flash-kernel: cannot configure kernel 4.7 with new flash-kernel

2016-09-04 Thread Dominique
Package: flash-kernel Version: 3.68 Severity: important Dear Maintainer, I cannot install latest kernel on my OlinuXino card: # dpkg --configure linux-image-4.7.0-1-armmp-lpae dpkg: dependency problems prevent configuration of linux-image-4.7.0-1-armmp-lpae: linux-image-4.7.0-1-armmp-lpae depen