From cbad7151f174fb5fb88aa8d062362e66dc34b5c3 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Tue, 22 Oct 2024 16:32:52 +0000 Subject: [PATCH] demos/helloworld: fix S and UNPACKDIR Adapt the demonstration helloworld appliication to fix a warning about UNPACKDIR not being correct. Signed-off-by: Bruce Ashfield --- recipes-demo/helloworld-flask/helloworld-flask_0.1.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-demo/helloworld-flask/helloworld-flask_0.1.bb b/recipes-demo/helloworld-flask/helloworld-flask_0.1.bb index 3f5507b3..043ccc52 100644 --- a/recipes-demo/helloworld-flask/helloworld-flask_0.1.bb +++ b/recipes-demo/helloworld-flask/helloworld-flask_0.1.bb @@ -16,6 +16,9 @@ CONTAINERIMAGE ?= "zeddii/app-container:latest" CONTAINERPORT ?= "9000" EXTERNALPORT ?= "10000" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" + do_install() { for tgt in flask-app.yaml flask-app-service.yaml; do