Browse Source

fix bugs

tags/nilmdbuntu-1
Jim Paris 8 years ago
parent
commit
0f8922e791
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      buildiso.sh
  2. +1
    -1
      run.sh

+ 2
- 2
buildiso.sh View File

@@ -32,7 +32,7 @@ sudo find . -type f -print0 \
| sudo tee md5sum.txt >/dev/null
cd ..

sudo chown -R ${USER} iso
sudo chown -R ${USER} ${ISO}

# build CD
xorriso -as mkisofs \
@@ -44,4 +44,4 @@ xorriso -as mkisofs \
${ISO}

# fix iso for hybrid booting
isohybrid ${ISO}
isohybrid ${OUTPUT}

+ 1
- 1
run.sh View File

@@ -48,7 +48,7 @@ set -x
case $boot in
c)
echo "booting CD with empty disk"
rm -f disk.img
rm -f ${DISK}
dd if=/dev/zero "of=${DISK}" bs=1M count=0 seek=10240
cfg="-cdrom ${iso} -hda ${DISK} -boot d"
;;


Loading…
Cancel
Save