Skip to content
  • anonym's avatar
    Wait for disk writes and udev events to settle between each partitioning action. · b3cf64e8
    anonym authored
    I doesn't seem enough to wait for udev to settle after partprobe. See
    this trace:
    
      [...]
      + MTOOLS_SKIP_CHECK=1 mlabel -i "${SYSTEM_PARTITION}" -n ::Tails
      init :: could not read boot sector
      Cannot initialize '::'
      mlabel: Cannot initialize drive
    
    Perhaps it would be enough to just call the `settle` function I just
    added only before `mlabel`, but who knows where a similar issue will
    appear next kernel upgrade? It's cheap to spam it, so why not?
    b3cf64e8