mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-27 04:28:20 +00:00
Merge pull request #659 from justincormack/hyperkit-tweak
improve hyperkit build to do sudo in the right place
This commit is contained in:
commit
928d9197ee
6
Makefile
6
Makefile
@ -23,9 +23,11 @@ qemu-iso: Dockerfile.qemuiso alpine/mobylinux-bios.iso
|
|||||||
hyperkit.git:
|
hyperkit.git:
|
||||||
git clone https://github.com/docker/hyperkit.git hyperkit.git
|
git clone https://github.com/docker/hyperkit.git hyperkit.git
|
||||||
|
|
||||||
hyperkit: hyperkit.git hyperkit.sh alpine/initrd.img alpine/kernel/x86_64/vmlinuz64
|
hyperkit.git/build/com.docker.hyperkit: hyperkit.git
|
||||||
cd hyperkit.git && make
|
cd hyperkit.git && make
|
||||||
sh hyperkit.sh
|
|
||||||
|
hyperkit: hyperkit.sh hyperkit.git/build/com.docker.hyperkit alpine/initrd.img alpine/kernel/x86_64/vmlinuz64
|
||||||
|
sudo ./hyperkit.sh
|
||||||
|
|
||||||
test: Dockerfile.test alpine/initrd.img alpine/kernel/x86_64/vmlinuz64
|
test: Dockerfile.test alpine/initrd.img alpine/kernel/x86_64/vmlinuz64
|
||||||
$(MAKE) -C alpine
|
$(MAKE) -C alpine
|
||||||
|
Loading…
Reference in New Issue
Block a user