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"