summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <jams@linhes.org>2010-12-29 00:51:33 (GMT)
committerJames Meyer <jams@linhes.org>2010-12-29 00:51:33 (GMT)
commit4a129109f63f972c4115b7fe039550d8e07bfc58 (patch)
tree34f0226e10a85b3e15ab007b48f9e110b9f8f5f4
parent5e928df58c2dec06ec0103b2197d5af4cb97dd77 (diff)
downloadlinhes_dev-4a129109f63f972c4115b7fe039550d8e07bfc58.zip
go.sh: add isohybrid to the build process.
This allows the iso to be copied to a usb drive for installation. dd if=/tmp/test2.iso of=/dev/your_usb_device. Be careful as it's possible to wipe your running system.
-rwxr-xr-xbuild_tools/go.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/build_tools/go.sh b/build_tools/go.sh
index c00f976..27d6b85 100755
--- a/build_tools/go.sh
+++ b/build_tools/go.sh
@@ -53,7 +53,14 @@ time ./larch-archin -f -p larch0/profiles/$profile install && ./larch-larchify -
status=$?
if [ $status = 0 ]
then
-
+ if [ -f /usr/bin/isohybrid ]
+ then
+ echo "Running isohybrid..."
+ /usr/bin/isohybrid /tmp/test2.iso
+ else
+ echo "Syslinux needs to be installed to run isohybrid"
+ fi
+
echo "*****************************************************"
echo "your $profile iso is complete (/tmp/test2.iso)"
echo "*****************************************************"