Compare commits

..

1 Commits

Author SHA1 Message Date
Sam Ebstein 799d2dd852
release 2024.10.0 2024-10-02 13:22:31 -07:00
5 changed files with 37 additions and 22 deletions

View File

@ -65,6 +65,7 @@ COPY --from=cpio . /
COPY --from=mtools . / COPY --from=mtools . /
COPY --from=xz . / COPY --from=xz . /
COPY --from=grub . / COPY --from=grub . /
COPY --from=util-linux . /
FROM base as dev FROM base as dev
COPY --from=gcc . / COPY --from=gcc . /
@ -197,8 +198,6 @@ FROM build AS install
ENV SOURCE_DATE_EPOCH=1 ENV SOURCE_DATE_EPOCH=1
RUN <<-EOF RUN <<-EOF
set -eux set -eux
dd if=/dev/zero bs=1M count=10 >> user.img
mformat -v user -i user.img -N 0 ::
find iso -exec touch -hcd "@0" "{}" + find iso -exec touch -hcd "@0" "{}" +
xorrisofs \ xorrisofs \
-output airgap.iso \ -output airgap.iso \
@ -218,8 +217,24 @@ RUN <<-EOF
-no-emul-boot \ -no-emul-boot \
-isohybrid-gpt-basdat \ -isohybrid-gpt-basdat \
-follow-links \ -follow-links \
-append_partition 3 0xb user.img \
iso/ iso/
# Increase ISO size by 512 MB to create space for the third partition
dd if=/dev/zero bs=1M count=512 >> airgap.iso
# Append a new partition that uses the additional space
echo ", +" | sfdisk --append airgap.iso
# Set the newly added third partition to FAT32
sfdisk --part-type airgap.iso 3 b
# Calculate the byte offset of the third partition
# This is done by finding the end of the first partition using fdisk,
# adding 1 sector, and multiplying by 512 (since each sector is 512 bytes).
OFFSET=$(fdisk -l airgap.iso | awk '/^airgap.iso1/ {print ($4 + 1) * 512}')
# Format the third partition as FAT32 and label it 'USER'
mformat -v USER -i airgap.iso@@$OFFSET ::
EOF EOF
## Minimal Autorun SD card image ## Minimal Autorun SD card image

BIN
dist/airgap.iso (Stored with Git LFS) vendored

Binary file not shown.

View File

@ -1,16 +1,16 @@
-----BEGIN PGP SIGNATURE----- -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEX0Y/RMp/XXXQS9bjZBjyel4gr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psfRexiPRkoKuk5viPyeuy0YExjjpWGCvE6mKF
rl5d4SuTjHMZPO8AEdOn6wQbmu4s59HkHXOsVLCzBgbprONmkGfFG/hitbC7WLzy BCBRbFHbkO/f4NZFEHXb7VQ3L87QRazmd38U332xpBLzeJysBX0phFBiOBy+e9my
g0HSgwwsItbbrGKLEiOfxst7ojeAGQ504xhNh4f9OBD5j+QV7cX77qosKaqAUv1y P+7c2Xb40HpOoZNymFyHNDwAersn6zKZP78uDdmhLakqM8ummK9J/h3VhcdMxvTG
V6txF8zcGGYBadUPrH7e3Q6/FLsdSWZh+NJqVADCJDZIwXvExgc= 74ck9AlC9UwHIRB7AyzOxAUUQv1kV5vVQnHW/w55iHq+JIbKkOs=
=tyko =4IJB
-----END PGP SIGNATURE----- -----END PGP SIGNATURE-----

4
dist/manifest.txt vendored
View File

@ -1,2 +1,2 @@
0a6b5fe265a0fa0d08818a30625f22fb90a9d78f3ce6db9b5c901e88f9dffaa4 airgap.iso 27de325f7c9c71d5c84865004bc99677ebb4b9a3d409cb6f1c1d4a85a8a8b1b7 airgap.iso
d981d364acf7570720196162aaadafb633014ddbb936e255e6c1401c835642ec release.env d5832ca4657e4ae73966923cb17348214b4f3144bb5d069c9485ba80a17a7a77 release.env

4
dist/release.env vendored
View File

@ -1,5 +1,5 @@
VERSION=2024.10.0 VERSION=2024.10.0
GIT_REF=bb76f61615221d488643b7474931c3022834db7c GIT_REF=575967e5b41984bfaafbfee76eb3e55d11a8baff
GIT_AUTHOR=Sam Ebstein GIT_AUTHOR=Sam Ebstein
GIT_PUBKEY=1CB82764728C8965407C27DE9EF3B9DE0E11569A GIT_PUBKEY=1CB82764728C8965407C27DE9EF3B9DE0E11569A
GIT_TIMESTAMP=2024-10-05 07:42:49 -0700 GIT_TIMESTAMP=2024-10-02 13:19:35 -0700