[arch-projects] [devtools] [PATCH 1/2] arch-nspawn: avoid escaping mount_args
eval is no longer involved in the execution of systemd-nspawn, so we no
longer need a layer of escaping on the arguments.
Signed-off-by: Dave Reisner
This fixes various errors one might encounter when trying to use a
build root or cachedir with whitespace in it.
Note that the cachedir fix is not a complete one, as pacman's output is
unreliable (and not meant for parsing here).
Signed-off-by: Dave Reisner
Am 10.08.2013 03:33, schrieb Dave Reisner:
This fixes various errors one might encounter when trying to use a build root or cachedir with whitespace in it.
Note that the cachedir fix is not a complete one, as pacman's output is unreliable (and not meant for parsing here).
What do you mean by unreliable? And well, it would be best if pacman would provide some kind of CLI API to get these kind of config options. We do a similar hack to get the users mirror for example. -- Pierre Schmitz, https://pierre-schmitz.com
On Aug 10, 2013 1:29 PM, "Pierre Schmitz"
Am 10.08.2013 03:33, schrieb Dave Reisner:
This fixes various errors one might encounter when trying to use a build root or cachedir with whitespace in it.
Note that the cachedir fix is not a complete one, as pacman's output is unreliable (and not meant for parsing here).
What do you mean by unreliable? And well, it would be best if pacman would provide some kind of CLI API to get these kind of config options. We do a similar hack to get the users mirror for example.
The cache dir listing in pacman's output delimits with whitespace, so you're sort of boned if you have a cache dir with whitespace in it. Yeah, there needs to be a better way...
-- Pierre Schmitz, https://pierre-schmitz.com
participants (3)
-
Dave Reisner
-
Dave Reisner
-
Pierre Schmitz