Skip to content

Commit ec32e68

Browse files
committed
cmd/lima: drop dependency on GNU coreutils
Signed-off-by: Akihiro Suda <[email protected]>
1 parent 41fd9cc commit ec32e68

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ For the usage of containerd and nerdctl (contaiNERD ctl), visit https://github.c
7575

7676
## Getting started
7777
### Requirements (Intel Mac)
78-
- coreutils (for `realpath` command) (`brew install coreutils`)
7978
- QEMU (`brew install qemu`)
8079

8180
- Run the following commands to enable `--accel=hvf`:
@@ -105,7 +104,6 @@ Note: **Only** on macOS versions **before** 10.15.7 you might need to add this e
105104

106105
### Requirements (ARM Mac)
107106

108-
- coreutils (for `realpath` command) (`brew install coreutils`)
109107
- QEMU with `--accel=hvf` support, see https://gist.github.com/citruz/9896cd6fb63288ac95f81716756cb9aa
110108

111109
> **NOTE**

cmd/lima

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
#!/bin/sh
22
set -eu
33
: "${LIMA_INSTANCE:=default}"
4-
LIMA="$(realpath "$0")"
5-
LIMA_BINDIR="$(dirname "$LIMA")"
6-
LIMACTL="${LIMA_BINDIR}/limactl"
7-
if [ -d "$LIMACTL" ]; then
8-
LIMACTL="limactl"
9-
fi
4+
: "${LIMACTL:=limactl}"
105
exec "$LIMACTL" shell "$LIMA_INSTANCE" "$@"

0 commit comments

Comments
 (0)