* [PATCH 0/1] image.bbclass: replace rootfs with /dev/root
@ 2014-03-27 2:29 Chen Qi
2014-03-27 2:29 ` [PATCH 1/1] " Chen Qi
0 siblings, 1 reply; 3+ messages in thread
From: Chen Qi @ 2014-03-27 2:29 UTC (permalink / raw)
To: openembedded-core
The following changes since commit f0e1c22ee1cc581fbe8a56e707dcdb015d58fdb6:
local.conf.sample.extended: update it for the archiver (2014-03-26 12:15:00 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib ChenQi/rootfs-dev-root
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/rootfs-dev-root
Chen Qi (1):
image.bbclass: replace rootfs with /dev/root
meta/classes/image.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
1.7.9.5
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] image.bbclass: replace rootfs with /dev/root
2014-03-27 2:29 [PATCH 0/1] image.bbclass: replace rootfs with /dev/root Chen Qi
@ 2014-03-27 2:29 ` Chen Qi
2014-04-11 13:18 ` Koen Kooi
0 siblings, 1 reply; 3+ messages in thread
From: Chen Qi @ 2014-03-27 2:29 UTC (permalink / raw)
To: openembedded-core
Replace 'rootfs' with '/dev/root' in read_only_rootfs_hook function
to match the latest change in fstab file from the base-files recipe.
The related commit is as follows.
commit e8bc7a136a81a0d8df2d32dfba0920c1b2835141
base-files: use /dev/root in /etc/fstab for systemd support
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
meta/classes/image.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index b0639ae..29309f5 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -175,7 +175,7 @@ do_rootfs[umask] = "022"
read_only_rootfs_hook () {
if ${@base_contains("DISTRO_FEATURES", "sysvinit", "true", "false", d)}; then
# Tweak the mount option and fs_passno for rootfs in fstab
- sed -i -e '/^[#[:space:]]*rootfs/{s/defaults/ro/;s/\([[:space:]]*[[:digit:]]\)\([[:space:]]*\)[[:digit:]]$/\1\20/}' ${IMAGE_ROOTFS}/etc/fstab
+ sed -i -e '/^[#[:space:]]*\/dev\/root/{s/defaults/ro/;s/\([[:space:]]*[[:digit:]]\)\([[:space:]]*\)[[:digit:]]$/\1\20/}' ${IMAGE_ROOTFS}/etc/fstab
# Change the value of ROOTFS_READ_ONLY in /etc/default/rcS to yes
if [ -e ${IMAGE_ROOTFS}/etc/default/rcS ]; then
sed -i 's/ROOTFS_READ_ONLY=no/ROOTFS_READ_ONLY=yes/' ${IMAGE_ROOTFS}/etc/default/rcS
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] image.bbclass: replace rootfs with /dev/root
2014-03-27 2:29 ` [PATCH 1/1] " Chen Qi
@ 2014-04-11 13:18 ` Koen Kooi
0 siblings, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2014-04-11 13:18 UTC (permalink / raw)
To: Chen Qi; +Cc: openembedded-core
Op 27 mrt. 2014, om 03:29 heeft Chen Qi <Qi.Chen@windriver.com> het volgende geschreven:
> Replace 'rootfs' with '/dev/root' in read_only_rootfs_hook function
> to match the latest change in fstab file from the base-files recipe.
>
> The related commit is as follows.
>
> commit e8bc7a136a81a0d8df2d32dfba0920c1b2835141
> base-files: use /dev/root in /etc/fstab for systemd support
That commit doesn't exist in OE-core, I think you mean c509f948d9c575c45af8c5ed1cb1692c0ca5dade
This change went in already, but with a broken commit message :(
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-11 13:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-27 2:29 [PATCH 0/1] image.bbclass: replace rootfs with /dev/root Chen Qi
2014-03-27 2:29 ` [PATCH 1/1] " Chen Qi
2014-04-11 13:18 ` Koen Kooi
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.