[OE-core] [PATCH 1/2] initscripts: split the functions script into a separate package

2013-12-25 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Many SysV init scripts need the /etc/init.d/functions script. But this script is part of the initscripts package. As a result, the initscripts package should always be installed into the system to avoid errors when starting daemons. However, it makes no sense

[OE-core] [PATCH 2/2] packagegroup-core-boot: make initscripts-functions a basic element of RDEPENDS

2013-12-25 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Unlike the initscripts package which is useful in SysV systems but not so useful in systemd systems, the initscripts-functions package is useful for both. For the reason stated above, this patch adds initscripts-funtions to the RDEPENDS of

[OE-core] [PATCH 0/2] Split the functions script into a separate package in initscripts

2013-12-25 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com This is part of the systemd integration work. Now we have two init systems in our project -- SysV and systemd. If we are only using the SysV based systems, everything's happy because the initscripts package will and should be always installed. As a part of

[OE-core] [PATCH 0/2] Fixes for systemd's ptest

2013-12-23 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The current status for systemd's ptest is not good. It has only two test cases. However, it's better to have something than nothing. So we need to make these two test cases actually have effect. This is what this patchset is trying to achieve. //Chen Qi The

[OE-core] [PATCH 2/2] systemd: fix ptest to make it able to run on target

2013-12-23 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com This patch mainly involves four changes. 1. Ship the sys.tar.xz and extract it on target to avoid ELOOP error. 2. Make systemd-ptest rdepend on bash and perl as the test cases need them. 3. Fix paths in Makefile so that the test cases could run on target. 4.

[OE-core] [PATCH 1/2] busybox: enable SEAMLESS_XZ by default

2013-12-23 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com We have enabled SEAMLESS_GZ and SEAMLESS_BZ2 in defconfig, it's reasonable for us to enable SEAMLESS_XZ as well. Otherwise, we couldn't extract tar.xz file while we could extract tar.gz file. Such situation would be somewhat confusing. Signed-off-by: Chen Qi

[OE-core] [PATCH V3 0/1] image.bbclass: add ability to set systemd default target

2013-12-19 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Changes since V2: 1. Fix the commit message. The following changes since commit 9daa1de753e58b7f678e68cf307f6028c0c79a6a: qemu/local.conf.sample: Add sdl PACKAGECONFIG (2013-12-16 12:13:59 +) are available in the git repository at:

[OE-core] [PATCH V3 1/1] image.bbclass: add ability to set systemd default target

2013-12-19 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Add ability to set the default target for systemd images. The default target for system is controlled by SYSTEMD_DEFAULT_TARGET. The default value for this variable is derived from checking whether IMAGE_FEATURES contains 'x11-base' or not. Each image could

[OE-core] [PATCH 0/1] rootfs_rpm.bbclass: make complementary packages not attempt-only

