From: Ian Jackson Date: Sat, 7 Aug 2021 12:00:16 +0000 (+0100) Subject: uml: add entropy, fix names X-Git-Tag: hippotat/1.0.0~301 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=6c62845f5afed12c6502874ed0d0c2da3241d3db;p=hippotat.git uml: add entropy, fix names Signed-off-by: Ian Jackson --- diff --git a/Makefile b/Makefile index be5c6d8..0cf5f10 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ stamp=@mkdir -p stamp; touch $@ all: cargo-build doc -check: all rndaddtocntent-build +check: all rndaddtoentcnt-build cargo-build: stamp/cargo-build @@ -46,10 +46,10 @@ doc: docs/html/index.html docs/html/index.html: docs/conf.py $(wildcard docs/*.md docs/*.rst docs/*.png) $(SPHINXBUILD) -M html docs docs $(SPHINXOPTS) -rndaddtocntent-build: uml/rndaddtoentcnt/rndaddtoentcnt +rndaddtoentcnt-build: uml/rndaddtoentcnt/rndaddtoentcnt clean: rm -rf stamp/* doc/html $(NAILING_CARGO) clean -.PHONY: cargo-build rndaddtocntent-build all doc clean +.PHONY: cargo-build rndaddtoentcnt-build all doc clean diff --git a/uml/psusan-uml-inside b/uml/psusan-uml-inside index 24658e3..79a38c9 100755 --- a/uml/psusan-uml-inside +++ b/uml/psusan-uml-inside @@ -26,5 +26,6 @@ export HOME cd "$HOME" dd if=random-seed of=/dev/urandom +src/uml/rndaddtoentcnt/rndaddtoentcnt 4096 >&2 exec psusan diff --git a/uml/psusan-uml-setup b/uml/psusan-uml-setup index 7e9da78..c249dd2 100755 --- a/uml/psusan-uml-setup +++ b/uml/psusan-uml-setup @@ -4,6 +4,10 @@ set -e mkdir -p tmp rm -rf tmp/uml mkdir -p -m2700 tmp/uml + +ln -s "$PWD"/target tmp/uml/target +ln -s "${0%/*/*}" tmp/uml/src + dd if=/dev/urandom of=tmp/uml/random-seed bs=1k count=4 "${0%/*}"/psusan-uml-run -proxycmd "${0%/*}"/psusan-uml-psusan -N -v -v