From patchwork Mon Mar 21 18:35:00 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Chang X-Patchwork-Id: 712 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:45:04 -0000 Delivered-To: patches@linaro.org Received: by 10.220.28.198 with SMTP id n6cs148160vcc; Mon, 21 Mar 2011 11:35:22 -0700 (PDT) Received: by 10.216.67.143 with SMTP id j15mr4118852wed.60.1300732521652; Mon, 21 Mar 2011 11:35:21 -0700 (PDT) Received: from mail-wy0-f178.google.com (mail-wy0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id v59si4062180wei.176.2011.03.21.11.35.20 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 21 Mar 2011 11:35:20 -0700 (PDT) Received-SPF: pass (google.com: domain of shunyu.chang@gmail.com designates 74.125.82.178 as permitted sender) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=pass (google.com: domain of shunyu.chang@gmail.com designates 74.125.82.178 as permitted sender) smtp.mail=shunyu.chang@gmail.com; dkim=pass (test mode) header.i=@gmail.com Received: by mail-wy0-f178.google.com with SMTP id 26so6920506wyj.37 for ; Mon, 21 Mar 2011 11:35:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=a23gIZfeeGSvdR2JxYM65WKxW92tmwCy9K2L2SZLE+Q=; b=TQBSERPlZK/Y7LmBfSva6R/4VI7EjDtYNbEZGJNJGB8TEBLdJImTDkHP4J1pND1nHa Vg7Nn0gOdwwxVetMx1i7PavaIFpAJPlMW+y8/4XjWPMlKXPF5e0+36ZkW9VqxpD+uWiq ssezWILTowVJ9C5NWTVc5WIFb5MEw2DTG979s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; b=WxzsxgYCf1p0KYi+GLvjs/BIXjN3Nkch05rWWpRABICGq7Rox+IL8YQcxzNdKVtpnp dxYFTbH1WrtWjc8H5mk4P/eztzIVONU5wiwjbDe0j4RIc7d2oJCP1hBkyGU099znbMZU RsisReiHs1Nl6pCC+39hrowd3IADaP5S2rXAU= Received: by 10.216.56.65 with SMTP id l43mr5332000wec.113.1300732520153; Mon, 21 Mar 2011 11:35:20 -0700 (PDT) MIME-Version: 1.0 Sender: shunyu.chang@gmail.com Received: by 10.216.153.149 with HTTP; Mon, 21 Mar 2011 11:35:00 -0700 (PDT) From: Jeremy Chang Date: Tue, 22 Mar 2011 02:35:00 +0800 X-Google-Sender-Auth: eZWN9Y_IZg-h1w4tKUzYv02fDPI Message-ID: Subject: [PATCH android/device/linaro/beagleboard] Add vold.fstab To: linaro-dev@lists.linaro.org Cc: patches , Patrik Ryd , Alexander Sack vold.fstab is the vold configuration file to tell what the device to mount. Add device.mk, the device-specific product definition file for copy device-specific drivers, configuration files, settings, etc. Signed-off-by: Jeremy Chang --- beagleboard.mk | 1 + device.mk | 16 ++++++++++++++++ vold.fstab | 15 +++++++++++++++ 3 files changed, 32 insertions(+), 0 deletions(-) create mode 100644 device.mk create mode 100644 vold.fstab diff --git a/beagleboard.mk b/beagleboard.mk index f810f36..015b605 100644 --- a/beagleboard.mk +++ b/beagleboard.mk @@ -29,6 +29,7 @@ PRODUCT_PACKAGES := \ $(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk) +$(call inherit-product, device/linaro/beagleboard/device.mk) # Overrides PRODUCT_BRAND := beagleboard diff --git a/device.mk b/device.mk new file mode 100644 index 0000000..79979e3 --- /dev/null +++ b/device.mk @@ -0,0 +1,16 @@ +# Copyright (C) 2010 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +PRODUCT_COPY_FILES := \ + device/linaro/beagleboard/vold.fstab:system/etc/vold.fstab diff --git a/vold.fstab b/vold.fstab new file mode 100644 index 0000000..c17bb64 --- /dev/null +++ b/vold.fstab @@ -0,0 +1,15 @@ +## Vold 2.0 Generic fstab +## - San Mehat (san@android.com) +## + +####################### +## Regular device mount +## +## Format: dev_mount