* [Buildroot] [PATCH] package/rauc: prevent occurring the error when directory exists
@ 2020-11-13 11:39 Bartosz Bilas
2020-11-13 13:50 ` Peter Korsgaard
2020-11-16 14:45 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Bartosz Bilas @ 2020-11-13 11:39 UTC (permalink / raw)
To: buildroot
Add -p argument that ignore that specified directory already exists.
Fixes:
mkdir: cannot create directory ?/home/bartekk/buildroot-2020.11-rc1/output/target/usr/lib/systemd/system/rauc.service.d?: File exists
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
---
package/rauc/rauc.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/rauc/rauc.mk b/package/rauc/rauc.mk
index 1915c783aa..61c50ab316 100644
--- a/package/rauc/rauc.mk
+++ b/package/rauc/rauc.mk
@@ -31,7 +31,7 @@ RAUC_DEPENDENCIES += systemd
endif
define RAUC_INSTALL_INIT_SYSTEMD
- mkdir $(TARGET_DIR)/usr/lib/systemd/system/rauc.service.d
+ mkdir -p $(TARGET_DIR)/usr/lib/systemd/system/rauc.service.d
printf '[Install]\nWantedBy=multi-user.target\n' \
>$(TARGET_DIR)/usr/lib/systemd/system/rauc.service.d/buildroot-enable.conf
endef
--
2.29.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] package/rauc: prevent occurring the error when directory exists
2020-11-13 11:39 [Buildroot] [PATCH] package/rauc: prevent occurring the error when directory exists Bartosz Bilas
@ 2020-11-13 13:50 ` Peter Korsgaard
2020-11-16 14:45 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2020-11-13 13:50 UTC (permalink / raw)
To: buildroot
>>>>> "Bartosz" == Bartosz Bilas <b.bilas@grinn-global.com> writes:
> Add -p argument that ignore that specified directory already exists.
> Fixes:
> mkdir: cannot create directory ?/home/bartekk/buildroot-2020.11-rc1/output/target/usr/lib/systemd/system/rauc.service.d?: File exists
> Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] package/rauc: prevent occurring the error when directory exists
2020-11-13 11:39 [Buildroot] [PATCH] package/rauc: prevent occurring the error when directory exists Bartosz Bilas
2020-11-13 13:50 ` Peter Korsgaard
@ 2020-11-16 14:45 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2020-11-16 14:45 UTC (permalink / raw)
To: buildroot
>>>>> "Bartosz" == Bartosz Bilas <b.bilas@grinn-global.com> writes:
> Add -p argument that ignore that specified directory already exists.
> Fixes:
> mkdir: cannot create directory ?/home/bartekk/buildroot-2020.11-rc1/output/target/usr/lib/systemd/system/rauc.service.d?: File exists
> Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Committed to 2020.02.x and 2020.08.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-16 14:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-13 11:39 [Buildroot] [PATCH] package/rauc: prevent occurring the error when directory exists Bartosz Bilas
2020-11-13 13:50 ` Peter Korsgaard
2020-11-16 14:45 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.