Skip to content

remove kpartx workaround #344

@adrelanos

Description

@adrelanos
  kpartx -d "${ORIG_TARGET}" >/dev/null
  # Workaround for a bug in kpartx which doesn't clean up properly,
  # see Debian Bug #891077 and Github-PR grml/grml-debootstrap#112
  if dmsetup ls | grep -q "^${LOOP_PART} "; then
    kpartx -d "/dev/${LOOP_DISK}" >/dev/null
  fi

Should be fixed? Can this workaround be removed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions