mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 08:14:09 -09:00
package/rauc: prevent occurring the error when directory exists
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>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit fefdd0511e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
0b491807f2
commit
6d18c7bd19
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user