Makefile: update rtr7-recover invocation
based on what I last used successfully
This commit is contained in:
parent
7cda93aeb3
commit
7bc59a8b27
11
Makefile
11
Makefile
@ -1,4 +1,4 @@
|
|||||||
SUDO=GOPATH=$(shell go env GOPATH) sudo --preserve-env=GOPATH
|
SUDO=GOPATH=$(shell go env GOPATH) sudo --preserve-env=GOPATH --preserve-env=PATH --preserve-env=HOME
|
||||||
|
|
||||||
PKGS := github.com/gokrazy/breakglass \
|
PKGS := github.com/gokrazy/breakglass \
|
||||||
github.com/gokrazy/timestamps \
|
github.com/gokrazy/timestamps \
|
||||||
@ -46,9 +46,12 @@ recover: #test
|
|||||||
-serial_console=ttyS0,115200n8 \
|
-serial_console=ttyS0,115200n8 \
|
||||||
-hostname=router7 \
|
-hostname=router7 \
|
||||||
${PKGS}
|
${PKGS}
|
||||||
${SUDO} /home/michael/go/bin/rtr7-recover \
|
${SUDO} $(which rtr7-recover) \
|
||||||
-boot=/tmp/recovery/boot.img \
|
--boot /tmp/recovery/boot.img \
|
||||||
-root=/tmp/recovery/root.img
|
--root /tmp/recovery/root.img \
|
||||||
|
--mbr /tmp/recovery/mbr.img \
|
||||||
|
--hostname router7 \
|
||||||
|
--interface enp0s31f6
|
||||||
|
|
||||||
test:
|
test:
|
||||||
# simulate recover (quick, for early for feedback)
|
# simulate recover (quick, for early for feedback)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user