meta-rockchip/wic
Sergey 'Jin' Bostandzhyan 1aea373d88 Add configuration parameter to set boot device for the image
wic modifies /etc/fstab on the root file system during image generation,
without the --ondisk parameter it assumes some default device name which
leads to an /etc/fstab file populated with /dev/sda entries.
This is not correct for the machines in the rockchip layer which use
mmcblkX.

This patch introduces an RK_BOOT_DEVICE option which is being set in the
machine configuratoin and which is being used in the wks files.
The variable expansion in the wks is handled by propagating the variable to
the wic environment.

This results in correct /etc/fstab entries and in a correct kernel
bootargs root= parameter.

Signed-off-by: Sergey Bostandzhyan <jin@mediatomb.cc>
2020-02-11 10:20:58 -05:00
..
firefly-rk3288.wks Add configuration parameter to set boot device for the image 2020-02-11 10:20:58 -05:00
rk3288-boot.wks Add configuration parameter to set boot device for the image 2020-02-11 10:20:58 -05:00
rk3399-boot.wks Add configuration parameter to set boot device for the image 2020-02-11 10:20:58 -05:00
rock-pi-4.wks Add configuration parameter to set boot device for the image 2020-02-11 10:20:58 -05:00
tinker-board.wks Add configuration parameter to set boot device for the image 2020-02-11 10:20:58 -05:00
vyasa-rk3288.wks Add configuration parameter to set boot device for the image 2020-02-11 10:20:58 -05:00