[Bug 1906320] Re: fake-device-wrapper should bind-mount efivars

2021-02-03 Thread Dimitri John Ledkov
pitti fake-devices-wrapper is not used for testing, usually. We also use it to run Ubiquity installer and make it pretend that it needs nvidia dkms modules; and we want to complete the VM install in the UEFI mode. Hence we want the wrapper think that UEFI and Secureboot is on; when doing those. -

[Bug 1906320] Re: fake-device-wrapper should bind-mount efivars

2020-11-30 Thread Martin Pitt
FTR, I would strongly advise against that, see https://github.com/martinpitt/umockdev/issues/110#issuecomment-736224503 . You want the tests to work independently on the hardware it's running on, so that you can run it on e.g. standard autopkgtest infra. You could create /sys/firmware/efi/efivars/