Compare commits

..

2 Commits

3 changed files with 2 additions and 4 deletions

View File

@ -183,7 +183,7 @@ EOF
COPY --from=util-linux . .
RUN <<-EOF
set -eux
# Increase the size of the ISO by X MB to create space for the third partition
# Increase the size of the ISO 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

View File

@ -73,7 +73,7 @@ vm-efi: out/airgap.iso
-drive id=external,if=none,format=raw,file=out/sdcard.img \
-display gtk,show-menubar=off,zoom-to-fit=on \
-device usb-storage,drive=usbdrive \
-drive id=usbdrive,if=none,format=raw,file=airgap.iso \
-drive id=usbdrive,if=none,format=raw,file=out/airgap.iso \
-boot order=c
## Signing, Verification, and Release Targets

View File

@ -4,8 +4,6 @@ source /etc/profile
folder=${1?}
echo "Checking autorun in folder: ${folder}" >/dev/console
if [ "$folder" == "/media/USER" ] && [ -f "${folder}/autorun.sh" ]; then
if touch "${folder}/.write_test" 2>/dev/null; then
echo "!! Autorun: Read-only verification failed for /media/USER" >/dev/console