[yocto] [meta-ivi][PATCH 01/23] base-passwd: Modify patch as home directory of root user is /root

ChenQi Qi.Chen at windriver.com
Sun Jan 6 19:22:22 PST 2013


Home directory is now configurable now.
You could specify it in local.conf.

See the following commits for more details.

845c2c0 oprofile: use dynamic root home directory
2af073a base-passwd: use configurable root home directory
07b842f base-files: use dynamic root home directory
de5b44a bitbake.conf: import var ROOT_HOME



On 01/06/2013 07:54 PM, Andrei Gherzan wrote:
> Signed-off-by: Andrei Gherzan <andrei.gherzan at windriver.com>
> ---
>   .../base-passwd/add-default-root-pass.patch        |    4 ++--
>   .../base-passwd/base-passwd_3.5.26.bbappend        |    2 +-
>   2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/recipes-core-ivi/base-passwd/base-passwd/add-default-root-pass.patch b/recipes-core-ivi/base-passwd/base-passwd/add-default-root-pass.patch
> index 48b0eb3..320841e 100644
> --- a/recipes-core-ivi/base-passwd/base-passwd/add-default-root-pass.patch
> +++ b/recipes-core-ivi/base-passwd/base-passwd/add-default-root-pass.patch
> @@ -3,8 +3,8 @@ Index: base-passwd/passwd.master
>   --- base-passwd.orig/passwd.master	2012-03-15 16:45:58.149968908 +0200
>   +++ base-passwd/passwd.master	2012-03-15 16:47:26.094468934 +0200
>   @@ -1,4 +1,4 @@
> --root::0:0:root:/home/root:/bin/sh
> -+root:\$1\$1DO/lR8M\$f8JOOu4W8GBZzdNzCgSW40:0:0:root:/home/root:/bin/sh
> +-root::0:0:root:/root:/bin/sh
> ++root:\$1\$1DO/lR8M\$f8JOOu4W8GBZzdNzCgSW40:0:0:root:/root:/bin/sh
>    daemon:*:1:1:daemon:/usr/sbin:/bin/sh
>    bin:*:2:2:bin:/bin:/bin/sh
>    sys:*:3:3:sys:/dev:/bin/sh
> diff --git a/recipes-core-ivi/base-passwd/base-passwd_3.5.26.bbappend b/recipes-core-ivi/base-passwd/base-passwd_3.5.26.bbappend
> index 8b73d9d..4e3c8a9 100644
> --- a/recipes-core-ivi/base-passwd/base-passwd_3.5.26.bbappend
> +++ b/recipes-core-ivi/base-passwd/base-passwd_3.5.26.bbappend
> @@ -1,4 +1,4 @@
> -PRINC := "${@int(PRINC) + 1}"
> +PRINC := "${@int(PRINC) + 2}"
>   FILESEXTRAPATHS := "${THISDIR}/${PN}"
>   
>   SRC_URI += "file://add-default-root-pass.patch \




More information about the yocto mailing list