From 5369e7b1b4508d76259d38d2bbd1532165440ee7 Mon Sep 17 00:00:00 2001 From: Hangfan Li Date: Fri, 5 Sep 2025 10:58:19 +0800 Subject: [PATCH] fix: mkdir --- oerv-firstboot.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/oerv-firstboot.spec b/oerv-firstboot.spec index b373dee..a61f2f4 100644 --- a/oerv-firstboot.spec +++ b/oerv-firstboot.spec @@ -22,6 +22,7 @@ Requires: coreutils %install install -Dm 755 oerv-firstboot.sh %{buildroot}/%{_sbindir}/oerv-firstboot.sh install -Dm 644 oerv-firstboot.service %{buildroot}/etc/systemd/system/oerv-firstboot.service +mkdir -p "%{buildroot}/etc/systemd/system/multi-user.target.wants/" ln -s "/etc/systemd/system/oerv-firstboot.service" "%{buildroot}/etc/systemd/system/multi-user.target.wants/oerv-firstboot.service" %files