mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-10 12:47:30 +00:00
Imported using git-ubuntu import. Changelog parent: 0682fffca187ed3d1686d3802e50785b54eee3fc New changelog entries: * limit grub-install diversion on snappy images to x86 architectures * divert grub-install on snappy images during rootfs build
11 lines
199 B
Bash
Executable File
11 lines
199 B
Bash
Executable File
#! /bin/sh -ex
|
|
|
|
ARCH=$(dpkg --print-architecture)
|
|
|
|
case $ARCH in
|
|
i386|amd64)
|
|
rm -f /usr/sbin/grub-install
|
|
dpkg-divert --quiet --remove --rename /usr/sbin/grub-install
|
|
;;
|
|
esac
|