Bug 54377 - RFE: templated [Install] for target units [ w/ patch ]
Summary: RFE: templated [Install] for target units [ w/ patch ]
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: high enhancement
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-02 08:14 UTC by Oleksii Shevchuk
Modified: 2013-02-02 14:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Add trivial templates support (%p, %i) (2.57 KB, patch)
2012-11-02 22:13 UTC, Oleksii Shevchuk
Details | Splinter Review
Add trivial templates support (%p, %i) for RequiredBy (1.06 KB, patch)
2012-11-03 08:19 UTC, Oleksii Shevchuk
Details | Splinter Review

Description Oleksii Shevchuk 2012-09-02 08:14:55 UTC
For now I couldn't do something about

[Install]
WantedBy=wlan@%i.target

This seriously reduce templates usage
Comment 1 Oleksii Shevchuk 2012-11-02 22:13:50 UTC
Created attachment 69472 [details] [review]
Add trivial templates support (%p, %i)

Works for me, but review/rework of name_printf function/name needed
Comment 2 Oleksii Shevchuk 2012-11-03 08:19:35 UTC
Created attachment 69476 [details] [review]
Add trivial templates support (%p, %i) for RequiredBy
Comment 3 Zbigniew Jedrzejewski-Szmek 2013-02-02 14:01:06 UTC
Should be implemented in 7584d236e and 3f0b2f0f4. If anything is missing, please reopen or open a new bug.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.