Changeset 5892


Ignore:
Timestamp:
Sep 21, 2017, 10:04:19 AM (2 years ago)
Author:
mabarracus
Message:

Force reloading partition schema when creating partitions

Location:
n4d-lliurexberry/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • n4d-lliurexberry/trunk/fuentes/debian/changelog

    r5876 r5892  
     1n4d-lliurexberry (0.23.3) xenial; urgency=medium
     2
     3  * Force reloading partition schema when creating partitions
     4
     5 -- M.Angel Juan <m.angel.juan@gmail.com>  Thu, 21 Sep 2017 10:03:08 +0200
     6
    17n4d-lliurexberry (0.23.2) xenial; urgency=medium
    28
  • n4d-lliurexberry/trunk/fuentes/install/usr/sbin/create_llxberry_sd

    r5876 r5892  
    6868fi
    6969
    70 umount ${device}? || true
     70umount -l ${device}? || true
    7171# Delete partitions table
    7272dd if=/dev/zero of=$device bs=512 count=1
     73# Refresh partitions
     74partprobe ${device}
    7375# Create new partitions table
    7476parted -s $device mklabel msdos
     
    7779parted -a minimal -s $device set 1 boot on
    7880parted -a minimal -s $device mkpart primary ext4 50 '100%'
     81# Refresh partitions
     82partprobe ${device}
    7983# Format partition
    8084partition_boot=$(get_first_partition $device boot)
Note: See TracChangeset for help on using the changeset viewer.