mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 09:50:37 +00:00
so not write mtab for bookworm builds as this is now allowed
This commit is contained in:
parent
69865d9eb6
commit
9eb2686fd5
1 changed files with 7 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
from bootstrapvz.common import task_groups
|
from bootstrapvz.common import task_groups
|
||||||
from bootstrapvz.common.tasks import image, loopback, initd, ssh, logicalvolume
|
from bootstrapvz.common.tasks import image, loopback, initd, ssh, logicalvolume, filesystem
|
||||||
from .tasks import packages, boot
|
from .tasks import packages, boot
|
||||||
|
|
||||||
|
|
||||||
|
@ -35,11 +35,16 @@ def resolve_tasks(taskset, manifest):
|
||||||
if manifest.provider['console'] == 'virtual':
|
if manifest.provider['console'] == 'virtual':
|
||||||
taskset.update([boot.SetGrubConsolOutputDeviceToVirtual])
|
taskset.update([boot.SetGrubConsolOutputDeviceToVirtual])
|
||||||
|
|
||||||
from bootstrapvz.common.releases import jessie
|
from bootstrapvz.common.releases import jessie, bookworm
|
||||||
if manifest.release >= jessie:
|
if manifest.release >= jessie:
|
||||||
taskset.update([boot.SetGrubConsolOutputDeviceToVirtual,
|
taskset.update([boot.SetGrubConsolOutputDeviceToVirtual,
|
||||||
boot.SetSystemdTTYVTDisallocate,
|
boot.SetSystemdTTYVTDisallocate,
|
||||||
])
|
])
|
||||||
|
if manifest.release >= bookworm:
|
||||||
|
if filesystem.CopyMountTable in taskset:
|
||||||
|
taskset.remove(filesystem.CopyMountTable)
|
||||||
|
if filesystem.RemoveMountTable in taskset:
|
||||||
|
taskset.remove(filesystem.RemoveMountTable)
|
||||||
|
|
||||||
|
|
||||||
def resolve_rollback_tasks(taskset, manifest, completed, counter_task):
|
def resolve_rollback_tasks(taskset, manifest, completed, counter_task):
|
||||||
|
|
Loading…
Add table
Reference in a new issue