common: print cd pdw on paths

print only modified variables on PATH

use common.run_cmd everywhere to get full bash bash commands

readme: recommend private/ instead of the cryptic p/
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-09-27 00:00:00 +00:00
parent 21a7a1ffa8
commit 75a555daa8
6 changed files with 41 additions and 27 deletions

View File

@@ -10679,18 +10679,18 @@ Next, when you want to build with this repository, use the `--gem5-src` argument
....
cd linux-kernel-module-cheat
./build-gem5 \
--gem5-build-id p/master \
--gem5-build-id private/master \
--gem5-src "$gem5_internal" \
--gem5-worktree p/master \
--gem5-worktree private/master \
;
./run-gem5
--gem5-build-id p/master \
--gem5-build-id private/master \
--gem5-src "$gem5_internal" \
--gem5-worktree p/master \
--gem5-worktree private/master \
;
....
`p` stands for Private, and is not mandatory, but it is a sane default that will remind you at all times that you are dealing with private code instead of public.
`private` is not mandatory, but it is a sane default that will remind you at all times that you are dealing with private code instead of public.
This setup only creates gitignored worktrees of the private repository inside this repository, which is pretty safe, while still allowing fully use our infrastructure as usual.