diff options
| author | Andrei Gherzan <andrei.gherzan@huawei.com> | 2021-07-13 10:37:45 +0100 |
|---|---|---|
| committer | Andrei Gherzan <andrei.gherzan@huawei.com> | 2021-07-13 10:37:45 +0100 |
| commit | 44f835aa489d1690b18ddd9a1704654acff00616 (patch) | |
| tree | d328929d98ee33af156488bfc4ed48ee52b369c7 | |
| parent | 0e48785e15d864438cade6e526056dbc92e7a690 (diff) | |
| download | meta-raspberrypi-ag/rootfstype.tar.gz | |
rpi-cmdline: Make rootfstype easier to customizeag/rootfstype
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
| -rw-r--r-- | recipes-bsp/bootfiles/rpi-cmdline.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-bsp/bootfiles/rpi-cmdline.bb b/recipes-bsp/bootfiles/rpi-cmdline.bb index 13fe304..74550ef 100644 --- a/recipes-bsp/bootfiles/rpi-cmdline.bb +++ b/recipes-bsp/bootfiles/rpi-cmdline.bb | |||
| @@ -7,7 +7,9 @@ INHIBIT_DEFAULT_DEPS = "1" | |||
| 7 | inherit deploy nopackages | 7 | inherit deploy nopackages |
| 8 | 8 | ||
| 9 | CMDLINE_DWC_OTG ?= "dwc_otg.lpm_enable=0" | 9 | CMDLINE_DWC_OTG ?= "dwc_otg.lpm_enable=0" |
| 10 | CMDLINE_ROOTFS ?= "root=/dev/mmcblk0p2 rootfstype=ext4 rootwait" | 10 | |
| 11 | CMDLINE_ROOT_FSTYPE ?= "rootfstype=ext4" | ||
| 12 | CMDLINE_ROOTFS ?= "root=/dev/mmcblk0p2 ${CMDLINE_ROOT_FSTYPE} rootwait" | ||
| 11 | 13 | ||
| 12 | CMDLINE_SERIAL ?= "${@oe.utils.conditional("ENABLE_UART", "1", "console=serial0,115200", "", d)}" | 14 | CMDLINE_SERIAL ?= "${@oe.utils.conditional("ENABLE_UART", "1", "console=serial0,115200", "", d)}" |
| 13 | 15 | ||
