16 lines
354 B
Bash
Executable File
16 lines
354 B
Bash
Executable File
#!/bin/bash
|
|
cd -- "$( dirname -- "${BASH_SOURCE[0]}" )"
|
|
source creator_exports.sh
|
|
source creator_functions.sh
|
|
rm -rf "$ROOT" 2>/dev/null
|
|
mkdir -p build "$ROOT" "${ROOT}/usr/bin/"
|
|
cd build
|
|
|
|
echo_blue "Starting installation at $ROOT."
|
|
|
|
install_busybox
|
|
install_binary $(which modprobe)
|
|
install_binary $(which switch_root)
|
|
install_init_script
|
|
create_archive
|