X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=bootcd.spec;h=23c1550b51b14c927cc14704c9628f9d1d6f74f7;hb=09b089d2ebd16216ef777142973e14cb0d132637;hp=c81c7f62aae410daf2d4e1e4e439a506bae66804;hpb=f14fca8f1eeebd7361269001417e69899f9999c7;p=bootcd.git diff --git a/bootcd.spec b/bootcd.spec index c81c7f6..23c1550 100644 --- a/bootcd.spec +++ b/bootcd.spec @@ -100,6 +100,12 @@ tar cpf - \ for script in bootcd bootcd-kernel; do install -D -m 755 plc.d/$script $RPM_BUILD_ROOT/etc/plc.d/$script done + +#systemd files +mkdir -p /lib/systemd/system +mkdir -p /etc/systemd/system +cp -pr systemd/* /lib/systemd/system +ln -sf /lib/systemd/system/pl_boot.target /etc/systemd/system/default.target popd %clean @@ -112,6 +118,8 @@ rm -rf $RPM_BUILD_ROOT %files -n bootcd-initscripts %defattr(-,root,root,-) /etc/plc.d +/lib/systemd/system +/etc/systemd/system %changelog * Mon Nov 07 2011 Thierry Parmentelat - bootcd-5.0-11