Skip to content

Commit fba5f2f

Browse files
committed
Firecracker's devtool shouldn't wait the user's response
Asking "Continue? (y/n)" doesn't work under CI environments. Signed-off-by: Kazuyoshi Kato <[email protected]>
1 parent c88a6d9 commit fba5f2f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,20 +336,20 @@ $(FIRECRACKER_DIR)/Cargo.toml:
336336

337337
$(FIRECRACKER_BIN): $(FIRECRACKER_DIR)/Cargo.toml
338338
$(FIRECRACKER_DIR)/tools/devtool -y build --release && \
339-
$(FIRECRACKER_DIR)/tools/devtool strip
339+
$(FIRECRACKER_DIR)/tools/devtool -y strip
340340
cp $(FIRECRACKER_DIR)/build/cargo_target/$(FIRECRACKER_TARGET)/release/firecracker $@
341341

342342
.PHONY: firecracker-clean
343343
firecracker-clean:
344-
- $(FIRECRACKER_DIR)/tools/devtool distclean
344+
- $(FIRECRACKER_DIR)/tools/devtool -y distclean
345345
- rm $(FIRECRACKER_BIN)
346346
- rm $(KERNEL_BIN)
347347

348348
.PHONY: kernel
349349
kernel: $(KERNEL_BIN)
350350

351351
$(KERNEL_BIN): $(KERNEL_CONFIG)
352-
$(FIRECRACKER_DIR)/tools/devtool build_kernel --config $(KERNEL_CONFIG)
352+
$(FIRECRACKER_DIR)/tools/devtool -y build_kernel --config $(KERNEL_CONFIG)
353353

354354
.PHONY: install-kernel
355355
install-kernel: $(KERNEL_BIN)

0 commit comments

Comments
 (0)