[systemd-devel] [Feature request] A way to native import /proc/cmdline within unit

Lennart Poettering lennart at poettering.net
Thu Jul 25 13:06:24 PDT 2013


On Sat, 20.07.13 16:37, Gerardo Exequiel Pozzi (vmlinuz386 at yahoo.com.ar) wrote:

> Hello
> 
> I am maintainer of Archiso project (The Arch Linux live ISO creator).
> 
> I like a feature for systemd within unit files, mainly for importing
> /proc/cmdline in initramfs stage, or in a generic form for any other
> file with a similar format. Something like ImportOneLineFile=, like
> current EnvironmentFile=.
> 
> In this way, we can use/pass parameters to Exec*= directives if needed.

So you awant to import kernel cmdline arguments into your environment?
Note that you can do that already with the systemd.setenv= kernel
command line option. What else do you need?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list