From 7fb46c464b8ee697e4c91364b8f4ae0b3c277d87 Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Wed, 26 Feb 2020 03:57:30 +0000 Subject: chroot_dpkg: start-stop-daemon simplification inspired by what it does for `/usr/sbin/flash-kernel` Gbp-Dch: Short Closes: #952891 --- scripts/build/chroot_dpkg | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'scripts') diff --git a/scripts/build/chroot_dpkg b/scripts/build/chroot_dpkg index b02dc648f..6615dfbc7 100755 --- a/scripts/build/chroot_dpkg +++ b/scripts/build/chroot_dpkg @@ -42,12 +42,7 @@ case "${1}" in # Create custom start-stop-daemon program Chroot chroot dpkg-divert --rename --quiet --add /sbin/start-stop-daemon - -cat > chroot/sbin/start-stop-daemon << EOF -#!/bin/sh - -exit 0 -EOF + ln -fs /bin/true chroot/sbin/start-stop-daemon chmod 755 chroot/sbin/start-stop-daemon -- cgit v1.2.3