2013-12-17 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The following changes since commit 9daa1de753e58b7f678e68cf307f6028c0c79a6a: qemu/local.conf.sample: Add sdl PACKAGECONFIG (2013-12-16 12:13:59 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib

[OE-core] [PATCH 1/1] rootfs_rpm.bbclass: make complementary packages not attempt-only

2013-12-17 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Installing complementary packages should not be attempt-only, otherwise, errors would be hidden. For example, if we enable ptest distro feature, and we add 'ptest-pkgs' to IMAGE_FEATRUES, then building a minimal image would succeed without reporting any error.

[OE-core] [PATCH 1/1] image.bbclass: add ability to set systemd default target

2013-12-17 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Add ability to set the default target for systemd images. The default value for the target is derived from checking whether IMAGE_FEATRUES contains 'x11-base' or not. Each image could override this value in its own recipe. For now, we don't need to do any

[OE-core] [PATCH 0/1] image.bbclass: add ability to set systemd default target

2013-12-17 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The following changes since commit 9daa1de753e58b7f678e68cf307f6028c0c79a6a: qemu/local.conf.sample: Add sdl PACKAGECONFIG (2013-12-16 12:13:59 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib

[OE-core] [PATCH V2 0/1] image.bbclass: add ability to set systemd default target

2013-12-17 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Changes since V1: 1. Fix a problem when building live images The following changes since commit 9daa1de753e58b7f678e68cf307f6028c0c79a6a: qemu/local.conf.sample: Add sdl PACKAGECONFIG (2013-12-16 12:13:59 +) are available in the git repository at:

[OE-core] [PATCH V2 1/1] image.bbclass: add ability to set systemd default target

2013-12-17 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Add ability to set the default target for systemd images. The default value for the target is derived from checking whether IMAGE_FEATRUES contains 'x11-base' or not. Each image could override this value in its own recipe. For now, we don't need to do any

[OE-core] [PATCH 1/1] init-ifupdown: adjust priority of networking to fix system freeze problem

2013-12-12 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com On mpc8315e, a system freeze is encountered at system boot time if connman and init-ifupdown are installed. The error message before the freeze is: ip: RTNETLINK answers: File exists This problem is introduced by the following commit. dc80eea

[OE-core] [PATCH 0/1] init-ifupdown: adjust priority of networking to fix system freeze problem

2013-12-12 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The following changes since commit bfec6b1947b472d6f1c9c7f297e66ede5e921069: ref-manual: Removed work from the SDK_DEPLOY directory. (2013-12-11 14:20:19 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib

[OE-core] [PATCH 0/2] Change the way of handling CONFFILES

2013-12-12 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com It's a very common situation in OE/Yocto that the recipe authors/maintainers either forget to set the CONFFILES variable or set it wrong. For example, we don't have CONFFILES set in the shadow recipe. As a result, /etc/login.defs from the shadow package is not

[OE-core] [PATCH 2/2] base-files: Fix CONFFILES

2013-12-12 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com All files under ${sysconfdir} are configuration files for base-files package. As this is the default behavior for CONFFILES handling, we should not override it in this recipe. Signed-off-by: Chen Qi qi.c...@windriver.com ---

[OE-core] [PATCH 1/2] packaging: change the process of CONFFILES handling

2013-12-12 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Previously, the CONFFILES variable is a list of config files to be packaged. However, as these files may come directly from the source instead of our WORKDIR, it's very common mistake that we forget to set this variable in our recipes. This will lead to

[OE-core] [PATCH V2 0/1] libgcrypt: fix compile error with '-O2' in sysroot path

2013-12-11 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Changes since V1: 1. Only patch the Makefile.am. The following changes since commit d754ddcec78f5e264100ceda854e8412679d6866: bitbake: process: Add timeout to select call (2013-12-10 17:55:29 +) are available in the git repository at:

[OE-core] [PATCH V2 1/1] libgcrypt: fix compile error with '-O2' in sysroot path

2013-12-11 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Characters like '-O2' or '-Ofast' will be replaced by '-O1' when compiling cipher. If we are cross compiling libgcrypt and sysroot contains such characters, we would get compile errors because the sysroot path has been modified. Fix this by adding whitespaces

[OE-core] [PATCH 0/3] Add ability to set clear text password and remove zap_root_password function

2013-12-10 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com This patchset mainly contains two changes: 1. Add the ability to set clear text password The third patch serves as an example of how to do this in a recipe. An additional patch has been sent to p...@yoctoproject.org, which adds extra information to

[OE-core] [PATCH 2/3] image.bbclass: remove zap_root_password

2013-12-10 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com This function replaces the root password with '*' if 'debug-tweaks' is not in IMAGE_FEATURES. As a result, if we don't have 'debug-tweaks', we would be locked out of the system. That means, if the user uses a bbappend file for base-passwd to set the root

[OE-core] [PATCH 3/3] useradd-example: add example for setting clear text password

2013-12-10 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Use '-P' option for user3 to set a clear text password. This is supposed to serve as an example of how to set clear text password in recipes. Signed-off-by: Chen Qi qi.c...@windriver.com --- .../recipes-skeleton/useradd/useradd-example.bb|3 ++- 1

[OE-core] [PATCH V2 1/3] shadow-native: allow for setting password in clear text

2013-12-10 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Allow user to set password in clear text. This is convenient when we're building out an image. This feature is mainly used by useradd.bbclass and extrausers.bbclass. This patch adds a new option '-P' to useradd, usermod, groupadd and groupmod commands

[OE-core] [PATCH V2 2/3] image.bbclass: fix for zap_root_password

2013-12-10 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Previously, this function replaces the root password with '*' if 'debug-tweaks' is not in IMAGE_FEATURES. It not only zaps empty root password, but also zaps non-empty root password. That means, if the user uses a bbappend file for base-passwd to set the root

[OE-core] [PATCH 1/1] image.bbclass: default USE_DEVFS to '1'

2013-12-08 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Default USE_DEVFS to 1 so that the `makedevs' command is not run at rootfs time by default. There are mainly two reasons to do so. 1. This will fix a build failure with initramfs-kexecboot-klibc-image. 2. Most of our images use a filesystem over /dev. Most of

[OE-core] [PATCH 0/1] image.bbclass: default USE_DEVFS to '1'

2013-12-08 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The following changes since commit 184038bedb20f74ba4dcad6ef2d92e87a9ba5f9a: bitbake: fetch2/git: Ensure check is made in the correct directory (2013-12-06 14:10:15 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib

[OE-core] [PATCH 1/1] libgcrypt: fix compile error with '-O2' in sysroot path

2013-12-05 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Characters like '-O2' or '-Ofast' will be replaced by '-O1' when compiling cipher. If we are cross compiling libgcrypt and sysroot contains such characters, we would get compile errors because the sysroot path has been modified. Fix this by adding whitespaces

[OE-core] [PATCH 0/1] libgcrypt: fix compile error with '-O2' in sysroot path

2013-12-05 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The following changes since commit c51730aaa91066cfb51ad6ec2920fb4f9d9ea94c: bitbake: Hob: check if warnings are related to package build (2013-12-03 17:45:54 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib

[OE-core] [PATCH 0/1] init-live.sh: remove the '-c /dev/console' for switch_root

2013-12-05 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The following changes since commit c51730aaa91066cfb51ad6ec2920fb4f9d9ea94c: bitbake: Hob: check if warnings are related to package build (2013-12-03 17:45:54 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib

[OE-core] [PATCH 1/1] init-live.sh: remove the '-c /dev/console' for switch_root

2013-12-05 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The '-c DEV' option is specific to the switch_root provided by busybox. switch_root from util-linux doesn't recognize this option. As a result, if we we this init-live.sh script together with util-linux, we would get a kernel panic when executing switch_root.

[OE-core] [PATCH 1/1] busybox: add busybox_git.bb recipe

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Add busybox_git.bb recipe so that it would be easier to hack with busybox. Default the PREFERRED_VERSION to 1.21.1 so that we still use busybox_1.21.1.bb as the default busybox recipe. Signed-off-by: Chen Qi qi.c...@windriver.com ---

[OE-core] [PATCH 0/1] busybox: add busybox_git.bb recipe

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The following changes since commit 32adaac34a614d106e6dd3e9f1130f4e94ff39ae: libpng: set reasonable SUMMARY (2013-11-27 11:51:25 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/busybox-git

[OE-core] [PATCH 1/1] busybox: add busybox_git.bb recipe

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Add busybox_git.bb recipe so that it would be easier to hack with busybox. Set DEFAULT_PREFERENCE to -1 in the git recipe so that we still use the busybox_1.21.1.bb recipe by default. Signed-off-by: Chen Qi qi.c...@windriver.com ---

[OE-core] [PATCH V2 0/1] busybox: add busybox_git.bb recipe

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The following changes since commit 32adaac34a614d106e6dd3e9f1130f4e94ff39ae: libpng: set reasonable SUMMARY (2013-11-27 11:51:25 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/busybox-git

[OE-core] [PATCH 00/18] Fix the problem of implicit bash dependency

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com If package A has implicit bash dependency but there's no explicit runtime dependency written in its recipe, the rootfs task would fail if A is intalled onto an image which doesn't have installed. For example, if we add nfs-utils to core-image-minimal via:

[OE-core] [PATCH 01/18] linux-firmware: de-bash scripts to remove bash dependency

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com De-bash some script in linux-firmware to make it not dependent on bash. [YOCTO #] Signed-off-by: Chen Qi qi.c...@windriver.com --- .../files/0001-linux-firmware-de-bash.patch| 47 .../linux-firmware/linux-firmware_git.bb

[OE-core] [PATCH 06/18] xz: rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Make xz explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/recipes-extended/xz/xz_5.1.3alpha.bb |2 ++ 1 file changed, 2

[OE-core] [PATCH 05/18] lsb: de-bash scripts to remove bash dependency

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com De-bash some script in lsb to make it not dependent on bash. [YOCTO #] Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/recipes-extended/lsb/lsb/lsb_killproc |2 +- meta/recipes-extended/lsb/lsb/lsb_log_message |2 +-

[OE-core] [PATCH 11/18] nfs-utils: add bash to RDEPENDS

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Make nfs-utils explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi qi.c...@windriver.com --- .../nfs-utils/nfs-utils_1.2.9.bb |2 +- 1

[OE-core] [PATCH 02/18] apr: make the dev package rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Make apr-dev explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/recipes-support/apr/apr_1.4.8.bb |1 + 1 file changed, 1

[OE-core] [PATCH 07/18] dtc: make dtc-misc rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Make dtc-misc explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/recipes-kernel/dtc/dtc.inc |1 + 1 file changed, 1

[OE-core] [PATCH 13/18] gzip: explicitly rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Make gzip explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/recipes-extended/gzip/gzip.inc |2 ++ 1 file changed, 2

[OE-core] [PATCH 09/18] libtool: explicitly rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Make libtool explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/recipes-devtools/libtool/libtool-2.4.2.inc |1 + 1 file

[OE-core] [PATCH 12/18] apt: explicitly rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Make apt explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/recipes-devtools/apt/apt_0.9.9.4.bb |2 +- 1 file changed, 1

[OE-core] [PATCH 14/18] pm-utils: explicitly rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Make pm-utils explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/recipes-bsp/pm-utils/pm-utils_1.4.1.bb |2 +- 1 file

[OE-core] [PATCH 10/18] rpm: fix RDEPENDS for rpm-build

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Fix RDEPENDS for rpm-build. [YOCTO #] Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/recipes-devtools/rpm/rpm_5.4.9.bb |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb

[OE-core] [PATCH 04/18] hdparm: make wiper appear before hdparm in PACKAGES

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Make wiper appear before hdparm in PACKAGES so that wiper is packaged correctly. [YOCTO #] Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/recipes-extended/hdparm/hdparm_9.43.bb |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH 16/18] kconfig-frontends: explicitly rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Make kconfig-frontends explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi qi.c...@windriver.com --- .../kconfig-frontends_3.12.0.0.bb |

[OE-core] [PATCH 03/18] libpam: make libpam-xtests rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Make libpam-xtests explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/recipes-extended/pam/libpam_1.1.6.bb |2 +- 1 file

[OE-core] [PATCH 18/18] kernel.bbclass: make kernel-dev explicitly rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Make kernel-dev explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/classes/kernel.bbclass |1 + 1 file changed, 1

[OE-core] [PATCH 08/18] lsbtest: de-bash script to remove bash dependency

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com De-bash scripts in lsbtest to make it not dependent on bash. [YOCTO #] Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/recipes-extended/lsb/lsbtest/LSB_Test.sh |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[OE-core] [PATCH 15/18] ltp: explicitly rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Make ltp explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/recipes-extended/ltp/ltp_20130904.bb |2 +- 1 file changed,

[OE-core] [PATCH 17/18] pax-utils: add bash runtime dependency

2013-11-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Make pax-utils explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/recipes-devtools/pax-utils/pax-utils_0.7.bb |2 ++ 1

[OE-core] [PATCH 0/1] image.bbclass: depends on virtual/kernel

2013-11-21 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The following changes since commit d60b4ff3517487bd111c6d7e1410882280229377: yocto-bsp: Add missing format specifier in bblayers error message (2013-11-21 14:20:28 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib

[OE-core] [PATCH 1/1] image.bbclass: depends on virtual/kernel

2013-11-21 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Add 'virtual/kernel' to DEPENDS in image.bbclass so that the kernel can get built by default. Otherwise, the kernel will not get built unless it's required by other packages like v86d. As a result, if we build 'core-image-minimal' for qemumips, the kernel is

[OE-core] [PATCH 1/1] license.bbclass: fix missing of license files on ubuntu build host

2013-11-17 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The license_create_manifest function contains bashism, this will lead to unexpected results on ubuntu build host, as sh is linked to dash on ubuntu. Even if COPY_LIC_MANIFEST and COPY_LIC_DIRS are enabled, the license files will still be missing on target.

[OE-core] [PATCH 0/1] license.bbclass: fix missing of license files on ubuntu build host

2013-11-17 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The following changes since commit ea92671d9823e3667d6ced7ac2af20f991da404d: bitbake: cooker: replace w file opening mode with a mode (2013-11-12 17:01:37 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib

[OE-core] [PATCH 0/1] sysvinit: use ALTERNATIVE to manage sulogin

2013-11-15 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The following changes since commit ea92671d9823e3667d6ced7ac2af20f991da404d: bitbake: cooker: replace w file opening mode with a mode (2013-11-12 17:01:37 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib

[OE-core] [PATCH 1/1] sysvinit: use ALTERNATIVE to manage sulogin

2013-11-15 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Busybox also provides sulogin command, so we need to use the ALTERNATIVE mechanism to manage it. Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff

[OE-core] [PATCH 0/1] subversion: fix build problem when sysroot contains '-D' or '-I'

2013-11-15 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The following changes since commit ea92671d9823e3667d6ced7ac2af20f991da404d: bitbake: cooker: replace w file opening mode with a mode (2013-11-12 17:01:37 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib

[OE-core] [PATCH 1/1] subversion: fix build problem when sysroot contains '-D' or '-I'

2013-11-15 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com If sysroot contains '-D' or '-I' characters, the SVN_NEON_INCLUDES and the corresponding CFLAGS will not get the correct value. This will cause build failures. This patch fixes the above problem. [YOCTO #5458] Signed-off-by: Chen Qi qi.c...@windriver.com

[OE-core] [PATCH 0/1] shadow-native: allow for setting password in clear text

2013-11-15 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The following changes since commit ea92671d9823e3667d6ced7ac2af20f991da404d: bitbake: cooker: replace w file opening mode with a mode (2013-11-12 17:01:37 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib

[OE-core] [PATCH 1/1] shadow-native: allow for setting password in clear text

2013-11-15 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Allow user to set password in clear text. This is convenient when we're building out an image. This feature is mainly used by useradd.bbclass and extrausers.bbclass. This patch adds a new option '-P' to useradd, usermod, groupadd and groupmod commands

[OE-core] [PATCH 0/1] sanity.bbclass: check for validity of TMPDIR

2013-11-14 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com This patch checks the validity of TMPDIR. The TMPDIR must match the following regexp. ^/[a-zA-Z0-9\-_/.~]+$ Detailed tests about why I came up with this regexp are displayed at the end of this cover letter. A major reason for why TMPDIR cannot support many

[OE-core] [PATCH 1/1] sanity.bbclass: check for validity of TMPDIR

2013-11-14 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com TMPDIR must be an absolute path, otherwise, the build will fail. Special characters in TMPDIR will also cause build failures. This patch enables checking for the validity of TMPDIR. Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/classes/sanity.bbclass

[OE-core] [PATCH V2 1/1] sanity.bbclass: check for validity of TMPDIR

2013-11-14 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com TMPDIR must be an absolute path, otherwise, the build will fail. Special characters in TMPDIR will also cause build failures. This patch enables checking for the validity of TMPDIR. The logic in sanity.bbclass has also been changed a little bit. For now, we

[OE-core] [PATCH V2 0/1] sanity.bbclass: check for validity of TMPDIR

2013-11-14 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Changes since V1: 1. Create the directory hierarchy for TMPDIR only if TMPDIR is valid 2. Handle ABI version change only if TMPDIR has been created. 3. If we had a valid TMPDIR for last build and this time the TMPDIR hasn't changed location, we don't check

[OE-core] [PATCH V2 0/7] Fixes about unsafe-references QA warnings

2013-11-12 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Changes since V1: 1. The two principles have been slightly adjusted as follows. *) With /usr on a seperate partition, system should still boot without any error. *) Without /usr, system should be able to boot into single user mode. We do not need

[OE-core] [PATCH V2 1/7] udev: fix dependency and location of udevadm

2013-11-12 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com As udev's init script needs udevadm, we should make udev RDEPEND on udev-utils instead of just recommends it. Also, move udevadm from /usr/bin to /bin. The purpose is to make udev start correctly even if /usr is missing. This patch also takes into

[OE-core] [PATCH V2 5/7] insane.bbclass: make the checking stricter for unsafe references in scripts

2013-11-12 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Previously, the checking for unsafe references is not strict enough. It only checks whether '/usr/' is in the script. As a result, any script containing statements like below will match this check. PATH=/bin:/sbin:/usr/bin:/usr/sbin However, as we

[OE-core] [PATCH V2 3/7] kmod: install libkmod into base_libdir

2013-11-12 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Install libkmod into base_libdir because udevd requires it. The purpose is to make system boot into single user mode even if /usr is missing. This patch fixes the following QA issue about unsafe references in binaries. /lib/udevd requires libkmod.so.2 (=

[OE-core] [PATCH V2 4/7] udev: fix unsafe reference by installing libgudev in libdir

2013-11-12 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com This patch fixes the following QA issue about unsafe reference in binaries. /lib/libgudev-1.0.so.0.1.1 requires /usr/lib/libgobject-2.0.so.0. As libgudev is a GObject wrapper for libudev, and the purpose of it is to make the development of GObject based

[OE-core] [PATCH V2 2/7] zlib: install into base_libdir

2013-11-12 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Install zlib into base_libdir as kmod needs it. The purpose is to make system boot into single user mode even if /usr is missing. Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/recipes-core/zlib/zlib_1.2.8.bb |2 +- 1 file changed, 1 insertion(+),

[OE-core] [PATCH V2 7/7] busybox: install ping6 into bindir by default

2013-11-12 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Install `ping6' provided by busybox into /usr/bin to sync with the iputils package. Signed-off-by: Chen Qi qi.c...@windriver.com --- .../busybox-install-ping6-to-usr-bin.patch | 25 meta/recipes-core/busybox/busybox_1.21.1.bb

[OE-core] [PATCH V2 6/7] iputils: fix program location and QA warning

2013-11-12 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com According to FHS, only `ping' is required to be under /bin. So this patch move other commands like `ping6' and 'traceroute6' to /usr/bin. Doing so will fix QA warnings of unsafe reference of binaries in ping6. /bin/ping6.iputils requires

[OE-core] [PATCH 0/1] sysvinit: fix problem in switching runlevels

2013-11-11 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com This patch has been tested with the following steps. 1. Build an image with nfs-utils and rpcbind. 2. Add to /etc/fstab an nfs mount point with the following commands. mount -o loop tmp/deploy/images/qemux86/core-image-minimal-qemux86.ext3 root-disk-dir/

[OE-core] [PATCH 1/1] sysvinit: fix problem in switching runlevels

2013-11-11 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Previously, if we switch to runlevel 1 and then switch back to runlevel 5, the network interface will be brought down and the NFS service will not be restarted correctly. The problem is that the networking and rpcbind services are brought down in runlevel 1

[OE-core] [PATCH 6/8] insane.bbclass: make the checking stricter for unsafe references in scripts

2013-11-08 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Previously, the checking for unsafe references is not strict enough. It only checks whether '/usr/' is in the script. As a result, any script containing statements like below will match this check. PATH=/bin:/sbin:/usr/bin:/usr/sbin However, as we

[OE-core] [PATCH 8/8] busybox: install ping6 into bindir by default

2013-11-08 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Install `ping6' provided by busybox into /usr/bin to sync with the iputils package. Signed-off-by: Chen Qi qi.c...@windriver.com --- .../busybox-install-ping6-to-usr-bin.patch | 25 meta/recipes-core/busybox/busybox_1.21.1.bb

[OE-core] [PATCH 3/8] zlib: install into base_libdir

2013-11-08 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Install zlib into base_libdir as kmod needs it. The purpose is to make system boot into single user mode even if /usr is missing. Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/recipes-core/zlib/zlib_1.2.8.bb |2 +- 1 file changed, 1 insertion(+),

[OE-core] [PATCH 7/8] iputils: fix program location and QA warning

2013-11-08 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com According to FHS, only `ping' is required to be under /bin. So this patch move other commands like `ping6' and 'traceroute6' to /usr/bin. Doing so will fix QA warnings of unsafe reference of binaries in ping6. /bin/ping6.iputils requires

[OE-core] [PATCH 2/8] initscripts: add setup-commands.sh

2013-11-08 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The purpose of this script is to set up commands that busybox provides if /usr is missing. In this way, the system can still boot into single user mode for recovery or repair if the /usr partition is broken. For normal use case, that is, /usr is on the same

[OE-core] [PATCH 5/8] udev: fix unsafe reference by installing libgudev in libdir

2013-11-08 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com This patch fixes the following QA issue about unsafe reference in binaries. /lib/libgudev-1.0.so.0.1.1 requires /usr/lib/libgobject-2.0.so.0. As libgudev is a GObject wrapper for libudev, and the purpose of it is to make the development of GObject based

[OE-core] [PATCH 1/8] udev: fix dependency and location of udevadm

2013-11-08 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com As udev's init script needs udevadm, we should make udev RDEPEND on udev-utils instead of just recommends it. Also, move udevadm from /usr/bin to /bin. The purpose is to make udev start correctly even if /usr is missing. Signed-off-by: Chen Qi

[OE-core] [PATCH 4/8] kmod: install libkmod into base_libdir

2013-11-08 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Install libkmod into base_libdir because udevd requires it. The purpose is to make system boot into single user mode even if /usr is missing. This patch fixes the following QA issue about unsafe references in binaries. /lib/udevd requires libkmod.so.2 (=

[OE-core] [PATCH 0/8] Fixes about unsafe-references QA warnings

2013-11-08 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com This solution is based on the following two principles. 1. With /usr on a seperate partition, system should still boot without any error. 2. Without /usr, system should be able to boot into single user mode with error. When a QA warning about unsafe

[OE-core] [PATCH 1/1] extrausers.bbclass: avoid infinite loop

2013-11-05 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Avoid infinite loop if the last record in EXTRA_USRES_PARAMS doesn't end with a semicolon. It's possible the the users will write configurations like below. INHERIT += extrausers EXTRA_USERS_PARAMS = useradd tester; useradd developer In such situation, the

[OE-core] [PATCH 0/1] extrausers.bbclass: avoid infinite loop

2013-11-05 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The following changes since commit 3e6b57fcfea93fbefd746ba056410409b35c5523: mdadm: Disable the RUN_DIR check (2013-11-05 22:24:46 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/extrausers-loop

[OE-core] [PATCH 0/1] iproute2: de-bash its scripts to remove the bash dependency

2013-11-01 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The following changes since commit 523f2a9ea970713fb775bc48f84b67420b1106a0: cross-canadian: Improve comment (2013-10-30 18:01:34 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/iproute2

[OE-core] [PATCH 1/1] iproute2: de-bash its scripts to remove the bash dependency

2013-11-01 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com If we build a minimal image with iproute2 installed, the following error will appear during rootfs. error: Can't install iproute2-3.10.0-r0.0@i586: no package provides /bin/bash The problem is that iproute2 has an implicit dependency on 'bash'. This

[OE-core] [PATCH 0/2] sysvinit: adjust the boot sequence and fix missing of boot log

2013-11-01 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The following changes since commit f3541226b8b1187e79dec0f6f9f3c58cedf9ac9b: bitbake: hob: do not display the Package list may be incomplete! dialog (2013-11-01 17:59:31 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib

[OE-core] [PATCH 1/2] bootlogd: create log file if not present

2013-11-01 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Previously, our system had no boot log even if the bootlogd daemon was started correctly. The root cause is that the log file doesn't exist when starting the bootlogd. Add '-c' option to bootlogd so that it will create the boot log if it doesn't exist. [YOCTO

[OE-core] [PATCH 2/2] sysvinit: adjust boot sequence and remove hack from udev

2013-11-01 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Adjust the boot sequence in sysvinit based systems. The mountall.sh (mounting the local file system) needs to be started before udev and bootlogd. This patch makes mountall.sh start before udev and removes the hack of mounting tmpfs in the udev init script.

[OE-core] [PATCH 2/3] sgml-common: make postinst run successfully at rootfs time

2013-10-31 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Take $D into consideration and make postinst run successfully at rootfs time. Signed-off-by: Chen Qi qi.c...@windriver.com --- .../sgml-common/sgml-common_0.6.3.bb | 16 1 file changed, 16 insertions(+) diff --git

[OE-core] [PATCH 3/3] jpeg: enable postinst to run at rootfs time successfully

2013-10-31 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com --- meta/recipes-core/jpeg/jpeg_8d.bb | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/meta/recipes-core/jpeg/jpeg_8d.bb b/meta/recipes-core/jpeg/jpeg_8d.bb index eba5bf4..ad4fa51 100644 --- a/meta/recipes-core/jpeg/jpeg_8d.bb

[OE-core] [PATCH 1/3] groff: fix pkg_postinst and remove unneeded do_install_prepend

2013-10-31 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Fix to take $D into consideration in pkg_postinst so that the postinst script could run at rootfs time. The existence of ${D} is ensured by the in base.bbclass. do_install[dirs] = ${D} ${S} ${B} So there's no need for this do_install_prepend.

[OE-core] [PATCH 0/3] Fixes about pkg_postinst

2013-10-31 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The following changes since commit 523f2a9ea970713fb775bc48f84b67420b1106a0: cross-canadian: Improve comment (2013-10-30 18:01:34 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/postinsts

[OE-core] [PATCH 1/1] iproute2: explicitly add 'bash' to its RDEPENDS

2013-10-29 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com If we build a minimal image with iproute2 installed, the following error will appear during rootfs. error: Can't install iproute2-3.10.0-r0.0@i586: no package provides /bin/bash The problem is that iproute2 has an implicit dependency on 'bash'. This

  1   2   3   4   5   >