From: Sapan Bhatia Date: Fri, 17 Feb 2012 17:34:50 +0000 (-0500) Subject: Create symlinks instead of tarballing them X-Git-Tag: bootcd-5.1-1~18 X-Git-Url: http://git.onelab.eu/?p=bootcd.git;a=commitdiff_plain;h=4df088138b480c7385e4057ef7eb5cfd158dd313 Create symlinks instead of tarballing them --- diff --git a/bootcd.spec b/bootcd.spec index 23c1550..31215d3 100644 --- a/bootcd.spec +++ b/bootcd.spec @@ -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 index 814c77e..0000000 --- a/systemd/pl_boot.target.wants/pl_boot.service +++ /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 index 3c32a97..0000000 --- a/systemd/pl_sysinit.target.wants/pl_sysinit.service +++ /dev/null @@ -1 +0,0 @@ -/lib/systemd/system/pl_sysinit.service \ No newline at end of file