symlinks should point into install image not rpm build image
Sapan Bhatia [Fri, 17 Feb 2012 20:12:27 +0000 (15:12 -0500)]
bootcd.spec

index f211d5c..cda3c0a 100644 (file)
@@ -103,9 +103,9 @@ done
 mkdir -p $RPM_BUILD_ROOT/lib/systemd/system
 mkdir -p $RPM_BUILD_ROOT/etc/systemd/system
 cp -pr systemd/* $RPM_BUILD_ROOT/lib/systemd/system
-ln -sf $RPM_BUILD_ROOT/lib/systemd/system/pl_boot.target /etc/systemd/system/default.target
-ln -sf $RPM_BUILD_ROOT/lib/systemd/system/pl_boot.service /lib/systemd/system/pl_boot.target.wants/pl_boot.service
-ln -sf $RPM_BUILD_ROOT/lib/systemd/system/pl_sysinit.service /lib/systemd/system/pl_sysinit.target.wants/pl_sysinit.service
+ln -sf /lib/systemd/system/pl_boot.target $RPM_BUILD_ROOT/etc/systemd/system/default.target
+ln -sf /lib/systemd/system/pl_boot.service $RPM_BUILD_ROOT/lib/systemd/system/pl_boot.target.wants/pl_boot.service
+ln -sf /lib/systemd/system/pl_sysinit.service $RPM_BUILD_ROOT/lib/systemd/system/pl_sysinit.target.wants/pl_sysinit.service
 popd
     
 %clean