af84080be3
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>
9 lines
329 B
Bash
Executable File
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))
|