Skip to content

Commit 408b821

Browse files
authored
Merge pull request #32 from DimStar77/systemd
base: Fix path to systemd services
2 parents cc2eba3 + 8ab6468 commit 408b821

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/base.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ add_firstrun() {
154154
AFTER="systemd-networkd-wait-online.service"
155155
fi
156156

157-
if [ -d "$WORK/lib/systemd/system" ]; then
157+
if [ -d "$WORK/usr/lib/systemd/system" ]; then
158158
# systemd method
159-
cat >"$WORK/lib/systemd/system/cloud-firstrun.service" <<EOF
159+
cat >"$WORK/usr/lib/systemd/system/cloud-firstrun.service" <<EOF
160160
[Unit]
161161
Description=Cloud firstrun handler
162162
ConditionFileIsExecutable=/.firstrun.sh

0 commit comments

Comments
 (0)