Skip to contentSkip to conversation

linux-yocto-tiny-kexecboot_3.17: add rdinit=/usr/bin/kexecboot to the cmdline

PATCH New Andrea Adami 1 participant 1 message Oct 16, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-yocto-tiny-kexecboot_3.17: add rdinit=/usr/bin/kexecboot to the cmdline

The kernel behavior has changed and apparently the init symlink in the initramfs is ignored (no init seems executed).

---
 recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/akita/defconfig  | 2 +-
 recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/c7x0/defconfig   | 2 +-
 recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/collie/defconfig | 2 +-
 recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/poodle/defconfig | 2 +-
 recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/spitz/defconfig  | 2 +-
 recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/tosa/defconfig   | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/akita/defconfig +1 -1
index c1f8315..e9b9313 100644
@@ -35,7 +35,7 @@ CONFIG_AEABI=y
 # CONFIG_COMPACTION is not set
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
-CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 loglevel=3"
+CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 rdinit=/usr/bin/kexecboot fbcon=rotate:1 loglevel=3"
 CONFIG_CMDLINE_FORCE=y
 CONFIG_KEXEC=y
 # CONFIG_BINFMT_SCRIPT is not set
recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/c7x0/defconfig +1 -1
index 89928cd..f6fe618 100644
@@ -36,7 +36,7 @@ CONFIG_AEABI=y
 # CONFIG_COMPACTION is not set
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
-CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 loglevel=3"
+CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 rdinit=/usr/bin/kexecboot loglevel=3"
 CONFIG_CMDLINE_FORCE=y
 CONFIG_KEXEC=y
 # CONFIG_BINFMT_SCRIPT is not set
recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/collie/defconfig +1 -1
index dfabe70..3209bd3 100644
@@ -33,7 +33,7 @@ CONFIG_AEABI=y
 # CONFIG_COMPACTION is not set
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
-CONFIG_CMDLINE="console=tty1 console=ttySA0,115200n8 fbcon=rotate:1 mem=64M loglevel=3"
+CONFIG_CMDLINE="console=tty1 console=ttySA0,115200n8 rdinit=/usr/bin/kexecboot fbcon=rotate:1 mem=64M loglevel=3"
 CONFIG_CMDLINE_FORCE=y
 CONFIG_KEXEC=y
 # CONFIG_BINFMT_SCRIPT is not set
recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/poodle/defconfig +1 -1
index b9e052b..2f30d0c 100644
@@ -34,7 +34,7 @@ CONFIG_AEABI=y
 # CONFIG_COMPACTION is not set
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
-CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 loglevel=3"
+CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 rdinit=/usr/bin/kexecboot fbcon=rotate:1 loglevel=3"
 CONFIG_CMDLINE_FORCE=y
 CONFIG_KEXEC=y
 # CONFIG_BINFMT_SCRIPT is not set
recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/spitz/defconfig +1 -1
index 25df112..908aeb2 100644
@@ -35,7 +35,7 @@ CONFIG_AEABI=y
 # CONFIG_COMPACTION is not set
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
-CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 loglevel=3"
+CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 rdinit=/usr/bin/kexecboot fbcon=rotate:1 loglevel=3"
 CONFIG_CMDLINE_FORCE=y
 CONFIG_KEXEC=y
 # CONFIG_BINFMT_SCRIPT is not set
recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/tosa/defconfig +1 -1
index b98928e..dc298bf 100644
@@ -34,7 +34,7 @@ CONFIG_AEABI=y
 # CONFIG_COMPACTION is not set
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
-CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 loglevel=3"
+CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 rdinit=/usr/bin/kexecboot loglevel=3"
 CONFIG_CMDLINE_FORCE=y
 CONFIG_KEXEC=y
 # CONFIG_BINFMT_SCRIPT is not set
Signature · 1 line
1.9.1