2017-05-05 12:32:07 -04:00
|
|
|
buid() {
|
|
|
|
add_binary "/usr/bin/python"
|
2017-05-06 07:17:47 -04:00
|
|
|
add_binary "/usr/bin/aif"
|
2017-05-05 12:32:07 -04:00
|
|
|
|
|
|
|
add_runscript
|
|
|
|
}
|
|
|
|
|
|
|
|
help()
|
|
|
|
{
|
|
|
|
cat <<HELPEOF
|
|
|
|
Starts aifclient from an initramfs. Requires (and should be after):
|
|
|
|
-any networking hooks (unless you embed an XML config inside the initrramfs as well)
|
|
|
|
-aif (or aif-git) be installed OR the aifclient(.py) file located at /usr/bin/aifclient
|
|
|
|
-python (3) be installed
|
|
|
|
A word of warning, this will create a pretty huge initramfs since python is rather large.
|
|
|
|
HELPEOF
|
|
|
|
}
|