Some checks failed
particle-os CI / Test particle-os (push) Failing after 1s
particle-os CI / Integration Test (push) Has been skipped
particle-os CI / Security & Quality (push) Failing after 1s
Test particle-os Basic Functionality / test-basic (push) Failing after 1s
particle-os CI / Build and Release (push) Has been skipped
18 lines
426 B
Bash
Executable file
18 lines
426 B
Bash
Executable file
#!/bin/bash
|
|
# Manual bootable image creation script
|
|
|
|
set -e
|
|
|
|
WORK_DIR="$1"
|
|
if [ -z "$WORK_DIR" ]; then
|
|
echo "Usage: $0 <work_directory>"
|
|
exit 1
|
|
fi
|
|
|
|
echo "Creating bootable image from $WORK_DIR"
|
|
echo "This script will create a bootable image with GRUB bootloader"
|
|
|
|
# Create a simple test to see if the script runs
|
|
echo "Script is running successfully!"
|
|
echo "Work directory: $WORK_DIR"
|
|
echo "Current directory: $(pwd)"
|