8b84b5e460
This works by configuring the toolbox container after it has been created, instead of before. The toolbox script itself is mentioned as the entry point of the container, which does 'exec sleep +Inf' once the initialization is done. A new command 'init-container' was added to perform the initialization. It is primarily meant to be used as the entry point for all toolbox containers, and must be run inside the container that's to be initialized. It is not expected to be directly invoked by humans, and cannot be used on the host. As a result, the default name for the toolbox containers is now fedora-toolbox-<version-id>, not fedora-toolbox-<user>-<version-id>. For backwards compatibility, 'toolbox enter' and 'toolbox run' will continue to work with containers using the old naming scheme. https://github.com/debarshiray/toolbox/pull/160
30 lines
519 B
Meson
30 lines
519 B
Meson
go_md2man_command = [
|
|
go_md2man,
|
|
'-in', '@INPUT@',
|
|
'-out', '@OUTPUT@',
|
|
]
|
|
|
|
manuals = [
|
|
'toolbox.1',
|
|
'toolbox-create.1',
|
|
'toolbox-enter.1',
|
|
'toolbox-init-container.1',
|
|
'toolbox-list.1',
|
|
'toolbox-rm.1',
|
|
'toolbox-rmi.1',
|
|
'toolbox-run.1',
|
|
]
|
|
|
|
foreach manual: manuals
|
|
input = manual + '.md'
|
|
output = manual
|
|
|
|
custom_target(
|
|
output,
|
|
command: go_md2man_command,
|
|
input: input,
|
|
install: true,
|
|
install_dir: join_paths(get_option('mandir'), 'man1'),
|
|
output: output,
|
|
)
|
|
endforeach
|