From 802fc7d71fce12964863d6e07218bd0dc3bd384c Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Tue, 7 Oct 2014 09:38:25 -0500 Subject: [PATCH] distro_defaults: set bootargs when set_boot_args is not defined.. --- lib/distro_defaults.cmd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/distro_defaults.cmd b/lib/distro_defaults.cmd index 7e2739e..b8f3c8a 100644 --- a/lib/distro_defaults.cmd +++ b/lib/distro_defaults.cmd @@ -80,6 +80,8 @@ for i in 1 2 3 4 5 6 7 ; do fi; if test -n ${set_boot_args}; then run set_boot_args; + else + setenv bootargs console=${console} ${optargs} root=${root} rootfstype=${mmcrootfstype} rootwait fixrtc ${systemd} ${cmdline}; fi; echo debug: [${bootargs}] ... ; echo debug: [bootz ${kernel_addr_r} ${ramdisk_addr_r}:${initrd_size} ${fdt_addr_r}] ... ; @@ -91,6 +93,8 @@ for i in 1 2 3 4 5 6 7 ; do fi; if test -n ${set_boot_args}; then run set_boot_args; + else + setenv bootargs console=${console} ${optargs} root=${root} rootfstype=${mmcrootfstype} rootwait fixrtc ${systemd} ${cmdline}; fi; echo debug: [${bootargs}] ... ; echo debug: [bootz ${kernel_addr_r} - ${fdt_addr_r}] ... ;