Install bootgrub.mksh 0755
authorChristian Hofstaedtler <ch@grml.org>
Sun, 28 Aug 2011 22:29:32 +0000 (00:29 +0200)
committerChristian Hofstaedtler <ch@grml.org>
Sun, 28 Aug 2011 22:29:44 +0000 (00:29 +0200)
This solves lintian W: script-not-executable, and I don't see why
we shouldn't install bootgrub.mksh +x.

debian/rules
grml-debootstrap

index 9ea8037..2356986 100755 (executable)
@@ -44,7 +44,7 @@ install: build
        install -m 755 grml-debootstrap debian/grml-debootstrap/usr/sbin/
        install -m 644 zsh-completion   debian/grml-debootstrap/etc/zsh/completion.d/_grml-debootstrap
        install -m 644 cmdlineopts.clp  debian/grml-debootstrap/usr/share/grml-debootstrap/functions/cmdlineopts.clp
-       install -m 644 bootgrub.mksh    debian/grml-debootstrap/usr/share/grml-debootstrap/bootgrub.mksh
+       install -m 755 bootgrub.mksh    debian/grml-debootstrap/usr/share/grml-debootstrap/bootgrub.mksh
 
 # Build architecture-dependent files here.
 binary-arch: build install
index 1cba99a..3f6e304 100755 (executable)
@@ -888,7 +888,7 @@ prepare_vm() {
   ORIG_TARGET="$TARGET" # store for later reuse
 
   qemu-img create -f raw "${TARGET}" "${VMSIZE}"
-  echo 4 66 | mksh /usr/share/grml-debootstrap/bootgrub.mksh -A | dd of="$TARGET" conv=notrunc
+  echo 4 66 | /usr/share/grml-debootstrap/bootgrub.mksh -A | dd of="$TARGET" conv=notrunc
   dd if=/dev/zero bs=1 conv=notrunc count=64 seek=446 of="$TARGET"
   parted -s "${TARGET}" 'mkpart primary ext3 2M -1'