2014-12-19 14:13:30 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
build()
|
|
|
|
{
|
|
|
|
add_module 'squashfs'
|
|
|
|
add_module 'loop'
|
|
|
|
add_module 'aufs'
|
2015-01-30 20:38:42 -05:00
|
|
|
add_module 'overlay'
|
2014-12-19 14:13:30 -05:00
|
|
|
|
|
|
|
add_binary "sed"
|
|
|
|
add_binary "pkill"
|
|
|
|
|
|
|
|
add_runscript
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
help()
|
|
|
|
{
|
|
|
|
cat <<HELPEOF
|
2015-01-30 20:38:42 -05:00
|
|
|
Mount a squashed flat-file directory with OverlayFS on /
|
2014-12-19 14:13:30 -05:00
|
|
|
HELPEOF
|
|
|
|
}
|