git://git.onelab.eu
/
bootcd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f14fca8
)
install systemd files in bootcd
lxcbuild
author
Sapan Bhatia
<gwsapan@gmail.com>
Fri, 17 Feb 2012 16:34:03 +0000
(11:34 -0500)
committer
Sapan Bhatia
<gwsapan@gmail.com>
Fri, 17 Feb 2012 16:34:03 +0000
(11:34 -0500)
bootcd.spec
patch
|
blob
|
history
diff --git
a/bootcd.spec
b/bootcd.spec
index
c81c7f6
..
23c1550
100644
(file)
--- 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
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
popd
%clean
@@
-112,6
+118,8
@@
rm -rf $RPM_BUILD_ROOT
%files -n bootcd-initscripts
%defattr(-,root,root,-)
/etc/plc.d
%files -n bootcd-initscripts
%defattr(-,root,root,-)
/etc/plc.d
+/lib/systemd/system
+/etc/systemd/system
%changelog
* Mon Nov 07 2011 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - bootcd-5.0-11
%changelog
* Mon Nov 07 2011 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - bootcd-5.0-11