forked from rhboot/shim-review
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Review request of shim-15+dev76.f60ba43-13 for Endless OS
- Loading branch information
Showing
9 changed files
with
1,390 additions
and
1,281 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
To reproduce the build in the attached container defined by the attached | ||
Dockerfile run: | ||
To reproduce the build in a container defined by the attached Dockerfile, run: | ||
|
||
``` | ||
sudo docker build . | ||
./build.sh | ||
``` | ||
|
||
At the end of the process the SHA256 checksum of shimx64.efi that was just | ||
built will be printed. | ||
This will print the SHA256 checksum of the shimx64.efi binary that was just | ||
built, as well as copy the file to the current directory and verify its | ||
checksum against the attached shimx64.efi.sha256sum at the end of the process. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,16 +4,16 @@ RUN echo "deb-src http://deb.debian.org/debian buster main" > /etc/apt/sources.l | |
RUN apt-get update -y | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends build-essential devscripts git | ||
RUN apt-get build-dep -y shim | ||
RUN git clone https://github.com/endlessm/shim.git shim-15+dev16.b59aab6 | ||
WORKDIR /shim-15+dev16.b59aab6 | ||
RUN git clone https://github.com/endlessm/shim.git shim-15+dev76.f60ba43-13 | ||
WORKDIR /shim-15+dev76.f60ba43-13 | ||
RUN git config user.email "[email protected]" | ||
RUN git merge --allow-unrelated-histories -m "Import the packaging bits into master" origin/debian-master | ||
RUN echo "1.0" > debian/source/format | ||
RUN echo "--compression=gzip" > debian/source/options | ||
RUN dch -v 15+dev16.b59aab6-5 -D eos --force-distribution 'Automatic release from git (15+dev16.b59aab6-5)' | ||
RUN dch -v 15+dev76.f60ba43-13 -D eos --force-distribution 'Automatic release from git (15+dev76.f60ba43-13)' | ||
RUN rm -rf .git | ||
RUN DEB_VENDOR=endless dpkg-buildpackage -us -uc | ||
WORKDIR / | ||
RUN dpkg-deb -x shim-efi-image_15+dev16.b59aab6-5_amd64.deb shim-efi-image | ||
RUN dpkg-deb -x shim-efi-image_15+dev76.f60ba43-13_amd64.deb shim-efi-image | ||
RUN cp shim-efi-image/boot/efi/EFI/endless/shimx64.efi . | ||
RUN sha256sum shimx64.efi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash -e | ||
|
||
sudo docker build -t endless-shim-review . | ||
|
||
id=$(sudo docker create endless-shim-review) | ||
sudo docker cp $id:shimx64.efi . | ||
sudo docker rm -v $id | ||
|
||
sha256sum -c shimx64.efi.sha256sum | ||
|
||
echo "To remove the container image used for this build: sudo docker image rm endless-shim-review" |
Binary file not shown.
Oops, something went wrong.