From 0e1879735aab6924c5d868d6432d36986e919ab5 Mon Sep 17 00:00:00 2001 From: Ricardo Salveti de Araujo Date: Mon, 16 Nov 2009 17:09:18 -0300 Subject: [PATCH 011/118] update-rc.d.bbclass: avoid breaking prerm when running with chroot + qemu Signed-off-by: Ricardo Salveti de Araujo --- classes/update-rc.d.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/classes/update-rc.d.bbclass b/classes/update-rc.d.bbclass index b6491ed..bf48145 100644 --- a/classes/update-rc.d.bbclass +++ b/classes/update-rc.d.bbclass @@ -17,7 +17,7 @@ update-rc.d $OPT ${INITSCRIPT_NAME} ${INITSCRIPT_PARAMS} updatercd_prerm() { if test "x$D" = "x"; then if test "$1" = "upgrade" -o "$1" = "remove"; then - ${INIT_D_DIR}/${INITSCRIPT_NAME} stop + ${INIT_D_DIR}/${INITSCRIPT_NAME} stop || true fi fi } -- 1.6.3.3