All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Yang <liezhi.yang@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH 20/24] init-install: add timeout for legacy grub
Date: Fri, 25 May 2018 10:48:25 +0800	[thread overview]
Message-ID: <a6c983ad997e31dacfc8c464fc5e5fa7289c2c8a.1527216285.git.liezhi.yang@windriver.com> (raw)
In-Reply-To: <cover.1527216285.git.liezhi.yang@windriver.com>

From: Catalin Enache <catalin.enache@windriver.com>

After installing an image from an iso, booting the system using
the legacy boots makes the grub prompt wait for an enter.

This is not desirable since many of this devices are embedded
devices that should start by them self without user entry.

Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
---
 meta/recipes-core/initrdscripts/files/init-install.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/initrdscripts/files/init-install.sh b/meta/recipes-core/initrdscripts/files/init-install.sh
index 28e8f09..e715796 100644
--- a/meta/recipes-core/initrdscripts/files/init-install.sh
+++ b/meta/recipes-core/initrdscripts/files/init-install.sh
@@ -302,6 +302,8 @@ if [ -f /etc/grub.d/00_header -a $grub_version -ne 0 ] ; then
     GRUBCFG="/boot/grub/grub.cfg"
     mkdir -p $(dirname $GRUBCFG)
     cat >$GRUBCFG <<_EOF
+timeout=5
+default=0
 menuentry "Linux" {
     search --no-floppy --fs-uuid $boot_uuid --set root
     linux /$kernel root=PARTUUID=$root_part_uuid $rootwait rw $5 $3 $4 quiet
-- 
2.7.4



  parent reply	other threads:[~2018-05-25  2:42 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-25  2:48 [PATCH 00/24] meta: various fixes Robert Yang
2018-05-25  2:48 ` [PATCH 01/24] base.bbclass: Add buildcfg multilib values Robert Yang
2018-05-26  9:51   ` Alexander Kanavin
2018-05-28  3:24     ` Robert Yang
2018-05-28  5:23       ` Alexander Kanavin
2018-05-28  6:56         ` Robert Yang
2018-05-25  2:48 ` [PATCH 02/24] runqemu-extract-sdk: allow install debugfs on rootfs Robert Yang
2018-05-28 17:14   ` Randy MacLeod
2018-05-29  1:39     ` Robert Yang
2018-05-29  1:40       ` Robert Yang
2018-05-25  2:48 ` [PATCH 03/24] initscripts: Avoid starting rpcbind daemon twice Robert Yang
2018-05-25  2:48 ` [PATCH 04/24] lsof: fix LSOF_CCV in version.h Robert Yang
2018-05-25  2:48 ` [PATCH 05/24] shadow: fix pam configs for chpasswd, newusers Robert Yang
2018-05-25  2:48 ` [PATCH 06/24] at: add libselinux to PACKAGECONFIG Robert Yang
2018-05-29 22:01   ` Andre McCurdy
2018-05-30  8:48     ` Robert Yang
2018-05-25  2:48 ` [PATCH 07/24] busybox: handle syslog Robert Yang
2018-05-25  2:48 ` [PATCH 08/24] gawk: fix command location in ptest script Robert Yang
2018-05-25  2:48 ` [PATCH 09/24] xinetd: add Init Script Actions to xinetd script Robert Yang
2018-05-25  2:48 ` [PATCH 10/24] dbus: update build options when enable ptest Robert Yang
2018-05-25  3:01   ` Robert Yang
2018-05-25  2:48 ` [PATCH 11/24] gcc-sanitizers: Fix libtool .la files Robert Yang
2018-05-29 17:32   ` Khem Raj
2018-05-25  2:48 ` [PATCH 12/24] oe/copy_buildsystem.py: add SDK_LAYERS_EXCLUDE_PATTERN Robert Yang
2018-05-25  2:48 ` [PATCH 13/24] dbus-test: sync x11 configure options with dbus Robert Yang
2018-05-25  3:01   ` Robert Yang
2018-05-25  2:48 ` [PATCH 14/24] site/powerpc64-linux: add cvs_cv_func_printf_ptr Robert Yang
2018-05-25  2:48 ` [PATCH 15/24] rootfs-postcommands: split ssh_allow_empty_password Robert Yang
2018-05-25  2:48 ` [PATCH 16/24] dropbear: add default config file to disable root login Robert Yang
2018-05-25  3:34   ` Andre McCurdy
2018-05-25  5:42     ` Robert Yang
2018-05-25  2:48 ` [PATCH 17/24] toolchain-scripts.bbclass: do not extend dependency if extended already Robert Yang
2018-05-25  2:48 ` [PATCH 18/24] shadow: update ownership and permission of /var/spool/mail Robert Yang
2018-05-25  2:48 ` [PATCH 19/24] populate_sdk_ext.bbclass: add ESDK_MANIFEST_EXCLUDES Robert Yang
2018-05-25  2:48 ` Robert Yang [this message]
2018-05-25  2:48 ` [PATCH 21/24] glibc: re-package for libnss-db Robert Yang
2018-05-25  2:48 ` [PATCH 22/24] rpcbind: add option to make user able to use fixed port number Robert Yang
2018-05-25  2:48 ` [PATCH 23/24] openssl-nativesdk: Fix "can't open config file" warning Robert Yang
2018-05-25  2:48 ` [PATCH 24/24] nativesdk-rpm: Add wrappers for nativesdk support Robert Yang
2018-05-25  3:04 ` [PATCH 00/24] meta: various fixes Robert Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a6c983ad997e31dacfc8c464fc5e5fa7289c2c8a.1527216285.git.liezhi.yang@windriver.com \
    --to=liezhi.yang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.