mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-28 07:26:28 +00:00
Update rootfs-layer.sh
This commit is contained in:
parent
f7276c3fc8
commit
f81e54a124
@ -17,6 +17,9 @@ function fix_rootfs() {
|
|||||||
rm -rf ${TARGET_DIR}/srv
|
rm -rf ${TARGET_DIR}/srv
|
||||||
rm -rf ${TARGET_DIR}/opt
|
rm -rf ${TARGET_DIR}/opt
|
||||||
|
|
||||||
|
# Cleanup miscs
|
||||||
|
rm -rf ${TARGET_DIR}/usr/lib/modules-load.d
|
||||||
|
|
||||||
# Fix: tempfs with /srv
|
# Fix: tempfs with /srv
|
||||||
sed -i "/srv/d" ${TARGET_DIR}/usr/lib/tmpfiles.d/home.conf
|
sed -i "/srv/d" ${TARGET_DIR}/usr/lib/tmpfiles.d/home.conf
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user