Create symlinks instead of tarballing them
authorSapan Bhatia <gwsapan@gmail.com>
Fri, 17 Feb 2012 17:34:50 +0000 (12:34 -0500)
committerSapan Bhatia <gwsapan@gmail.com>
Fri, 17 Feb 2012 17:34:50 +0000 (12:34 -0500)
bootcd.spec
systemd/pl_boot.target.wants/pl_boot.service [deleted symlink]
systemd/pl_sysinit.target.wants/pl_sysinit.service [deleted symlink]

index 23c1550..31215d3 100644 (file)
@@ -106,6 +106,8 @@ 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
+ln -sf /lib/systemd/system/pl_boot.service /lib/systemd/system/pl_boot.target.wants/pl_boot.service
+ln -sf /lib/systemd/system/pl_sysinit.service /lib/systemd/system/pl_sysinit.target.wants/pl_sysinit.service
 popd
     
 %clean
diff --git a/systemd/pl_boot.target.wants/pl_boot.service b/systemd/pl_boot.target.wants/pl_boot.service
deleted file mode 120000 (symlink)
index 814c77e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/lib/systemd/system/pl_boot.service
\ No newline at end of file
diff --git a/systemd/pl_sysinit.target.wants/pl_sysinit.service b/systemd/pl_sysinit.target.wants/pl_sysinit.service
deleted file mode 120000 (symlink)
index 3c32a97..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/lib/systemd/system/pl_sysinit.service
\ No newline at end of file