Update rootfs_layer.sh

This commit is contained in:
Pascal Vizeli 2018-05-13 16:23:30 +02:00 committed by GitHub
parent 13a736d4bd
commit 0143c267a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,9 +18,6 @@ function fix_rootfs() {
rm -rf ${TARGET_DIR}/srv
rm -rf ${TARGET_DIR}/opt
# Other stuff
rm -f ${TARGET_DIR}/usr/lib/os-release
# Fix tempfs
sed -i "/srv/d" ${TARGET_DIR}/usr/lib/tmpfiles.d/home.conf
}