From a016561600292047971b65d034f0e6eaeadd1122 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Tue, 7 May 2019 17:51:18 +0100 Subject: [PATCH] export-image: Remove interfaces.dpkg-old --- export-image/04-finalise/01-run.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/export-image/04-finalise/01-run.sh b/export-image/04-finalise/01-run.sh index 9215dec..c2de080 100755 --- a/export-image/04-finalise/01-run.sh +++ b/export-image/04-finalise/01-run.sh @@ -49,6 +49,8 @@ find "${ROOTFS_DIR}/var/log/" -type f -exec cp /dev/null {} \; rm -f "${ROOTFS_DIR}/root/.vnc/private.key" rm -f "${ROOTFS_DIR}/etc/vnc/updateid" +rm -f "${ROOTFS_DIR}/etc/network/interfaces.dpkg-old" + update_issue "$(basename "${EXPORT_DIR}")" install -m 644 "${ROOTFS_DIR}/etc/rpi-issue" "${ROOTFS_DIR}/boot/issue.txt"