This solves lintian W: script-not-executable, and I don't see why
we shouldn't install bootgrub.mksh +x.
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
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'