burrow-pi-img/config-swappart.example
Daniel F. Dickinson af84080be3 Add new export (image) with a swap partition
Demo the new custom export capability with an new export type
'export-swappart-image' that uses a swap partition.  Note that it really
only makes sense if one tweaks stage2 to not include dphys-swapfile.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2020-01-16 10:00:43 -05:00

9 lines
329 B
Bash
Executable File

#!/bin/bash -e
export IMG_NAME="swapport-test"
export stage2_EXPORT_LIST="export-swappart-image export-image export-noobs"
export stage4_EXPORT_LIST="export-swappart-image export-image export-noobs"
export stage5_EXPORT_LIST="export-swappart-image export-image export-noobs"
# 2GB Swap
export SWAP_SIZE=$(( 2048 * 1024 * 1024))