Skip to content

Commit

Permalink
make sure parent malcolm directory is mounted by fakemachine
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Jan 18, 2024
1 parent 1a35109 commit 6576fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sensor-raspi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ifeq ($(shell id -u),0)
as_root =
else ifneq (, $(shell which fakemachine))
$(warning "This should normally be run as root, but found 'fakemachine', so using that.")
as_root = fakemachine -v $(CURDIR) -- env --chdir $(CURDIR)
as_root = fakemachine -v $(abspath $(CURDIR)/..) -- env --chdir $(abspath $(CURDIR))
else
$(error "This must be run as root")
endif
Expand Down

0 comments on commit 6576fbf

Please sign in to comment.