Update rootfs-layer.sh

This commit is contained in:
Pascal Vizeli
2018-05-18 22:45:02 +02:00
committed by GitHub
parent f7276c3fc8
commit f81e54a124

View File

@@ -17,6 +17,9 @@ function fix_rootfs() {
rm -rf ${TARGET_DIR}/srv
rm -rf ${TARGET_DIR}/opt
# Cleanup miscs
rm -rf ${TARGET_DIR}/usr/lib/modules-load.d
# Fix: tempfs with /srv
sed -i "/srv/d" ${TARGET_DIR}/usr/lib/tmpfiles.d/home.conf