Skip to content

Commit

Permalink
release can be specified
Browse files Browse the repository at this point in the history
  • Loading branch information
psy0rz committed Mar 20, 2024
1 parent 6c6c185 commit e8d573f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion devtools/createimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export INSTALL_DISK=$LOOP_DEV
export INSTALL_EFI_DEV=$INSTALL_DISK""p2
export INSTALL_SWAP_DEV=$INSTALL_DISK""p3
export INSTALL_ZPOOL_DEV=$INSTALL_DISK""p4
export INSTALL_ZPOOL=${INSTALL_ZPOOL:-zpool}
export INSTALL_ZPOOL=${INSTALL_ZPOOL:-rpool}


cd ../install
Expand Down
7 changes: 5 additions & 2 deletions install/installimage.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
#!/bin/sh

DISK=$1
URL=https://github.com/psy0rz/alpinebox/releases/latest/download/alpine.img.gz
RELEASE=${2:-latest}

URL=https://github.com/psy0rz/alpinebox/releases/$RELEASE/download/alpine.img.gz


if ! [ "$DISK" ]; then
echo "Usage: $0 <disk>"
echo "Usage: $0 <disk> [release]"
echo "Will install Alpine Box on your system from a image."
echo "You should be able to run this from any Linux distro or environment."

Expand Down

0 comments on commit e8d573f

Please sign in to comment.