mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-23 07:24:24 +01:00
osbuilder: Update api-server-rest
- Switch api-server-rest to use the Makefile rather than directly calling cargo for multi-platform support and decoupling Fixes: #7947 Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
@@ -709,8 +709,8 @@ EOF
|
||||
popd
|
||||
|
||||
pushd guest-components/api-server-rest
|
||||
cargo build --release --target-dir ./target
|
||||
install -D -m0755 ./target/release/api-server-rest ${ROOTFS_DIR}/usr/local/bin/
|
||||
make
|
||||
make install DESTDIR="${ROOTFS_DIR}/usr/local/bin/"
|
||||
popd
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user