symlinks should point into install image not rpm build image
Sapan Bhatia [Fri, 17 Feb 2012 21:09:39 +0000 (16:09 -0500)]
bootcd.spec

index cda3c0a..1bf3180 100644 (file)
@@ -104,6 +104,8 @@ 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 /lib/systemd/system/pl_boot.target $RPM_BUILD_ROOT/etc/systemd/system/default.target
+mkdir -p $RPM_BUILD_ROOT/etc/systemd/system/pl_boot.target.wants
+mkdir -p $RPM_BUILD_ROOT/etc/systemd/system/pl_sysinit.target.wants
 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