3
0
mirror of https://git.launchpad.net/livecd-rootfs synced 2025-03-11 03:11:11 +00:00
Steve Langasek 691a0ca08f Add hooks to ubuntu-cpc to divert /bin/sync in the chroot and undivert it
at the end.  This is a general-purpose change that should be applied to
all flavors and archs, but at the moment it's only needed on armhf+raspi2
to work around the raspberrypi2-firmware postinst calling sync, which is
actually warranted in the normal case.
2016-02-04 16:53:00 -08:00

6 lines
83 B
Bash
Executable File

#! /bin/sh
set -e
rm -f /bin/sync
dpkg-divert --quiet --remove --rename /bin/sync