working on the boot problem. also, documentation

This commit is contained in:
2016-12-20 16:57:31 -05:00
parent 960dc34ba8
commit d40672fdd9
10 changed files with 278 additions and 8 deletions

View File

@@ -0,0 +1,7 @@
# vim: set ft=sh:
run_cleanuphook () {
msg ":: Adding SSL and SSH support..."
pkill -9 dropbear #kill SSH (in preparation for the live system starting ssh on port 22
}

View File

@@ -0,0 +1,29 @@
#!/bin/bash
build()
{
add_module 'squashfs'
add_module 'loop'
add_module 'overlay'
add_file "/etc/passwd"
add_file "/etc/shadow"
add_file "/etc/group"
add_file "/etc/gshadow"
add_binary "/usr/bin/sed"
add_binary "/usr/bin/pkill"
add_binary "/usr/bin/curl"
add_full_dir /etc/ssl
add_full_dir /etc/ca-certificates
add_runscript
}
help()
{
cat <<HELPEOF
Mount a squashed flat-file directory with OverlayFS on /, add SSL support
HELPEOF
}