fix(coreos-base/coreos-base): mawk provides awk on target images

Link awk to mawk and block gawk for target builds to avoid conflicts.
This commit is contained in:
Michael Marineau 2013-05-31 10:31:44 -04:00
parent 988458fb3b
commit f1a91f343e
2 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ DEPEND="sys-apps/baselayout
!<net-misc/openssh-5.2_p1-r8 !<net-misc/openssh-5.2_p1-r8
!cros_host? ( !cros_host? (
sys-libs/timezone-data sys-libs/timezone-data
!sys-apps/gawk
)" )"
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
@ -126,7 +127,7 @@ src_install() {
dosym /var/lib/timezone/localtime /etc/localtime || die dosym /var/lib/timezone/localtime /etc/localtime || die
# We use mawk in the target boards, not gawk. # We use mawk in the target boards, not gawk.
#dosym mawk /usr/bin/awk || die dosym mawk /usr/bin/awk || die
# We want dash as our main shell. # We want dash as our main shell.
#dosym dash /bin/sh #dosym dash /bin/sh