mkimage-profiles/features.in/build-vm
Michael Shigorin cb764516eb build-vm: standalone build is a must, too
The problem was spotted by Alexander Bandura:
bin/tar2vm wasn't present in the generated profile.

I considered extending features.in/Makefile to include
bin/ alongside lib/ but that would make the helper's location
unpredictable (unless BUILDDIR is specified explicitly) so
restricting sudoers would be harder; worse yet, the copied file
would come with write access for the user building an image.

The implications in restricted case are complex enough anyways
so the recommended implementation would only include a fixed
readonly location like /usr/share/mkimage-profiles/bin/tar2vm
as laid out in doc/vm.txt, and that means it's in the metaprofile
not a generated profile.
2012-07-18 16:06:15 +03:00
..
image-scripts.d initial vm-{net,ssh} features 2012-06-25 19:29:38 +03:00
lib prep optimization 2012-07-16 18:24:18 +03:00
config.mk lib/functions.mk: initial xport() 2012-07-02 16:14:34 +03:00
generate.mk build-vm: standalone build is a must, too 2012-07-18 16:06:15 +03:00
README initial build-vm feature 2012-06-18 21:56:46 +03:00

Эта фича конфигурирует создание образа виртуальной машины (VM).
Дополняет финальную стадию сборки (lib/, image-scripts.d/).
Требует для работы sudo(8) -- см. тж. ../../doc/vm.txt .