[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#801154: [PATCH initramfs-tools 1/2] scripts/functions: Use blkid to resolve LABEL= and UUID= block device IDs



On Thu, 2015-12-10 at 14:27 -0600, Robert Nelson wrote:
> On Wed, Dec 9, 2015 at 12:35 PM, Ben Hutchings <ben@decadent.org.uk>
> wrote:
> > This is a preparatory patch for fixing #801154.
> > 
> > Ben.
> > ---
> > This means we will deal correctly with various other characters
> > than
> > '/' that also need to be escaped.
> > 
> > Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
> 
> Looks good so far on my beaglebone black
> 
> no regression with Jessie:
> 
> debian@beaglebone:~$ blkid
> /dev/mmcblk0p1: LABEL="BOOT"
> UUID="50cd58f9-a769-4f14-b2b1-9f41bb2bb507" TYPE="ext4"
> 
> debian@beaglebone:~$ cat /proc/cmdline
> console=ttyO0,115200n8 root=UUID=50cd58f9-a769-4f14-b2b1-9f41bb2bb507
> ro rootfstype=ext4 rootwait
> 
> debian@beaglebone:~$ cat /proc/cmdline
> console=ttyO0,115200n8 root=LABEL=BOOT ro rootfstype=ext4 rootwait
> 
> For Stretch/sid, i need to rebuild the eMMC/rootfs with stretch's
> sfdisk and with gpt enabled so i can can get a partuuid

blkid shows them even for MBR partitions.

Ben.

-- 
Ben Hutchings
If more than one person is responsible for a bug, no one is at fault.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: