From 4df088138b480c7385e4057ef7eb5cfd158dd313 Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Fri, 17 Feb 2012 12:34:50 -0500 Subject: [PATCH] Create symlinks instead of tarballing them --- bootcd.spec | 2 ++ systemd/pl_boot.target.wants/pl_boot.service | 1 - systemd/pl_sysinit.target.wants/pl_sysinit.service | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 120000 systemd/pl_boot.target.wants/pl_boot.service delete mode 120000 systemd/pl_sysinit.target.wants/pl_sysinit.service 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 -- 2.43.0