Skip to content

Commit

Permalink
fixup! wrong Makefile dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
hoh committed Jun 13, 2024
1 parent b66c4e9 commit 2ab3d25
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "packaging/sevctl"]
path = packaging/sevctl
url = https://github.com/virtee/sevctl
7 changes: 4 additions & 3 deletions packaging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ debian-package-code:
pip3 install --target ./aleph-vm/opt/aleph-vm/ 'aleph-message==0.4.4' 'eth-account==0.10' 'sentry-sdk==1.31.0' 'qmp==1.1.0' 'superfluid==0.2.1' 'sqlalchemy[asyncio]>=2.0' 'aiosqlite==0.19.0' 'alembic==1.13.1' 'aiohttp_cors==0.7.0' 'pyroute2==0.7.12'
python3 -m compileall ./aleph-vm/opt/aleph-vm/

debian-package-resources: firecracker-bins vmlinux download-ipfs-kubo sevctl
debian-package-resources: firecracker-bins vmlinux download-ipfs-kubo target/sevctl
rm -fr ./aleph-vm/opt/firecracker
mkdir -p ./aleph-vm/opt/firecracker
cp -pr ./target/vmlinux.bin ./aleph-vm/opt/firecracker/
Expand Down Expand Up @@ -46,9 +46,9 @@ download-ipfs-kubo: target-dir build-dir
mkdir -p ./target/kubo
curl -fsSL https://github.com/ipfs/kubo/releases/download/v0.23.0/kubo_v0.23.0_linux-amd64.tar.gz | tar -xz --directory ./target/kubo

sevctl:
target/sevctl:
cd ./sevctl && cargo build --release --target x86_64-unknown-linux-gnu
./sevctl/target/x86_64-unknown-linux-gnu/release/sevctl ok
./sevctl/target/x86_64-unknown-linux-gnu/release/sevctl -V
cp ./sevctl/target/x86_64-unknown-linux-gnu/release/sevctl ./target/sevctl

sevctl-podman:
Expand All @@ -73,6 +73,7 @@ clean:
rm -fr ./target/*
rm -fr ./build/*
rm -fr ./aleph-vm/opt/aleph-vm/
rm -fr ./sevctl/target/

all-podman-debian-11: version
cd .. && podman build -t localhost/aleph-vm-packaging-debian-11:latest -f ./packaging/debian-11.dockerfile .
Expand Down
1 change: 1 addition & 0 deletions packaging/sevctl
Submodule sevctl added at 1e53a5

0 comments on commit 2ab3d25

Please sign in to comment.