From: Christian Hofstaedtler Date: Sun, 28 Aug 2011 22:29:32 +0000 (+0200) Subject: Install bootgrub.mksh 0755 X-Git-Tag: v0.48~18 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=56a04d7e76fe8b4ed4fe5f87ba8cdaf412912a73 Install bootgrub.mksh 0755 This solves lintian W: script-not-executable, and I don't see why we shouldn't install bootgrub.mksh +x. --- diff --git a/debian/rules b/debian/rules index 9ea8037..2356986 100755 --- a/debian/rules +++ b/debian/rules @@ -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 diff --git a/grml-debootstrap b/grml-debootstrap index 1cba99a..3f6e304 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -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'