From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.77) (envelope-from ) id 1SnzaG-0003tv-EJ for garchives@archives.gentoo.org; Sun, 08 Jul 2012 22:04:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7CE57E05F1; Sun, 8 Jul 2012 22:03:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4F946E05F1 for ; Sun, 8 Jul 2012 22:03:27 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B3AF51B4017 for ; Sun, 8 Jul 2012 22:03:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 63412E543E for ; Sun, 8 Jul 2012 22:03:24 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1341784902.15a33f3d28d9efa512b736853046224d7d2701d3.sping@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: ChangeLog gen_initramfs.sh X-VCS-Directories: / X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 15a33f3d28d9efa512b736853046224d7d2701d3 X-VCS-Branch: master Date: Sun, 8 Jul 2012 22:03:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: d6c28ab7-4a20-481b-888d-b80e3c821fa5 X-Archives-Hash: 4295faee2e2364ddef71c906d451c709 commit: 15a33f3d28d9efa512b736853046224d7d2701d3 Author: Sebastian Pipping pipping org> AuthorDate: Sun Jul 8 21:42:32 2012 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sun Jul 8 22:01:42 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/genkernel.git= ;a=3Dcommit;h=3D15a33f3d Catch case with no initramfs compression supported by kernel (bug #423847= ) --- ChangeLog | 4 ++++ gen_initramfs.sh | 1 + 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3950fa6..2469de6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,10 @@ =20 08 Jul 2012; Sebastian Pipping gen_configkernel.sh, gen_initramfs.sh: + Catch case with no initramfs compression supported by kernel (bug #423= 847) + + 08 Jul 2012; Sebastian Pipping gen_configkernel.sh, + gen_initramfs.sh: Fix detection of initramfs compression with bzip2 as best candidate =20 08 Jul 2012; Sebastian Pipping arch/x86/modules_loa= d, diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 6769063..43ef155 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -790,6 +790,7 @@ create_initramfs() { [[ ${COMPRESS_INITRD_TYPE} =3D=3D best ]] && break fi done + [[ -z "${compression}" ]] && gen_die "None of the initramfs we trie= d are supported by your kernel (config file \"${KERNEL_CONFIG}\"), strang= e!?" ;; *) gen_die "Compression '${COMPRESS_INITRD_TYPE}' unknown"