summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/canned-wks/galileodisk-usb.wks
diff options
context:
space:
mode:
authorJianxun Zhang <jianxun.zhang@linux.intel.com>2016-10-31 17:02:02 -0700
committerSaul Wold <sgw@linux.intel.com>2016-11-01 08:23:15 -0700
commit9373044911df5eca470217f5c93e92c17793b319 (patch)
tree1aca3781aa1f05ef55b4ee677243a1092d38fd6c /scripts/lib/wic/canned-wks/galileodisk-usb.wks
parent8bad3a5c04154332f44d41900a1de9ec0b9167e5 (diff)
downloadmeta-intel-9373044911df5eca470217f5c93e92c17793b319.tar.gz
quark: use UUID for rootfs
Port the change http://lists.openembedded.org/pipermail/ openembedded-core/2016-October/127948.html into wks files in meta-intel. Note: This patch has not been on OE master branch at this point. Original commit message: ---------------------------------- systemd-bootdisk.wks: use PARTUUID Root device name in systemd-bootdisk.wks is 'sda'. This can cause images, produced using this wks to refuse booting if real device name is not 'sda'. For example, when booting MinnowBoard MAX from MicroSD card the boot process stucks with this message on the boot console output: Waiting for root device /dev/sda2... This happens because real device name of MicroSD card on this device is mmcblk1. Used --use-uuid option for root partition. This should make wic to put partition UUID instead of device name into kernel command line. [YOCTO #10485] Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com> ---------------------------------- Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'scripts/lib/wic/canned-wks/galileodisk-usb.wks')
-rw-r--r--scripts/lib/wic/canned-wks/galileodisk-usb.wks2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/canned-wks/galileodisk-usb.wks b/scripts/lib/wic/canned-wks/galileodisk-usb.wks
index b721c951..d746cc8d 100644
--- a/scripts/lib/wic/canned-wks/galileodisk-usb.wks
+++ b/scripts/lib/wic/canned-wks/galileodisk-usb.wks
@@ -4,6 +4,6 @@
4 4
5part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk sda --label msdos --active --align 1024 5part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk sda --label msdos --active --align 1024
6 6
7part / --source rootfs --ondisk sda --fstype=ext3 --label platform --align 1024 7part / --source rootfs --ondisk sda --fstype=ext3 --label platform --align 1024 --use-uuid
8 8
9bootloader --timeout=0 --append="rootwait console=ttyS1,115200n8 earlycon=uart8250,mmio32,0x9000b000,115200n8 reboot=efi,warm apic=debug rw LABEL=boot debugshell=5" 9bootloader --timeout=0 --append="rootwait console=ttyS1,115200n8 earlycon=uart8250,mmio32,0x9000b000,115200n8 reboot=efi,warm apic=debug rw LABEL=boot debugshell=5"