Browse Source

Documentation

tags/nilmbuntu-5
Jim Paris 4 years ago
parent
commit
55771824ce
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      buildiso.sh

+ 6
- 3
buildiso.sh View File

@@ -1,6 +1,9 @@
#!/bin/bash

# build the iso
# Build the iso.
# Some parts of this (particularly the xorriso command lines) come from
# the ubuntu-cdimage project:
# http://bazaar.launchpad.net/~ubuntu-cdimage/debian-cd/ubuntu/

# make sure this was run as root
if [ $UID -ne 0 ] ; then
@@ -21,8 +24,8 @@ if ! [ "$1" == "justiso" ] ; then

if ! [ -r ${INITRD} -a -r ${VMLINUZ} -a -r ${VMLINUZ_EFI} ] ; then
set +x
echo "Missing kernel stuff... Either upgrade or reinstall"
echo "the kernel inside the image to get the right files."
echo "== Missing kernel and/or initrd. Either upgrade or reinstall"
echo "== the kernel inside the image to get the right files."
exit 1
fi



Loading…
Cancel
Save