Compare commits
2 Commits
d0a3b06f37
...
d8dd960dd5
Author | SHA1 | Date |
---|---|---|
Sam Ebstein | d8dd960dd5 | |
Sam Ebstein | 8308101a35 |
|
@ -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
|
||||
|
|
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue