Message ID | cover.1375862591.git.Qi.Chen@windriver.com |
---|---|
State | New |
Headers | show
Delivered-To: oepatches@gmail.com Received: from pop.gmail.com by opal with POP3 (fetchmail-6.3.9-rc2) for <kraj@localhost> (single-drop); Wed, 07 Aug 2013 07:58:23 +0000 (UTC) Received: by 10.112.164.236 with SMTP id yt12csp197139lbb; Wed, 7 Aug 2013 01:07:53 -0700 (PDT) X-Received: by 10.66.182.166 with SMTP id ef6mr3082604pac.35.1375862872277; Wed, 07 Aug 2013 01:07:52 -0700 (PDT) Return-Path: <openembedded-core-bounces@lists.openembedded.org> Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id tp5si5148168pac.19.2013.08.07.01.07.51 for <multiple recipients>; Wed, 07 Aug 2013 01:07:52 -0700 (PDT) Received-SPF: pass (google.com: domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; spf=pass (google.com: domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mail=openembedded-core-bounces@lists.openembedded.org Received: from mail.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 205246B5A5; Wed, 7 Aug 2013 08:07:49 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id B9C36618BC for <openembedded-core@lists.openembedded.org>; Wed, 7 Aug 2013 08:07:47 +0000 (UTC) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id r7787mCX027466 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for <openembedded-core@lists.openembedded.org>; Wed, 7 Aug 2013 01:07:48 -0700 (PDT) Received: from pek-qchen1-d1.corp.ad.wrs.com (128.224.162.233) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.2.342.3; Wed, 7 Aug 2013 01:07:47 -0700 From: <Qi.Chen@windriver.com> To: <openembedded-core@lists.openembedded.org> Date: Wed, 7 Aug 2013 16:08:00 +0800 Message-ID: <cover.1375862591.git.Qi.Chen@windriver.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Subject: [OE-core] [PATCH V4 00/10] Make read-only rootfs work with live images X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer <openembedded-core.lists.openembedded.org> List-Unsubscribe: <http://lists.openembedded.org/mailman/options/openembedded-core>, <mailto:openembedded-core-request@lists.openembedded.org?subject=unsubscribe> List-Archive: <http://lists.openembedded.org/pipermail/openembedded-core/> List-Post: <mailto:openembedded-core@lists.openembedded.org> List-Help: <mailto:openembedded-core-request@lists.openembedded.org?subject=help> List-Subscribe: <http://lists.openembedded.org/mailman/listinfo/openembedded-core>, <mailto:openembedded-core-request@lists.openembedded.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org |
From: Chen Qi <Qi.Chen@windriver.com> Changes from V3: 1. Take hidden directories and files into consideration when copying before bind mounting. 2. Use 'cp -a' in populate-volatile.sh to avoid potential problems Change from V2: 1. modify the irda init script so that it doesn't necessarily need to write to /etc/sysconfig/irda 2. drop the lighttpd patch 3. modify the logic for openssh in case of a read-only rootfs Change from V1: 1. Disable the generating of ssh keys at rootfs time 2. Add a mechanism to read-only-rootfs-hook.sh to check whether a directory is on a read-only partition. 3. Fix a new bug#4937 (https://bugzilla.yoctoproject.org/show_bug.cgi?id=4937) 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/read-only-rootfs-in-live-images http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/read-only-rootfs-in-live-images Chen Qi (10): init-live.sh: make $ROOT_MOUNT/media writable when necessary use a uniform way to determine whether rootfs is read-only udev: remove implicit dependency on initscripts populate-volatile.sh: use $ROOT_DIR/var/volatile/tmp as TMPDIR populate-volatile.sh: don't spawn background process at rootfs time runqemu-internal: fix to start X correctly in live images initscripts: use a uniform way to handle directories in read-only rootfs populate-volatile.sh: use 'cp -a' to avoid potential problem irda-utils: fix for read-only rootfs openssh: fix for read-only rootfs meta/classes/image.bbclass | 16 +++++-- .../irda-utils/irda-utils-0.9.18/init | 13 +----- .../openssh/openssh-6.2p2/init | 22 ++++++--- meta/recipes-connectivity/openssh/openssh_6.2p2.bb | 9 +++- meta/recipes-core/initrdscripts/files/init-live.sh | 2 + .../initscripts/initscripts-1.0/functions | 14 ++++++ .../initscripts-1.0/populate-volatile.sh | 15 ++++-- .../initscripts-1.0/read-only-rootfs-hook.sh | 48 ++++++++++++++++++-- meta/recipes-core/initscripts/initscripts_1.0.bb | 5 ++ meta/recipes-core/sysvinit/sysvinit/rcS-default | 4 -- meta/recipes-core/udev/udev/init | 21 +++++++-- meta/recipes-core/udev/udev/udev-cache | 5 ++ .../0001-add-is_rootfs_readonly-to-functions.patch | 37 +++++++++++++++ meta/recipes-extended/lsb/lsbinitscripts_9.48.bb | 1 + scripts/runqemu-internal | 2 +- 15 files changed, 172 insertions(+), 42 deletions(-) create mode 100644 meta/recipes-extended/lsb/lsbinitscripts/0001-add-is_rootfs_readonly-to-functions.patch