[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 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

Regards,

-- 
Robert Nelson
https://rcn-ee.com/


Reply to: