aboutsummaryrefslogtreecommitdiff
path: root/di-maker
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-05 20:49:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-05 20:49:24 -0300
commitd8bd926096ecf6d8c38453b6752088b8a10ca3b7 (patch)
treeccd6cdb6b0eda449afcd8324b013ed3de32c37f9 /di-maker
parent56d05072e6225f95e523d735e3236e4461484a16 (diff)
downloadkvm-manager-d8bd926096ecf6d8c38453b6752088b8a10ca3b7.tar.gz
kvm-manager-d8bd926096ecf6d8c38453b6752088b8a10ca3b7.tar.bz2
Make coding style more uniform
Diffstat (limited to 'di-maker')
-rwxr-xr-xdi-maker11
1 files changed, 4 insertions, 7 deletions
diff --git a/di-maker b/di-maker
index e24df35..c60c9a6 100755
--- a/di-maker
+++ b/di-maker
@@ -1,19 +1,17 @@
#!/bin/bash
-
+#
# Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
# Date: 2009-10-08
# License: GPL v3+
-
+#
+# depends on grub2
# usage:
# di-maker ISOFILE [FILE ...]
# make a new debian installer ISO, packing any additionally-supplied files into the initramfs directly
set -e
-# depends on grub2
-
# specify the first argument as the new installer image:
-
output="$1"
SUITE=${SUITE:-stable}
@@ -95,7 +93,6 @@ fi
mkdir -p "$WORKDIR/boot/grub"
-
cat > "$WORKDIR/boot/grub/grub.cfg" <<EOF
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
terminal_output serial
@@ -111,4 +108,4 @@ absoutput="$(readlink -f "$output")"
## no longer using genisoimage with grub2:
# genisoimage -R -input-charset utf-8 -b boot/grub/stage2_eltorito -no-emul-boot --boot-load-size 4 -boot-info-table "$WORKDIR"
-(cd "$WORKDIR" && grub-mkrescue --output="$absoutput" .)
+( cd "$WORKDIR" && grub-mkrescue --output="$absoutput" . )