From patchwork Sat Nov 2 17:34:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 21319 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f197.google.com (mail-qc0-f197.google.com [209.85.216.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B90A0244A8 for ; Sat, 2 Nov 2013 17:34:53 +0000 (UTC) Received: by mail-qc0-f197.google.com with SMTP id x19sf10106956qcw.0 for ; Sat, 02 Nov 2013 10:34:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=O/S47x7u8lHjt24LDOu35yKDptxzRKSocfFglXvjoMU=; b=c1j5tOMrg/LkxTk83voc047F2jkbfgcUHxkPZtDfQ0rFnbCCzn/jBZvWYQByhZgHhi NJ8ezc8CqTzni76trPrO0KAhS/bUPqOYVWbc37S4uVEebjSZH5Hp2K3T35KBYTC7shTf ZrX06sH9ZWeK7zmYNTxpqcic2OmfvZuoA4+Qo6kd+S7vnRlLY0boEFPthiJ2pG1Rdpjr CSMXCgY82t+vcEtkAWPVK/Nt3eqsIIlzV4YKNBAZv/hA452LgOrBdJklvbdUPKFZqagk DBYlkiV+tCgq9TMT4HizDNAnLyNLoKzL4q+BiusuVrd9IypO9BqomtKRNfc1YeG+XbgJ wGoA== X-Gm-Message-State: ALoCoQkUIYXFDWWNSTz+5MMCrLCuoVbEzfnSZNLacmZNd8OllB4xRM6oY/qhi3Doj7wPCXG4OYSV X-Received: by 10.236.111.73 with SMTP id v49mr791129yhg.46.1383413693330; Sat, 02 Nov 2013 10:34:53 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.18.199 with SMTP id y7ls1717614qed.78.gmail; Sat, 02 Nov 2013 10:34:53 -0700 (PDT) X-Received: by 10.220.10.70 with SMTP id o6mr290089vco.45.1383413693198; Sat, 02 Nov 2013 10:34:53 -0700 (PDT) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id st7si3324390vdc.94.2013.11.02.10.34.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 02 Nov 2013 10:34:53 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.172; Received: by mail-ve0-f172.google.com with SMTP id cz12so492899veb.3 for ; Sat, 02 Nov 2013 10:34:53 -0700 (PDT) X-Received: by 10.220.10.70 with SMTP id o6mr290086vco.45.1383413693110; Sat, 02 Nov 2013 10:34:53 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp32438vcz; Sat, 2 Nov 2013 10:34:52 -0700 (PDT) X-Received: by 10.66.7.68 with SMTP id h4mr9256203paa.0.1383413691897; Sat, 02 Nov 2013 10:34:51 -0700 (PDT) Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by mx.google.com with ESMTPS id ai2si7310801pad.291.2013.11.02.10.34.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 02 Nov 2013 10:34:51 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.47 is neither permitted nor denied by best guess record for domain of trevor.woerner@linaro.org) client-ip=209.85.220.47; Received: by mail-pa0-f47.google.com with SMTP id lf10so5280556pab.6 for ; Sat, 02 Nov 2013 10:34:51 -0700 (PDT) X-Received: by 10.68.189.34 with SMTP id gf2mr7889610pbc.91.1383413691449; Sat, 02 Nov 2013 10:34:51 -0700 (PDT) Received: from trevor-IdeaPad-U410.elevennetworks.com (205.158.164.101.ptr.us.xo.net. [205.158.164.101]) by mx.google.com with ESMTPSA id go4sm17791455pbb.15.2013.11.02.10.34.49 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 02 Nov 2013 10:34:50 -0700 (PDT) From: Trevor Woerner To: yocto@yoctoproject.org Cc: patches@linaro.org, Trevor Woerner Subject: [yocto-docs][PATCH v2] runtime package management: use oe-core features Date: Sat, 2 Nov 2013 10:34:32 -0700 Message-Id: <1383413672-6144-1-git-send-email-trevor.woerner@linaro.org> X-Mailer: git-send-email 1.8.1.2 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: trevor.woerner@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , [YOCTO #5408] The developer's manual should only refer to functionality which is available in oe-core. Currently, this passage requires the user to add a package from, and use facilities of, meta-oe. This fix describes how to use facilities in oe-core to the same end. Signed-off-by: Trevor Woerner --- .../dev-manual/dev-manual-common-tasks.xml | 32 +++++++--------------- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index cf188aa..5a4ff3c 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -3996,31 +3996,19 @@ As a way of making it easier to generate and make these IPK configuration files available on your - target, the meta-oe layer - provides a recipe called - distro-feed-configs, which - provides a package by the same name. - When you include this package into your image, it will - automatically generate and include a set of - *.conf files in the image's - /etc/opkg directory that will - provide your target's opkg - tool with any and all package databases your build will - generate. - The only catch is that this recipe cannot possibly - imagine your server's DNS name/IP address. - Consequently, somewhere in your configuration you need - to set a variable called - DISTRO_FEED_URI to point + target, simply define + FEED_DEPLOYDIR_BASE_URI to point to your server and the location within the - document-root that contains the databases. - For example: if you are serving your packages over HTTP, - your server's IP address is 192.168.7.1, and your - databases are located in a directory called + document-root which contains the databases. + For example: if you are serving your packages over + HTTP, your server's IP address is 192.168.7.1, and + your databases are located in a directory called BOARD-dir underneath your HTTP server's document-root, you need to set - DISTRO_FEED_URI to - http://192.168.7.1/BOARD-dir. + FEED_DEPLOYDIR_BASE_URI to + http://192.168.7.1/BOARD-dir and + a set of configuration files will be generated for you + in your target to work with this feed.