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

Bug#874014: marked as done (base-installer: Please use common kernel for all subarchitectures on m68k)



Your message dated Sat, 15 Dec 2018 12:12:44 +0100
with message-id <dd4429cd-3a8f-6c19-c797-8f1637b83ed3@physik.fu-berlin.de>
and subject line Re: Bug#874014: base-installer: Please use common kernel for all subarchitectures on m68k
has caused the Debian Bug report #874014,
regarding base-installer: Please use common kernel for all subarchitectures on m68k
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
874014: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874014
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: base-installer
Version: 1.171
Severity: normal
Tags: patch
User: debian-68k@lists.debian.org
Usertags: m68k

Hello!

base-installer currently fails to find a suitable kernel on any
m68k system during install because it tries to install different
kernels depending on the subarchitecture.

Since we have just a common kernel for m68k these days, this
mechanism no longer works and the kernel installation fails.

With the attached patch, the kernel/m68k.sh script has been modified
to use a common kernel on m68k. The corresponding test in kernel/tests/
m68k has been updated as well.

Please consider applying the patch for the next upload.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>From 1e8a67960b0a64f75a13a91159c8483fcc8dd144 Mon Sep 17 00:00:00 2001
From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Date: Sat, 2 Sep 2017 00:13:40 +0200
Subject: [PATCH] m68k: Use common kernel for all subarchitectures

Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
---
 kernel/m68k.sh               | 29 +++++++++++------------------
 kernel/tests/m68k/crest.test | 17 +++++------------
 2 files changed, 16 insertions(+), 30 deletions(-)

diff --git a/kernel/m68k.sh b/kernel/m68k.sh
index f9403612..c42eafa3 100644
--- a/kernel/m68k.sh
+++ b/kernel/m68k.sh
@@ -1,29 +1,22 @@
 arch_get_kernel_flavour () {
-	case "$SUBARCH" in
-	    amiga|atari|mac|bvme6000|mvme147|mvme16x|q40|sun3|sun3x)
-		echo "$SUBARCH"
+	echo m68k
+}
+
+arch_check_usable_kernel () {
+	case "$1" in
+	    *-dbg)
+		return 1
+		;;
+	    *-m68k | *-m68k-*)
+		# Allow any other hyphenated suffix
 		return 0
 		;;
 	    *)
-		warning "Unknown $ARCH subarchitecture '$SUBARCH'."
 		return 1
 		;;
 	esac
 }
 
-arch_check_usable_kernel () {
-	# Subarchitecture must match exactly
-	if echo "$1" | grep -Eq -- "-$2(-.*)?$"; then return 0; fi
-	return 1
-}
-
 arch_get_kernel () {
-	case "$KERNEL_MAJOR" in
-	    2.6|3.*|4.*)
-		echo "linux-image-$1"
-		;;
-	    *)
-		warning "Unsupported kernel major '$KERNEL_MAJOR'."
-		;;
-	esac
+	echo "linux-image-m68k"
 }
diff --git a/kernel/tests/m68k/crest.test b/kernel/tests/m68k/crest.test
index ad4dfd0b..1383e497 100644
--- a/kernel/tests/m68k/crest.test
+++ b/kernel/tests/m68k/crest.test
@@ -1,16 +1,9 @@
-subarch amiga
 cpuinfo crest.cpuinfo
 majors 2.6
-flavour amiga
-kernel-2.6 linux-image-amiga
+flavour m68k
+kernel-2.6 \
+  linux-image-m68k
 usable \
-  linux-image-amiga
+  linux-image-m68k
 unusable \
-  linux-image-atari \
-  linux-image-bvme6000 \
-  linux-image-hp \
-  linux-image-mac \
-  linux-image-mvme147 \
-  linux-image-mvme16x \
-  linux-image-q40 \
-  linux-image-sun3
+  linux-image-m68k-dbg
-- 
2.14.1


--- End Message ---
--- Begin Message ---
For some reason, this bug wasn't closed automatically, despite the changelog entry:

base-installer (1.172) unstable; urgency=medium

  [ John Paul Adrian Glaubitz ]
  * m68k: Use common kernel for all subarchitectures (Closes: #874014).
  * ppc64: Add initial kernel support for ppc64 (Closes: #874353).

 -- Christian Perrier <bubulle@debian.org>  Thu, 07 Sep 2017 14:10:52 +0200

Closing.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

--- End Message ---

Reply to: