hypha: debug option for ensuring kernel logs can be seen

This commit is contained in:
Alex Zenla
2024-02-01 10:55:28 +00:00
parent 3a04a2fe26
commit c17aacb6c8
4 changed files with 16 additions and 2 deletions

View File

@ -6,7 +6,7 @@ cd "$(dirname "${0}")/.."
HYPHA_DIR="${PWD}"
cargo build --bin hyphactr --release --target x86_64-unknown-linux-gnu
INITRD_DIR="$(mktemp -d /tmp/hypha-initrd.XXXXXXXXXXXXX)"
cp target/x86_64-unknown-linux-gnu/release/hyphactr "${INITRD_DIR}/init"
cp "target/x86_64-unknown-linux-gnu/release/hyphactr" "${INITRD_DIR}/init"
chmod +x "${INITRD_DIR}/init"
cd "${INITRD_DIR}"
mkdir -p "${HYPHA_DIR}/target/initrd"