openbouffalo / buildroot_bouffalo

Linux Image for the BL808 CPU by Bouffalo Lab
126 stars 34 forks source link

Mount root with a PartUUID #7

Closed Fishwaldo closed 1 year ago

Fishwaldo commented 1 year ago

Instead of hardcoded device path.

http://lists.busybox.net/pipermail/buildroot/2017-June/194458.html

gamelaster commented 1 year ago

Also, some of Buildroot configs moved to use PARTLABEL instead.

Fishwaldo commented 1 year ago

PARTLABEL requires a initramfs as the kernel itself can't resolve labels, only Partition UUID's. With the limited ram, not sure we want to go that path? (Although it would be nice!)

gamelaster commented 1 year ago

PARTLABEL doesn't require initramfs. The FSLABEL does. Since Linux can read PARTUUID, it can resolve PARTLABEL too. But it can't resolve FSUUID and FSLABEL.