Error was:
awk: invalid option -- r
Note: regex intervals are supported by default so we can just omit "-r" here
# Distributed under the GPL v2
# $Id$
+ 16 Mar 2012; Sebastian Pipping <sping@gentoo.org> defaults/initrd.scripts:
+ No longer use parameter "-r" (for regex intervals) that busybox awk does not
+ support
+
10 Mar 2012; Robin H. Johnson <robbat2@gentoo.org> genkernel:
Bump version for release.
DEVICES="$DEVICES /dev/mmcblk* /dev/mmcblk*/*"
# fallback scanning, this might scan something twice, but it's better than
# failing to boot.
- [ -e /proc/partitions ] && DEVICES="${DEVICES} $(awk -r '/([0-9]+[[:space:]]+)/{print "/dev/" $4}' /proc/partitions)"
+ [ -e /proc/partitions ] && DEVICES="${DEVICES} $(awk '/([0-9]+[[:space:]]+)/{print "/dev/" $4}' /proc/partitions)"
echo ${DEVICES}
}