that case just don't copy any modules.
* New `console' mode for userv service.
* Move README.userv to autopkgtest-xenlvm package (and hence to
/usr/share/doc/autopkgtest-xenlvm).
+ * Do not mind if directory named by adt_modules doesn't exist - in
+ that case just don't copy any modules.
--
adt_modules /lib/modules/`uname -r`
Directory with modules to be copied into the testbed.
+ If this directory does not exist, no modules will be copied.
adt_lvm_vg the system's LVM volume group if there is only one
LVM volume group to create base filesystem image in.
cp ${ADT_XENLVM_SHARE}/fixups-inside $dest/root/
-mkdir -p $dest/lib/modules
-cp -a "${adt_modules}" $dest/lib/modules/.
+if test -d "${adt_modules}"; then
+ mkdir -p $dest/lib/modules
+ cp -a "${adt_modules}" $dest/lib/modules/.
+fi
echo xennet >>$dest/etc/modules