From d01e5166af4c2dd0b36e9dd9e5cddea7eb942796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Tue, 2 May 2017 12:37:11 +0200 Subject: [PATCH 1/6] Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Šabata --- shim.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 shim.yaml diff --git a/shim.yaml b/shim.yaml new file mode 100644 index 0000000..4aecd5e --- /dev/null +++ b/shim.yaml @@ -0,0 +1,26 @@ +document: modulemd +version: 1 +data: + summary: First-stage UEFI bootloader + description: This module contains unsigned shim packages. + license: + module: [ MIT ] + dependencies: + buildrequires: + bootstrap: master + references: + community: https://fedoraproject.org/wiki/BaseRuntime + documentation: https://github.com/fedora-modularity/base-runtime + tracker: https://github.com/fedora-modularity/base-runtime/issues + api: + rpms: [ shim-unsigned ] + components: + rpms: + # shim-0.9-1.* + shim: + rationale: Provides the x86_64 shim-unsigned binaries. + ref: 5c4aeae5d01f35d49c361a60ec1b8726a543c2a8 + # shim-unsigned-aarch64-0.9-1.f24 + shim-unsigned-aarch64: + rationale: Provides the aarch64 shim-unsigned binaries. + ref: ae09b5fe2bac419ce2b49bded0487d133bd53919 From d721f4da1b5a255eb360130c03677ea5d540140c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Tue, 2 May 2017 13:06:01 +0200 Subject: [PATCH 2/6] Fix the sources definition for shim MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Šabata --- shim.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shim.yaml b/shim.yaml index 4aecd5e..3618687 100644 --- a/shim.yaml +++ b/shim.yaml @@ -19,7 +19,7 @@ data: # shim-0.9-1.* shim: rationale: Provides the x86_64 shim-unsigned binaries. - ref: 5c4aeae5d01f35d49c361a60ec1b8726a543c2a8 + ref: 72c0daf8e4db63bd5b8125167e23164e515198c4 # shim-unsigned-aarch64-0.9-1.f24 shim-unsigned-aarch64: rationale: Provides the aarch64 shim-unsigned binaries. From 46866ccb3c2604a963e63407f453268ad6d5ab7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Fri, 4 Aug 2017 12:52:50 +0200 Subject: [PATCH 3/6] Add a Makefile to simplify module updates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Šabata --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7cc765c --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +SOURCE = https://raw.githubusercontent.com/fedora-modularity/baseruntime-package-lists/master/data/Fedora/devel/hp +MODULE = $(shell pwd | sed 's/^.*\///') + +update: + curl $(SOURCE)/$(MODULE).yaml -o $(MODULE).yaml From 6ac7577f574e899cc0f43193db9cb87d067e0b71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Fri, 4 Aug 2017 12:53:27 +0200 Subject: [PATCH 4/6] Syncing shim content with baseruntime-package-lists MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Šabata --- shim.yaml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/shim.yaml b/shim.yaml index 3618687..72dda70 100644 --- a/shim.yaml +++ b/shim.yaml @@ -2,25 +2,29 @@ document: modulemd version: 1 data: summary: First-stage UEFI bootloader - description: This module contains unsigned shim packages. + description: >- + Providing the unsigned shim binaries, this module is a building block + for secure boot-enabled systems. license: module: [ MIT ] dependencies: buildrequires: bootstrap: master references: - community: https://fedoraproject.org/wiki/BaseRuntime - documentation: https://github.com/fedora-modularity/base-runtime - tracker: https://github.com/fedora-modularity/base-runtime/issues - api: - rpms: [ shim-unsigned ] + community: https://fedoraproject.org/wiki/Host_and_Platform + documentation: https://github.com/fedora-modularity/hp + tracker: https://github.com/fedora-modularity/hp/issues components: rpms: - # shim-0.9-1.* + # shim-0.8-1.fc22 shim: - rationale: Provides the x86_64 shim-unsigned binaries. + rationale: >- + Provides the unsigned binaries; this package is produced by different source + packages on different architectures. ref: 72c0daf8e4db63bd5b8125167e23164e515198c4 - # shim-unsigned-aarch64-0.9-1.f24 + # shim-unsigned-aarch64-0.9-1.fc24 shim-unsigned-aarch64: - rationale: Provides the aarch64 shim-unsigned binaries. + rationale: >- + Provides the unsigned binaries; this package is produced by different source + packages on different architectures. ref: ae09b5fe2bac419ce2b49bded0487d133bd53919 From 2a848e1768d3b1677ef39f922f37f8ee28e6ec8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Tue, 12 Sep 2017 12:50:55 +0200 Subject: [PATCH 5/6] Updating shim to v13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Šabata --- shim.yaml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/shim.yaml b/shim.yaml index 72dda70..d1b0c6f 100644 --- a/shim.yaml +++ b/shim.yaml @@ -16,15 +16,13 @@ data: tracker: https://github.com/fedora-modularity/hp/issues components: rpms: - # shim-0.8-1.fc22 - shim: - rationale: >- - Provides the unsigned binaries; this package is produced by different source - packages on different architectures. - ref: 72c0daf8e4db63bd5b8125167e23164e515198c4 - # shim-unsigned-aarch64-0.9-1.fc24 + # shim-unsigned-aarch64-13-0.1 shim-unsigned-aarch64: rationale: >- - Provides the unsigned binaries; this package is produced by different source - packages on different architectures. - ref: ae09b5fe2bac419ce2b49bded0487d133bd53919 + Provides the unsigned binaries for aarch64. + ref: 2a4df371655a69baae2d4da873b5dcfa388962bf + # shim-unsigned-x64-13-0.1 + shim-unsigned-x64: + rationale: >- + Provides the unsigned binaries for i686 and x86_64. + ref: f97aaac87f1b9d72f5637164831e1bfcda4676ec From 9620ac2aaef48471f3f78c607e847fce3c33eff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Mon, 16 Oct 2017 13:44:07 +0200 Subject: [PATCH 6/6] Update the update script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Šabata --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7cc765c..5cfaa3f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ SOURCE = https://raw.githubusercontent.com/fedora-modularity/baseruntime-package-lists/master/data/Fedora/devel/hp MODULE = $(shell pwd | sed 's/^.*\///') +BRANCH = $(shell git rev-parse --abbrev-ref HEAD | sed -e 's/^/./' -e 's/^\.master$$//') update: - curl $(SOURCE)/$(MODULE).yaml -o $(MODULE).yaml + curl $(SOURCE)/$(MODULE)$(BRANCH).yaml -o $(MODULE).yaml