[rear-devel] [rear/rear] 14c88d: Update 120_confirm_wipedisk_disks.sh

Johannes Meixner noreply at github.com
Fri Dec 3 14:55:42 CET 2021

  Branch: refs/heads/jsmeix-improve-wipe-disks
  Home:   https://github.com/rear/rear
  Commit: 14c88d9705f36240c529379df5753dcd4789bfc9
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-12-03 (Fri, 03 Dec 2021)

  Changed paths:
    M usr/share/rear/layout/recreate/default/120_confirm_wipedisk_disks.sh

  Log Message:
  Update 120_confirm_wipedisk_disks.sh

In layout/recreate/default/120_confirm_wipedisk_disks.sh
when there is no PKNAME for disks we use KNAME (so the parent of a disk is the disk itself)
and we also use KNAME as fallback when lsblk does not support PKNAME and proceed bona fide
so we wipe only KNAME of a partition but not its parent disk when PKNAME is not supported.
No longer misuse USER_INPUT_WIPE_DISKS_CONFIRMATION which is meant to be set only by the user
but set an appropriate timeout for the the user confirmation dialog which is simpler and more straightforward.

More information about the rear-devel mailing list