mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-28 15:36:29 +00:00
Drop e2scrub (#1144)
The e2scrub utilities only make sense on system which use LVM. They come with e2fsprogs and can't be disabled currently. Drop them manually in our post-build script.
This commit is contained in:
parent
4d6991fd45
commit
142e7df6cf
@ -30,6 +30,10 @@ function fix_rootfs() {
|
||||
|
||||
# Use systemd-resolved for Host OS resolve
|
||||
sed -i '/^hosts:/ {/resolve/! s/files/resolve [!UNAVAIL=return] files/}' "${TARGET_DIR}/etc/nsswitch.conf"
|
||||
|
||||
# Remove e2scrub (LVM specific tools provided by e2fsprogs)
|
||||
rm -f "/usr/lib/systemd/system/e2scrub*"
|
||||
rm -f "/usr/sbin/e2scrub*" "/usr/lib/e2fsprogs/e2scrub*"
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user