From 56f6df9d0bb6aeb02a7db26dce9aba1aafb5f11a Mon Sep 17 00:00:00 2001 From: Robert Nelson <robertcnelson@gmail.com> Date: Wed, 29 Mar 2017 10:30:48 -0500 Subject: [PATCH] ubuntu: disable ureadahead.service fixes: https://github.com/RobertCNelson/omap-image-builder/issues/101 Signed-off-by: Robert Nelson <robertcnelson@gmail.com> --- scripts/chroot.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/chroot.sh b/scripts/chroot.sh index eb010ab02..5e7bcaee9 100755 --- a/scripts/chroot.sh +++ b/scripts/chroot.sh @@ -968,6 +968,11 @@ cat > "${DIR}/chroot_script.sh" <<-__EOF__ if [ -f /lib/systemd/system/dnsmasq.service ] ; then systemctl disable dnsmasq.service || true fi + + #Our kernels do not have ubuntu's ureadahead patches... + if [ -f /lib/systemd/system/ureadahead.service ] ; then + systemctl disable ureadahead.service || true + fi } #cat /chroot_script.sh -- GitLab