tests: fix preparation of "small" backup storage in Debian 7
losetup Debian 7 doesn't deal with /dev/loop-control, so needs existing /dev/loop* devices. Just /dev/loop0 is enough.
This commit is contained in:
parent
fae73e6373
commit
8497471a72
@ -184,6 +184,8 @@ class TC_10_BackupVMMixin(qubes.tests.BackupTestsMixin):
|
||||
vms = self.create_backup_vms()
|
||||
self.backupvm.start()
|
||||
retcode = self.backupvm.run(
|
||||
# Debian 7 has too old losetup to handle loop-control device
|
||||
"mknod /dev/loop0 b 7 0;"
|
||||
"truncate -s 50M /home/user/backup.img && "
|
||||
"mkfs.ext4 -F /home/user/backup.img && "
|
||||
"mkdir /home/user/backup && "
|
||||
|
Loading…
Reference in New Issue
Block a user