bdisk/extra/pre-build.d/etc/initcpio/install/livecd

30 lines
498 B
Plaintext
Raw Normal View History

2014-12-19 14:13:30 -05:00
#!/bin/bash
build()
{
add_module 'squashfs'
add_module 'loop'
2015-01-30 20:38:42 -05:00
add_module 'overlay'
2014-12-19 14:13:30 -05:00
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
2014-12-19 14:13:30 -05:00
add_runscript
}
help()
{
cat <<HELPEOF
Mount a squashed flat-file directory with OverlayFS on /, add SSL support
2014-12-19 14:13:30 -05:00
HELPEOF
}