mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-27 12:38:11 +00:00
license: extract hvtools/llmnrd source code from the initrd
Also add modified chronyd init script Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
14677a220f
commit
63908372e2
@ -6,7 +6,7 @@ license: packages.lua Dockerfile license.sh
|
|||||||
|
|
||||||
run: license
|
run: license
|
||||||
rm -rf output
|
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:
|
clean:
|
||||||
rm -rf output
|
rm -rf output
|
||||||
|
@ -5,5 +5,5 @@ kernel and packages
|
|||||||
|
|
||||||
```
|
```
|
||||||
docker build -t license .
|
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
|
||||||
```
|
```
|
||||||
|
@ -82,4 +82,7 @@ cd /output/aufs-util
|
|||||||
git checkout "$AUFS_TOOLS_COMMIT"
|
git checkout "$AUFS_TOOLS_COMMIT"
|
||||||
rm -rf .git
|
rm -rf .git
|
||||||
|
|
||||||
|
cp /hostusr/share/src/* /output
|
||||||
|
cp /hostetc/init.d/chronyd /output
|
||||||
|
|
||||||
printf "All source code now in output/ directory\n"
|
printf "All source code now in output/ directory\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user