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:
parent
2f5ae873b0
commit
7fb46c464b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue