parent
8e507f5c7b
commit
cc7950e55c
@ -0,0 +1,13 @@
|
||||
#!/bin/sh -ex
|
||||
|
||||
dpkg-divert --quiet --add \
|
||||
--divert /usr/sbin/grub-install.REAL --rename \
|
||||
/usr/sbin/grub-install
|
||||
|
||||
cat > /usr/sbin/grub-install <<'EOF'
|
||||
#! /bin/sh
|
||||
echo "grub-install: diverted by livecd-rootfs (will be called later)" >&2
|
||||
exit 0
|
||||
EOF
|
||||
|
||||
chmod +x /usr/sbin/grub-install
|
@ -0,0 +1,4 @@
|
||||
#! /bin/sh -ex
|
||||
|
||||
rm -f /usr/sbin/grub-install
|
||||
dpkg-divert --quiet --remove --rename /usr/sbin/grub-install
|
Loading…
Reference in new issue