From: Max Kellermann <max+openembedded@blarg.de>
To: openembedded-core@lists.openembedded.org
Cc: Max Kellermann <max.kellermann@gmail.com>
Subject: [PATCH 3/3] initrdscripts: merge multiple "mkdir" calls
Date: Thu, 7 Mar 2019 14:04:01 +0100 [thread overview]
Message-ID: <20190307130401.15700-3-max+openembedded@blarg.de> (raw)
In-Reply-To: <20190307130401.15700-1-max+openembedded@blarg.de>
From: Max Kellermann <max.kellermann@gmail.com>
Reduce overhead.
Signed-off-by: Max Kellermann <max.kellermann@gmail.com>
---
meta/recipes-core/initrdscripts/files/init-live.sh | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
mode change 100644 => 100755 meta/recipes-core/initrdscripts/files/init-live.sh
diff --git a/meta/recipes-core/initrdscripts/files/init-live.sh b/meta/recipes-core/initrdscripts/files/init-live.sh
old mode 100644
new mode 100755
index 65183d7eec..b20660b60a
--- a/meta/recipes-core/initrdscripts/files/init-live.sh
+++ b/meta/recipes-core/initrdscripts/files/init-live.sh
@@ -28,8 +28,7 @@ udev_daemon() {
_UDEV_DAEMON=`udev_daemon`
early_setup() {
- mkdir -p /proc
- mkdir -p /sys
+ mkdir -p /proc /sys /run /var/run
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t devtmpfs none /dev
@@ -37,9 +36,6 @@ early_setup() {
# support modular kernel
modprobe isofs 2> /dev/null
- mkdir -p /run
- mkdir -p /var/run
-
$_UDEV_DAEMON --daemon
udevadm trigger --action=add
}
--
2.20.1
next prev parent reply other threads:[~2019-03-07 13:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-07 13:03 [PATCH 1/3] libsndfile1: make sqlite and FLAC/Vorbis optional Max Kellermann
2019-03-07 13:04 ` [PATCH 2/3] useradd-staticids: print exception after parse_args() error Max Kellermann
2019-03-07 13:04 ` Max Kellermann [this message]
2019-03-07 13:12 ` [PATCH 1/3] libsndfile1: make sqlite and FLAC/Vorbis optional Burton, Ross
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=20190307130401.15700-3-max+openembedded@blarg.de \
--to=max+openembedded@blarg.de \
--cc=max.kellermann@gmail.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.