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.60) (envelope-from ) id 1S8iQe-0004rH-DY for garchives@archives.gentoo.org; Sat, 17 Mar 2012 01:27:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A0D6E0BEA; Sat, 17 Mar 2012 01:27:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0CFDDE0BEA for ; Sat, 17 Mar 2012 01:27:22 +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 2312A1B400B for ; Sat, 17 Mar 2012 01:27:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 22808E5402 for ; Sat, 17 Mar 2012 01:27:20 +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: <1331924915.38205c74b4bcf1cfd37037f72b89b3d0cdd750c0.sping@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: /, defaults/ X-VCS-Repository: proj/genkernel X-VCS-Files: ChangeLog defaults/initrd.scripts X-VCS-Directories: / defaults/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 38205c74b4bcf1cfd37037f72b89b3d0cdd750c0 X-VCS-Branch: master Date: Sat, 17 Mar 2012 01:27:20 +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: 8b28e6e3-52a9-445e-9945-fae69d32e619 X-Archives-Hash: 8a4256da021a87259231483204ed5afe commit: 38205c74b4bcf1cfd37037f72b89b3d0cdd750c0 Author: Sebastian Pipping pipping org> AuthorDate: Fri Mar 16 19:08:25 2012 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Fri Mar 16 19:08:35 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/genkernel.git= ;a=3Dcommit;h=3D38205c74 No longer use parameter "-r" (for regex intervals) that busybox awk does = not support Error was: awk: invalid option -- r Note: regex intervals are supported by default so we can just omit "-r" h= ere --- ChangeLog | 4 ++++ defaults/initrd.scripts | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9e92448..55f5569 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ # Distributed under the GPL v2 # $Id$ =20 + 16 Mar 2012; Sebastian Pipping defaults/initrd.scri= pts: + No longer use parameter "-r" (for regex intervals) that busybox awk do= es not + support + 10 Mar 2012; Robin H. Johnson genkernel: Bump version for release. =20 diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index 16e1d0d..0e1e5f9 100755 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -149,7 +149,7 @@ devicelist(){ DEVICES=3D"$DEVICES /dev/mmcblk* /dev/mmcblk*/*" # fallback scanning, this might scan something twice, but it's better t= han # failing to boot. - [ -e /proc/partitions ] && DEVICES=3D"${DEVICES} $(awk -r '/([0-9]+[[:s= pace:]]+)/{print "/dev/" $4}' /proc/partitions)" + [ -e /proc/partitions ] && DEVICES=3D"${DEVICES} $(awk '/([0-9]+[[:spac= e:]]+)/{print "/dev/" $4}' /proc/partitions)" echo ${DEVICES} } =20