OSDN Git Service
(root)
/
alterlinux
/
LFBS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
560d9e1
)
fixed mkdir
author
kokkiemouse
<kokkiemouse@gmail.com>
Sun, 20 Sep 2020 00:30:03 +0000
(09:30 +0900)
committer
kokkiemouse
<kokkiemouse@gmail.com>
Sun, 20 Sep 2020 00:30:03 +0000
(09:30 +0900)
Signed-off-by: kokkiemouse <kokkiemouse@gmail.com>
lfbs
patch
|
blob
|
history
diff --git
a/lfbs
b/lfbs
index
1d84487
..
99b9d28
100755
(executable)
--- a/
lfbs
+++ b/
lfbs
@@
-271,7
+271,11
@@
prepare_build() {
make_systemd() {
_dnf_install dbus-tools
run_cmd dbus-uuidgen --ensure=/etc/machine-id
- run_cmd mkdir /var/lib/dbus
+ if [[ -d "${work_dir}/airootfs/var/lib/dbus" ]]; then
+ :
+ else
+ run_cmd mkdir /var/lib/dbus
+ fi
run_cmd ln -sf /etc/machine-id /var/lib/dbus/machine-id
}
make_dnf_packages() {