Make the Dockerfile autodetect which shim arch we are working on
authorTollef Fog Heen <tfheen@err.no>
Wed, 6 Mar 2019 20:03:36 +0000 (21:03 +0100)
committerTollef Fog Heen <tfheen@err.no>
Wed, 6 Mar 2019 20:03:36 +0000 (21:03 +0100)
Dockerfile

index 8186532..b6edaf0 100644 (file)
@@ -9,6 +9,6 @@ RUN git clone https://salsa.debian.org/vorlon/shim.git
 WORKDIR /shim
 RUN gbp buildpackage -us -uc
 WORKDIR /
-RUN hexdump -Cv /shim-review/shimx64.efi > orig
-RUN hexdump -Cv /shim/shimx64.efi > build
+RUN hexdump -Cv /shim/shim*.efi > build
+RUN hexdump -Cv /shim-review/$(basename /shim/shim*.efi) > orig
 RUN diff -u orig build