/[smeserver]/rpms/e-smith-runit/sme10/e-smith-runit-2.6.0-bz11013-sme-server.target.patch
ViewVC logotype

Annotation of /rpms/e-smith-runit/sme10/e-smith-runit-2.6.0-bz11013-sme-server.target.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Wed Sep 30 20:57:52 2020 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-runit-2_6_0-11_el7_sme, e-smith-runit-2_6_0-10_el7_sme, e-smith-runit-2_6_0-9_el7_sme, e-smith-runit-2_6_0-8_el7_sme, e-smith-runit-2_6_0-12_el7_sme, e-smith-runit-2_6_0-7_el7_sme, HEAD
* Wed Sep 30 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme
- enable for sme-server.target [SME: 11013]

1 jpp 1.1 diff -Nur e-smith-runit-2.6.0.old/createlinks e-smith-runit-2.6.0/createlinks
2     --- e-smith-runit-2.6.0.old/createlinks 2020-09-30 16:46:55.153000000 -0400
3     +++ e-smith-runit-2.6.0/createlinks 2020-09-30 16:54:38.004000000 -0400
4     @@ -22,8 +22,10 @@
5     " $!";
6     }
7    
8     -system('mkdir -p root/usr/lib/systemd/system/multi-user.target.wants/');
9     - unlink "root/usr/lib/systemd/system/multi-user.target.wants/runit.service";
10     -symlink("/usr/lib/systemd/system/runit.service",
11     - "root/usr/lib/systemd/system/multi-user.target.wants/runit.service")
12     - or die "Can't symlink to root/usr/lib/systemd/system/multi-user.target.wants/runit.service: $!";
13     +foreach my $target (qw(multi-user sme-server))
14     +{
15     +system('mkdir -p root/usr/lib/systemd/system/'.$target.'.target.wants/');
16     +symlink("../runit.service",
17     + "root/usr/lib/systemd/system/$target.target.wants/runit.service")
18     + or die "Can't symlink to root/usr/lib/systemd/system/$target.target.wants/runit.service: $!";
19     +}

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed