-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I tried to build the image and take the measurements on my macOS today.
macOS version: Tahoe 26.0.1
Lima version: 2.0.1 (recent)
Here are two errors that I encountered and the solution, but I am glad that I eventually fixed them and got the measurement.
- Lima has a fatal error mounts[0].location must be an absolute path, found "."
This seems to be due to
mounts:
- location: "." # cwd of `limactl start` command"I fixed it by replacing the location with the pwd of the root directory of this repository.
- "make build" may fail in "/work/finalize" due to "PROFILES" not set
Note that debloat.sh will check "$PROFILES". If this variable is not present, it may fail. This is related to a recent commit @c5eec3efed85f4546b34417ac6794037db99491d
if [[ ! "$PROFILES" == *"devtools"* ]]; then
debloat_paths+=(
"/usr/share/bash-completion"
)
fiI fixed it by using "make build-dev" because it would supply "--profile=devtools" so at least this variable is not empty. But I think maybe the Makefile should supply something for "make build"
Metadata
Metadata
Assignees
Labels
No labels