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

Bug#762907: base-installer: Kernel version selection does not exclucde -dbg packages



Source: base-installer
Severity: normal

Dear Maintainer,

I got asked this while working on the arm64 installer:
	Install the base system
	-----------------------

	The list shows the available kernels. Please choose one of them in order to 
	make the system bootable from the hard drive.
	Kernel to install:
	  1: linux-image-3.14-2-arm64 [*],      3: none,    
	  2: linux-image-3.14-2-arm64-dbg,    
	Prompt: '?' for help, default=1> 

And adding a simple case to the test suite shows the issue for amd64 too, I
suspect all arches have this issue:

	diff --git a/kernel/tests/amd64/cittagazze.test b/kernel/tests/amd64/cittagazze.test
	index c45d9fc..90d8780 100644
	--- a/kernel/tests/amd64/cittagazze.test
	+++ b/kernel/tests/amd64/cittagazze.test
	@@ -6,3 +6,5 @@ kernel-2.6 \
	 usable \
	   linux-image-amd64 \
	   linux-image-2.6.18-4-amd64
	+unusable \
	+  linux-image-2.6.18-4-amd64-dbg
	diff --git a/kernel/tests/arm64/mustang.test b/kernel/tests/arm64/mustang.test
	index 330f259..80ab19f 100644
	--- a/kernel/tests/arm64/mustang.test
	+++ b/kernel/tests/arm64/mustang.test
	@@ -8,3 +8,5 @@ kernel-3.10 \
	 usable \
	   linux-image-arm64 \
	   linux-image-3.14-1-arm64
	+unusable \
	+  linux-image-3.14-1-arm64-dbg

Leading to:
	$ ./runtests amd64
	FAIL amd64/cittagazze.test arch_check_usable_kernel 2.6 linux-image-2.6.18-4-amd64-dbg should be unusable
	amd64: 8 passes, 1 failures.

It seems this has been the case since -dbg packages were introduced (at least
Wheezy if not sooner) so this apparently isn't causing issues in the real world
(not sure why arm64 asked me that question...), so not a huge worry I don't
think but filing so it doesn't get lost.

Ian.
-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
armhf
armel

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash


Reply to: