Package: initramfs-tools Version: 0.120 Tags: patch -------- Forwarded Message -------- From: Robert Nelson <robertcnel...@gmail.com> To: Ben Hutchings <b...@decadent.org.uk> Cc: Vagrant Cascadian <vagr...@debian.org> Subject: [debian] initramfs-tools: add PARTUUID to resolve_device Date: Tue, 6 Oct 2015 16:12:33 -0500 Message-id: <caochtyhen_kmaykqegtvx6tckwbbgaskujx9gnqzwhjcewu...@mail.gmail.com>
Hi Ben, Recently in u-boot (v2015.10-rc4), TI devices now pass's root=PARTUUID=<uuid> (1). This is locking up boards when using an initrd, i've attached my first pass for a patch for initramfs-tools allows my boards to boot into debian 1: http://git.denx.de/?p=u-boot.git;a=commit;h=437bc42e7ff930dc4d4bd47199d2e823cf84bf4c Regards, -- Robert Nelson https://rcn-ee.com/
From ba41ded30e004f466412973bea84fdc60f61869f Mon Sep 17 00:00:00 2001 From: Robert Nelson <robertcnel...@gmail.com> Date: Tue, 6 Oct 2015 16:04:48 -0500 Subject: [PATCH] scripts/functions: add PARTUUID to resolve_device function Signed-off-by: Robert Nelson <robertcnel...@gmail.com> --- scripts/functions | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/functions b/scripts/functions index 8c1bb1f..4877ae2 100644 --- a/scripts/functions +++ b/scripts/functions @@ -321,6 +321,9 @@ resolve_device() { esac DEV="/dev/disk/by-label/${DEV}" ;; + PARTUUID=*) + DEV="/dev/disk/by-partuuid/${DEV#PARTUUID=}" + ;; UUID=*) DEV="/dev/disk/by-uuid/${DEV#UUID=}" ;; -- 2.5.3
signature.asc
Description: This is a digitally signed message part