From 63908372e264384d5d0cd5f76bbecb604c58ce03 Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Fri, 15 Apr 2016 13:21:50 +0100 Subject: [PATCH] license: extract hvtools/llmnrd source code from the initrd Also add modified chronyd init script Signed-off-by: Rolf Neugebauer --- licensing/Makefile | 2 +- licensing/README.md | 2 +- licensing/license.sh | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/licensing/Makefile b/licensing/Makefile index b360691de..1fdf97865 100644 --- a/licensing/Makefile +++ b/licensing/Makefile @@ -6,7 +6,7 @@ license: packages.lua Dockerfile license.sh run: license rm -rf output - docker run -it -v /etc:/hostetc -v /lib:/lib -v $(PWD)/output:/output license + docker run -it -v /etc:/hostetc -v /usr:/hostusr -v /lib:/lib -v $(PWD)/output:/output license clean: rm -rf output diff --git a/licensing/README.md b/licensing/README.md index a422939ba..644e68ba4 100644 --- a/licensing/README.md +++ b/licensing/README.md @@ -5,5 +5,5 @@ kernel and packages ``` docker build -t license . -docker run -it -v /etc:/hostetc -v /lib:/lib -v $PWD/output:/output license +docker run -it -v /etc:/hostetc -v /usr/:/hostusr -v /lib:/lib -v $PWD/output:/output license ``` diff --git a/licensing/license.sh b/licensing/license.sh index b6661289e..1d664f48a 100755 --- a/licensing/license.sh +++ b/licensing/license.sh @@ -82,4 +82,7 @@ cd /output/aufs-util git checkout "$AUFS_TOOLS_COMMIT" rm -rf .git +cp /hostusr/share/src/* /output +cp /hostetc/init.d/chronyd /output + printf "All source code now in output/ directory\n"