Browse Source

remove preload thingy

pull/71/head
luigifcruz 2 years ago
parent
commit
afc43610c9
1 changed files with 0 additions and 7 deletions
  1. +0
    -7
      export-image/04-finalise/01-run.sh

+ 0
- 7
export-image/04-finalise/01-run.sh View File

@@ -10,7 +10,6 @@ fi
if hash hardlink 2>/dev/null; then if hash hardlink 2>/dev/null; then
hardlink -t /usr/share/doc hardlink -t /usr/share/doc
fi fi
rm -fr /etc/ld.so.preload
EOF EOF


if [ -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config" ]; then if [ -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config" ]; then
@@ -19,12 +18,6 @@ fi


rm -f "${ROOTFS_DIR}/usr/bin/qemu-arm-static" 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/network/interfaces.dpkg-old" rm -f "${ROOTFS_DIR}/etc/network/interfaces.dpkg-old"


rm -f "${ROOTFS_DIR}/etc/apt/sources.list~" rm -f "${ROOTFS_DIR}/etc/apt/sources.list~"


Loading…
Cancel
Save