mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-10 02:36:29 +00:00
Remove folder only deletes from current filesystem (#4653)
This commit is contained in:
parent
7361d39231
commit
b04efe4eac
@ -15,6 +15,7 @@ WORKDIR /usr/src
|
|||||||
RUN \
|
RUN \
|
||||||
set -x \
|
set -x \
|
||||||
&& apk add --no-cache \
|
&& apk add --no-cache \
|
||||||
|
coreutils \
|
||||||
eudev \
|
eudev \
|
||||||
eudev-libs \
|
eudev-libs \
|
||||||
git \
|
git \
|
||||||
|
@ -107,7 +107,7 @@ async def remove_folder(
|
|||||||
proc = await asyncio.create_subprocess_exec(
|
proc = await asyncio.create_subprocess_exec(
|
||||||
"bash",
|
"bash",
|
||||||
"-c",
|
"-c",
|
||||||
f"rm -rf {del_folder}",
|
f"rm -rf --one-file-system {del_folder}",
|
||||||
stdout=asyncio.subprocess.DEVNULL,
|
stdout=asyncio.subprocess.DEVNULL,
|
||||||
env=clean_env(),
|
env=clean_env(),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user