From: Chen Qi
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
http://git.pokylinux.org/cgit.cgi/poky-contr
From: Chen Qi
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 dependency is from per-file dep
From: Chen Qi
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.
Signed-off-by: Chen Qi
---
met
From: Chen Qi
---
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
+++ b/meta/recipes-cor
From: Chen Qi
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
http://git.pokylinux.org/cgit.cgi/poky-cont
From: Chen Qi
Take $D into consideration and make postinst run successfully at
rootfs time.
Signed-off-by: Chen Qi
---
.../sgml-common/sgml-common_0.6.3.bb | 16
1 file changed, 16 insertions(+)
diff --git a/meta/recipes-devtools/sgml-common/sgml-common_0.6.3.
From: Chen Qi
The following changes since commit d69931da48b9cc5082feb46c654b9861f30244d9:
scripts/oe-pkgdata-util: fix global name 'debug' is not defined (2013-10-29
15:24:07 +)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/iproute2
http://git.
From: Chen Qi
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 dependency is from per-file dep
From: Chen Qi
The following changes since commit 529bf977e956175bd8405ebffc88194192e44740:
update-rcd.bbclass: fix host/target test (2013-10-16 14:51:07 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/tar-numeric-owner
http://git.pokylinux.org/c
From: Chen Qi
If the same username exists on both target and the build host, but
the uids differ, and we start target via NFS, then the uid for the
user will be incorrect on target.
For example, if postfix's uid on host is 119 and on target is 1024,
then if we start target via NFS, the uid for p
From: Chen Qi
If the same username exists on both target and the build host, but
the uids differ, and we start target via NFS, then the uid for the
user will be incorrect on target.
For example, if postfix's uid on host is 119 and on target is 1024,
then if we start target via NFS, the uid for p
From: Chen Qi
The following changes since commit 529bf977e956175bd8405ebffc88194192e44740:
update-rcd.bbclass: fix host/target test (2013-10-16 14:51:07 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/tar-numeric-owner
http://git.pokylinux.org/c
From: Jeffrey C Honig
If bootlogd was configured to write to a log file on the root file system,
the checkroot.sh was not able to change the rootfs to read-only because
bootlogd was started earlier and had a file descriptor open. Lowering
the order of checkroot.sh ensures that the volatile files
From: Chen Qi
The following changes since commit 5445f71fc812a5fcf9bd67a26a500284af16ad39:
bitbake: hob: change tooltip for live images (2013-10-07 16:25:02 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/checkroot.sh
http://git.pokylinux.org/cg
From: Chen Qi
The following changes since commit 5445f71fc812a5fcf9bd67a26a500284af16ad39:
bitbake: hob: change tooltip for live images (2013-10-07 16:25:02 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/device_table-typo
http://git.pokylinux.o
From: Chen Qi
The group for /dev/hda should be disk instead of root.
The group ID for /dev/hda was 6, but it was modified to be root by
accident in the following commit.
commit c5ef0294a9b8d178896a47c9f5d6e3dd6797e343
device_table-minimal.txt: use user/group names instead o
From: Chen Qi
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.
Besides, we need to make sur
From: Chen Qi
The following changes since commit 4d8ab87d25ea6e59dc88375813ef88ee0ac813d0:
build-appliance: Update SRCREV (2013-09-24 18:09:12 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/bootlogd
http://git.pokylinux.org/cgit.cgi/poky-contri
From: Chen Qi
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 #5273]
Signed-off-by
From: Chen Qi
The following changes since commit 4d8ab87d25ea6e59dc88375813ef88ee0ac813d0:
build-appliance: Update SRCREV (2013-09-24 18:09:12 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/bootlogd
http://git.pokylinux.org/cgit.cgi/poky-contri
From: Chen Qi
The buildhistory.bbclass always records PV instead of PKGV. However,
the buildhistory-diff script treats PKGV as a monitored variable
instead of PV.
If a recipe's PV changes, for example, hello_1.0.bb is renamed to
hello_2.0.bb, then buildhistory-diff reports nothing because PV is
From: Chen Qi
The following changes since commit 4d8ab87d25ea6e59dc88375813ef88ee0ac813d0:
build-appliance: Update SRCREV (2013-09-24 18:09:12 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/buildhistory
http://git.pokylinux.org/cgit.cgi/poky-co
From: Chen Qi
Remove a package from rootfs only if it's already installed. Also,
if a package is uninstalled, remove it from installed_pkgs.txt.
[YOCTO #5169]
Signed-off-by: Chen Qi
---
meta/classes/image.bbclass | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git
From: Chen Qi
The following changes since commit 1181e691197ab223e325546185d0a991e5ccbf1c:
bitbake: build: Add logfile to add TaskBase events (2013-09-16 13:12:34 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/uninstall-if-installed
http://git
From: Chen Qi
The following changes since commit 5fca4d286eec240ad57d90defa43cd0ff24f88ed:
linux-yocto/3.10: genericx86 meta data factoring (2013-09-14 08:36:26 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/rpm-typoi
http://git.pokylinux.org/c
From: Chen Qi
Fix typo, change PACAKGECONFIG to PACKAGECONFIG.
Signed-off-by: Chen Qi
---
meta/recipes-devtools/rpm/rpm_5.4.9.bb |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb
b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
index bd05336
From: Chen Qi
The following changes since commit bd76847d867f9f76f76f033439cfb834cf59380f:
libnewt-python: Don't write a whiptail package (2013-09-12 08:23:42 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/do-not-remove-updatercd
http://git.po
From: Chen Qi
In rootfs_uninstall_unneeded function, the update-rc.d package would
be removed if no 'package-management' and no delayed postinsts.
However, in update-rc.d.bbclass, the update-rc.d package is only
recommended. Thus, if NO_RECOMMENDATIONS is enabled or 'update-rc.d'
is added to BAD
From: Chen Qi
If a package inherits update-rc.d.bbclass, it actually needs it to
update the symlinks under /etc/rc?.d/ directories. This is a runtime
dependency. For example, if we try to upgrade the dropbear on target,
its postinst process will need the update-rc.d utility available,
otherwise,
From: Chen Qi
The following changes since commit bd76847d867f9f76f76f033439cfb834cf59380f:
libnewt-python: Don't write a whiptail package (2013-09-12 08:23:42 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/updatercd-rdepends
http://git.pokylin
From: Chen Qi
The following changes since commit e15dc0911656d4fe44025e71ed3b6763841b05db:
mount.sh: automount cdrom device even if no ID_FS_TYPE available (2013-09-10
21:19:17 +0800)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/init-live-iso-hddimg
From: Chen Qi
The iso and hddimg share a common concept of 'live image', and they
use the same initramfs and thus the same init. However, that init
script in initramfs made a wrong assumption that the rootfs image
was read-only by itself. This is apparently not true for hddimg.
To make things wo
From: Chen Qi
This script was modified to check whether $ID_FS_TYPE is empty before
automount, however, for cdrom devices on qemu, the ID_FS_TYPE is not
set, yet the device should be mounted. Otherwise, when booting an iso
image with runqemu, the boot process hangs at 'waiting for removable
media
From: Chen Qi
The following changes since commit 2ab1bf27f79beadc45e86a26c85fc0b95ae3496f:
bitbake: prserv: Ensure data is committed (2013-09-08 10:51:56 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/qemu-iso-hang
http://git.pokylinux.org/cgit
From: Chen Qi
Fix indentation in SRC_URI to conform to the indentation convention in OE.
Signed-off-by: Chen Qi
---
meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
b/me
From: Chen Qi
The 'need' and 'provide' files are there for simpleinit compatability,
according to the comments in these two files.
However, we don't use simpleinit and there's even no simpleinit recipe
in OE. Besides, these two files are not installed.
This patch removes these two unused files.
From: Chen Qi
The following changes since commit 2ab1bf27f79beadc45e86a26c85fc0b95ae3496f:
bitbake: prserv: Ensure data is committed (2013-09-08 10:51:56 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/sysv-cleanup
http://git.pokylinux.org/cgit.
From: Chen Qi
The do_install_ptest_base task should have cleandirs flag, just like
the do_install task. The ${D}${PTEST_PATH} directory should be cleaned,
Otherwise, there would be similar errors like below if the
do_install_ptest_base task is rerun.
ln: failed to create symbolic link `xxx':
From: Chen Qi
The do_install_ptest_base function uses 'type -t' command to check
whether do_install_ptest is a function and acts correspondingly.
However, the 'type' command is a shell builtin and its behavior is
not all the same across Linux distros. On ubuntu, if we use #!/bin/sh
as the interp
From: Chen Qi
The following changes since commit f41b7a7d4d0463a0dfafe6621d01680b81798019:
bitbake: hob: remove PACKAGE_INSTALL variable setting from hob (2013-09-04
14:18:49 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/ptest-dash
http://git
From: Chen Qi
The do_install_ptest_base task should have cleandirs flag, just like
the do_install task. The ${D}${PTEST_PATH} directory should be cleaned,
Otherwise, there would be similar errors like below if the
do_install_ptest_base task is rerun.
ln: failed to create symbolic link `xxx':
From: Chen Qi
The following changes since commit f41b7a7d4d0463a0dfafe6621d01680b81798019:
bitbake: hob: remove PACKAGE_INSTALL variable setting from hob (2013-09-04
14:18:49 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/ptest-dash
http://git
From: Chen Qi
The do_install_ptest_base function uses 'type -t' command to check
whether do_install_ptest is a function and acts correspondingly.
However, the 'type' command is a shell builtin and its behavior is
not all the same across Linux distros. On ubuntu, if we use #!/bin/sh
as the interp
From: Chen Qi
The sysklogd package hasn't got systemd support yet. So in case of
a systemd based system, the commands and corresponding configuration
files should have a lower priority than that of the busybox's syslogd
and klogd utilities. These two utilities from busybox have internal
systemd s
From: Chen Qi
By default, busybox has CONFIG_FEATURE_SYSLOGD_CFG enabled, but it
doesn't ship a configuration file.
This patch adds a configuration file (/etc/syslog.conf) to the
busybox-syslog package. This configuration file mainly serves as a
placeholder now.
The advantages of this change ar
From: Chen Qi
The following changes since commit c7994f83baa678a4670472e1f037bfc16cb1e3be:
bitbake: runqueue: Fix scenequeue to pass file descriptors, not a float
(2013-09-02 09:16:24 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/systemd-syslog
From: Chen Qi
The following changes since commit c7994f83baa678a4670472e1f037bfc16cb1e3be:
bitbake: runqueue: Fix scenequeue to pass file descriptors, not a float
(2013-09-02 09:16:24 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/systemd-syslog
From: Chen Qi
The sysklogd package hasn't got systemd support yet. So in case of
a systemd based system, the commands and corresponding configuration
files should have a lower priority than that of the busybox's syslogd
and klogd utilities. These two utilities from busybox have internal
systemd s
From: Chen Qi
By default, busybox has CONFIG_FEATURE_SYSLOGD_CFG enabled, but it
doesn't ship a configuration file.
This patch adds a configuration file (/etc/syslog.conf) to the
busybox-syslog package. This configuration file mainly serves as a
placeholder now.
The advantages of this change ar
From: Chen Qi
The following changes since commit 44c3f72684c5c920ce8af1da54a2268047342589:
lib/oeqa/runtime: smart: add checks for smart output (2013-08-26 16:29:18
+0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/busybox-system-user
http://git
From: Chen Qi
Previously, the range was 0 to 0. This made it impossible to use
busybox's adduser utility to add a system user. The following error
would appear.
adduser: no uids left
This patch fixes this problem by giving it a reasonable range.
Signed-off-by: Chen Qi
---
meta/recipes-
From: Chen Qi
We should provide the user more information if a preconfigured tap
is used. This is because the user might have manually set up the tap
interface to be used by other qemu binaries.
So at a minimum, we should let the user know how to make runqemu skip
that tap interface.
[YOCTO #50
From: Chen Qi
The following changes since commit 44c3f72684c5c920ce8af1da54a2268047342589:
lib/oeqa/runtime: smart: add checks for smart output (2013-08-26 16:29:18
+0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/runqemu-fixes
http://git.pokyli
From: Chen Qi
The iptables rules for the tap interface are added by runqemu-ifup
everytime we use runqemu to start a qemu target. But it's not cleaned
up when runqemu exits.
This patch cleans up the remaining iptables rules for the tap interface
in runqemu-ifdown.
[YOCTO #5047]
Signed-off-by:
From: Chen Qi
runqemu-ifup and runqemu-ifdown should be pairs. If we're using a
preconfigured tap interface, the runqemu-ifdown should not be invoked
to bring it down.
Signed-off-by: Chen Qi
---
scripts/runqemu-internal |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/
From: Chen Qi
The following changes since commit 44c3f72684c5c920ce8af1da54a2268047342589:
lib/oeqa/runtime: smart: add checks for smart output (2013-08-26 16:29:18
+0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/runqemu-fixes
http://git.pokyli
From: Chen Qi
Checking whether the lock file exists is sufficient for runqemu.
The contents of the lock file is not important.
This patch simplifies the lock acquire/release logic by removing the
flock mechanism. Also, we give more information to user indicating
why a tap interface is skipped.
From: Chen Qi
The iptables rules for the tap interface are added by runqemu-ifup
everytime we use runqemu to start a qemu target. But it's not cleaned
up when runqemu exits.
This patch cleans up the remaining iptables rules for the tap interface
in runqemu-ifdown.
[YOCTO #5047]
Signed-off-by:
From: Chen Qi
runqemu-ifup and runqemu-ifdown should be pairs. If we're using a
preconfigured tap interface, the runqemu-ifdown should not be invoked
to bring it down.
Signed-off-by: Chen Qi
---
scripts/runqemu-internal |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/
From: Chen Qi
We should provide the user more information if a preconfigured tap
is used. This is because the user might have manually set up the tap
interface to be used by other qemu binaries.
So at a minimum, we should let the user know how to make runqemu skip
that tap interface.
[YOCTO #50
From: Chen Qi
In our current boot scripts, two ways are used to determine whether
the rootfs is read-only or not. One by checking the READ_ONLY_ROOTFS
value in /etc/default/rcS, the other by checking the /etc/fstab entry.
>From a normal Linux user's point of view, the way of checking the
/etc/fs
From: Chen Qi
The following changes since commit b467b99a5d25efe5eadfb07dbecba608575256ac:
linux-yocto: switch genericx86 to use common-pc (2013-08-24 09:37:49 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/initscripts-readonly
http://git.poky
From: Chen Qi
It's possible that /var/lib is on a separate writable partition. In such
situation, we should not bind mount /var/lib with tmpfs, becasue it's
already writable.
This patch fixes this problem by checking whether /var/lib is already
on a writable partition.
[YOCTO #4888]
Signed-off
From: Chen Qi
Previously, the boot partition was created for the target hard drive
but there was no corresponding entry for it in /etc/fstab. Besides,
even if the boot partition was mounted, it would just result in odd
directory hierarchy like /boot/boot/grub. However, what we really need
is /boo
From: Chen Qi
The following changes since commit a7d1241db1120a5cce91395812e2613d1eacd652:
Temporary workaround with qemu images (2013-08-16 10:37:37 +0800)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/minimal-installer
http://git.pokylinux.org/cgit
From: Chen Qi
Previously, only unremovable hard drives are searched and are treated
as candidates of target disks to intall into.
However, it's possible that we're going to install the live image into
a removable media such as an USB. This patch enables this possibility.
In addition, this patch
From: Chen Qi
device_table.txt was once used by an init script named 'devices' to
create the basic files under /dev. However, it's no longer used now.
The devices init script has been removed, and makedevs command has been
disabled by default in busybox.
Besides, considering the device managers
From: Chen Qi
The following changes since commit ff10f72abda52315b892c64f711096772d9a4c1c:
meta-skeleton: Add busybox config fragment example (2013-08-13 23:06:04 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/initscripts-rm-device_table
http:
From: Chen Qi
The following changes since commit 16d522bcd1f1b7741577fa31fab7e2129da0cae9:
maintainers.inc: reassign maintainers, remove obsolete recipes (2013-08-12
13:13:05 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/useradd-add-missing-fun
From: Chen Qi
The preinst scripts are calling bbnote, bbwarn and bbfatal functions,
but these functions are not written to the preinst scripts.
This patch writes these missing functions to the preinst scripts to
avoid the 'not found' errors.
Signed-off-by: Chen Qi
---
meta/classes/useradd.bbc
From: Chen Qi
With the current implementation of postinst logging mechanism, the
location for log file is configured via the POSTINST_LOGFILE variable.
The POSTLOG variable is obsolete now, thus removing it.
Signed-off-by: Chen Qi
---
meta/recipes-devtools/opkg/opkg.inc |2 --
1 file chan
From: Chen Qi
The following changes since commit 16d522bcd1f1b7741577fa31fab7e2129da0cae9:
maintainers.inc: reassign maintainers, remove obsolete recipes (2013-08-12
13:13:05 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/opkg-remove-POSTLOG
From: Chen Qi
The following changes since commit f63e7f4323368c0d6fe7a1d44393a7e15652d4f2:
subversion: Add patch to use neon 0.30 (2013-08-07 07:43:47 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/makedevs
http://git.pokylinux.org/cgit.cgi/pok
From: Chen Qi
Instead of hard coding the uid/gid, we prefer the way of using user/group
names.
Note the way of using uid/gid is still supported.
[YOCTO #1159]
Signed-off-by: Chen Qi
---
meta/files/device_table-minimal.txt | 42 +--
1 file changed, 21 inserti
From: Chen Qi
Compared to hard coding the numeric group and user ids in the device
table files, the way of using user/group names is preferred.
This patch adds the ability to makedevs to correctly deal with device
table files with user/group names in them.
To maintain backward compatibility, th
From: Chen Qi
Now that the makedevs supports using user/group names in the devcie
table files, and it uses passwd and group files under the rootfs which
is provided by the base-passwd package, we should let package installation
finish first, so that makedevs can get a correct mapping from user/gr
From: Chen Qi
The grub_fix_for_automake-1.12.patch replaced pkglib with pkgdata to
make grub_0.97 build with automake-1.12. However, it forgot to set up
the pkgdatadir, thus causing grub_0.97 not shipping files under /usr/lib.
This in turn resulted in an unworkable grub.
This patch fixes this pr
From: Chen Qi
The following changes since commit 70f1938e6bb4da056cbf57e6deb4f53cad8ddca1:
Temporary workaround with qemu images (2013-08-09 10:51:40 +0800)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/grub_0.97-fix
http://git.pokylinux.org/cgit.cgi
From: Chen Qi
Previously, fsck is always disabled because the value of rootcheck in
the checkroot.sh script is always set to 'no'.
We should respect the value of ENABLE_ROOTFS_FSCK in /etc/default/rcS
to allow for filesystem check.
Signed-off-by: Chen Qi
---
.../initscripts/initscripts-1.0/ch
From: Chen Qi
The following changes since commit f63e7f4323368c0d6fe7a1d44393a7e15652d4f2:
subversion: Add patch to use neon 0.30 (2013-08-07 07:43:47 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/sysv-fsck
http://git.pokylinux.org/cgit.cgi/po
From: Chen Qi
Previously, dead links in target directory will not be copied.
This is incorrect as dead links are not uncommon in our rootfs.
So we use '-a' option instead.
Signed-off-by: Chen Qi
---
.../initscripts-1.0/populate-volatile.sh |3 ++-
1 file changed, 2 insertions(+),
From: Chen Qi
The init script for irda writes configuration items to /etc/sysconfig/irda
if that file is not available in system. But it's actually not necessary,
the behavior doesn't change whether the init script writes to the file or not.
Considering it issues error messages in case of a read
From: Chen Qi
The QEMUOPTIONS for ISOFS was not complete, leading to failures when
trying to start X in live images.
This patch fixes this problem.
[YOCTO #4103]
[YOCTO #4884]
Signed-off-by: Chen Qi
---
scripts/runqemu-internal |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -
From: Chen Qi
If the rootfs is read-only and the ssh keys are not available at system
start-up, the init script will generate ssh keys into /etc/ssh, thus
causing a 'read-only file system' error.
In order for Yocto based image to work correctly for read-only rootfs,
we use the following logic fo
From: Chen Qi
Packages in our system may need to write to some directories to function
correctly. In read-only rootfs, these directories should be made writable.
This patch uses a convenient and uniform way to handle such situations.
The read-only-rootfs-hook.sh script searches the /etc/default/
From: Chen Qi
If the live image is mounted as read-only, we cannot make necessary
directories under $ROOT_MOUNT/media, so trying to move the mount points
lead to errors.
So in case that no unification filesystem mechanism is available in kernel
and the rootfs is mounted as read-only, we mount tm
From: Chen Qi
Previously, we had two ways to check whether the rootfs was read-only.
In some part of the system, we determined whether the rootfs is read-only
by checking the fstab or /proc/mounts; in other part of the system, we
used the value of ROOTFS_READ_ONLY in /etc/default/rcS as a criteri
From: Chen Qi
Changes from V4:
1. Fix the error of 'read -f' in populate-volatile.sh. The '-f' should should
not be there.
2. Fix the error of missing colon in populate-volatile.sh.
Changes from V3:
1. Take hidden directories and files into consideration when copying before
bind mounting.
2. U
From: Chen Qi
If we're building a read-only rootfs, we'll get the following error now
and then.
tar: .: file changed as we read it
The root cause is that we spawn background process at rootfs time.
When the tar command is running, it's possible that files under rootfs
are changed by backgro
From: Chen Qi
It's possible that a 'No such directory' error occurs when doing
check_requirement in populate-volatile.sh at rootfs time. This is
because the $ROOT_DIR/var/tmp might be a dead link.
Use $ROOT_DIR/var/volatile/tmp as the TMPDIR instead to avoid this
error.
[YOCTO #4883]
[YOCTO #41
From: Chen Qi
At some point, the udev was modified to source the functions from
initscripts or lsbinitscripts. This dependency is actually not needed.
If we use udev in a system where initscripts from oe-core is not available,
there will be errors.
This patch fixes this problem by removing the i
From: Chen Qi
The following changes since commit f63e7f4323368c0d6fe7a1d44393a7e15652d4f2:
subversion: Add patch to use neon 0.30 (2013-08-07 07:43:47 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/busybox-systemd
http://git.pokylinux.org/cgit.
From: Chen Qi
sysvinit and systemd have different ideas about configuration files (or
environment files in systemd), so basically we can't use the same one in
both cases.
To avoid confusion, this patch removes syslog-startup.conf if 'sysvinit'
is not in DISTRO_FEATURES.
[YOCTO #4837]
[YOCTO #48
From: Chen Qi
Previously, dead links in target directory will not be copied.
This is incorrect as dead links are not uncommon in our rootfs.
So we use '-a' option instead.
Signed-off-by: Chen Qi
---
.../initscripts-1.0/populate-volatile.sh |3 ++-
1 file changed, 2 insertions(+),
From: Chen Qi
The QEMUOPTIONS for ISOFS was not complete, leading to failures when
trying to start X in live images.
This patch fixes this problem.
[YOCTO #4103]
[YOCTO #4884]
Signed-off-by: Chen Qi
---
scripts/runqemu-internal |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -
From: Chen Qi
Packages in our system may need to write to some directories to function
correctly. In read-only rootfs, these directories should be made writable.
This patch uses a convenient and uniform way to handle such situations.
The read-only-rootfs-hook.sh script searches the /etc/default/
From: Chen Qi
The init script for irda writes configuration items to /etc/sysconfig/irda
if that file is not available in system. But it's actually not necessary,
the behavior doesn't change whether the init script writes to the file or not.
Considering it issues error messages in case of a read
From: Chen Qi
At some point, the udev was modified to source the functions from
initscripts or lsbinitscripts. This dependency is actually not needed.
If we use udev in a system where initscripts from oe-core is not available,
there will be errors.
This patch fixes this problem by removing the i
From: Chen Qi
If the rootfs is read-only and the ssh keys are not available at system
start-up, the init script will generate ssh keys into /etc/ssh, thus
causing a 'read-only file system' error.
In order for Yocto based image to work correctly for read-only rootfs,
we use the following logic fo
From: Chen Qi
Previously, we had two ways to check whether the rootfs was read-only.
In some part of the system, we determined whether the rootfs is read-only
by checking the fstab or /proc/mounts; in other part of the system, we
used the value of ROOTFS_READ_ONLY in /etc/default/rcS as a criteri
101 - 200 of 505 matches
Mail list logo