chroot_dpkg: start-stop-daemon simplification

inspired by what it does for `/usr/sbin/flash-kernel`

Gbp-Dch: Short
Closes: #952891
This commit is contained in:
Lyndon Brown 2020-02-26 03:57:30 +00:00 committed by Raphaël Hertzog
parent 2f5ae873b0
commit 7fb46c464b
1 changed files with 1 additions and 6 deletions

View File

@ -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