mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-27 15:06:29 +00:00
Remove all info pages in post-build script (#3888)
As we don't have the info utility in HAOS, it's worthless to preserve info pages. While there are currently some files in /share/info (coming from GRUB2 tools install), /usr/share/info was added pre-emptively.
This commit is contained in:
parent
664ae4ebfc
commit
8531e7b57d
@ -12,6 +12,10 @@ function fix_rootfs() {
|
|||||||
rm -rf "${TARGET_DIR:?}/srv"
|
rm -rf "${TARGET_DIR:?}/srv"
|
||||||
rm -rf "${TARGET_DIR:?}/opt"
|
rm -rf "${TARGET_DIR:?}/opt"
|
||||||
|
|
||||||
|
# Remove info pages
|
||||||
|
rm -rf "${TARGET_DIR:?}/share/info"
|
||||||
|
rm -rf "${TARGET_DIR:?}/usr/share/info"
|
||||||
|
|
||||||
# Cleanup miscs
|
# Cleanup miscs
|
||||||
rm -rf "${TARGET_DIR}/usr/lib/modules-load.d"
|
rm -rf "${TARGET_DIR}/usr/lib/modules-load.d"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user