aboutsummaryrefslogtreecommitdiffstats
path: root/export-image/04-finalise
diff options
context:
space:
mode:
authorSerge Schneider <[email protected]>2018-02-20 09:59:45 +0000
committerSerge Schneider <[email protected]>2018-03-01 15:54:12 +0000
commitc430f618d048cec735224fd4166444f0d858f62a (patch)
treec99bea1efc5608b69246d13132df50962f3951e5 /export-image/04-finalise
parent4c7980fa1ef966da15a02c7b78f6670cafad606c (diff)
Remove ld.so.preload and policy-rc.d changes
Diffstat (limited to 'export-image/04-finalise')
-rwxr-xr-xexport-image/04-finalise/01-run.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/export-image/04-finalise/01-run.sh b/export-image/04-finalise/01-run.sh
index f04c7ee..b093f01 100755
--- a/export-image/04-finalise/01-run.sh
+++ b/export-image/04-finalise/01-run.sh
@@ -13,13 +13,7 @@ if [ -d ${ROOTFS_DIR}/home/pi/.config ]; then
fi
rm -f ${ROOTFS_DIR}/etc/apt/apt.conf.d/51cache
-rm -f ${ROOTFS_DIR}/usr/sbin/policy-rc.d
rm -f ${ROOTFS_DIR}/usr/bin/qemu-arm-static
-if [ "${USE_QEMU}" != "1" ]; then
- if [ -e ${ROOTFS_DIR}/etc/ld.so.preload.disabled ]; then
- mv ${ROOTFS_DIR}/etc/ld.so.preload.disabled ${ROOTFS_DIR}/etc/ld.so.preload
- fi
-fi
rm -f ${ROOTFS_DIR}/etc/apt/sources.list~
rm -f ${ROOTFS_DIR}/etc/apt/trusted.gpg~