From patchwork Sat Nov 2 08:04:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 21318 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f71.google.com (mail-pb0-f71.google.com [209.85.160.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3E4BF244E0 for ; Sat, 2 Nov 2013 08:05:07 +0000 (UTC) Received: by mail-pb0-f71.google.com with SMTP id uo5sf8932873pbc.6 for ; Sat, 02 Nov 2013 01:05:07 -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=4YO10wvyti32/COXrt2aRGMNwJzu8jUtX3VWI7P89lo=; b=j2+slorlldP05Qt0ViXDNRvDuW0fVBbLvM+Vt31l4L/iQEVn7ponQ3exqGuL6r+f7d ZoihSR8MNfgMOe4eq6XkFQdewE7OXpVdaz7KekjDqpe/pJaQm0e+gO1HXGLV/hwdRLq2 ZSnkoG2uZ5Xwf6YddCGVD2rHZcvZ9FJeK/kr2GzNdTpFCJflhndhTi2xLqGpPXst3UlV 9BYEmMI1OH50c9y7ZERtlHRGhGJQdUjf660SwBoJsjr5zvJpNEDEppy8T7/nnNDmncgu Od2yIQFnvxLPZVqtkCBQtuBl+o7JK0Mi9VR0UQV6v95AoO4EeZDOJJjzPw9w/RpfMbFq BRzg== X-Gm-Message-State: ALoCoQmvR49AhQo681s17CJwZ6EWVHIxfdue6Lu3x9zd9/dwYZU7aBY/DndJ+z7NQ8nKpWCr3gqY X-Received: by 10.66.122.2 with SMTP id lo2mr274465pab.2.1383379506998; Sat, 02 Nov 2013 01:05:06 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.99.67 with SMTP id eo3ls1668408qeb.41.gmail; Sat, 02 Nov 2013 01:05:06 -0700 (PDT) X-Received: by 10.58.108.196 with SMTP id hm4mr2420578veb.28.1383379506835; Sat, 02 Nov 2013 01:05:06 -0700 (PDT) Received: from mail-vb0-f49.google.com (mail-vb0-f49.google.com [209.85.212.49]) by mx.google.com with ESMTPS id wp10si2939359vdb.19.2013.11.02.01.05.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 02 Nov 2013 01:05:06 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.49 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.49; Received: by mail-vb0-f49.google.com with SMTP id w20so260109vbb.22 for ; Sat, 02 Nov 2013 01:05:06 -0700 (PDT) X-Received: by 10.58.232.228 with SMTP id tr4mr367410vec.34.1383379506717; Sat, 02 Nov 2013 01:05:06 -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 u4csp8501vcz; Sat, 2 Nov 2013 01:05:06 -0700 (PDT) X-Received: by 10.67.14.67 with SMTP id fe3mr7217339pad.134.1383379505690; Sat, 02 Nov 2013 01:05:05 -0700 (PDT) Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) by mx.google.com with ESMTPS id iu9si6642340pac.60.2013.11.02.01.05.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 02 Nov 2013 01:05:05 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.177 is neither permitted nor denied by best guess record for domain of trevor.woerner@linaro.org) client-ip=209.85.192.177; Received: by mail-pd0-f177.google.com with SMTP id p10so4772707pdj.22 for ; Sat, 02 Nov 2013 01:05:05 -0700 (PDT) X-Received: by 10.66.142.170 with SMTP id rx10mr7232955pab.117.1383379504892; Sat, 02 Nov 2013 01:05:04 -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 hi5sm15322617pbb.43.2013.11.02.01.05.02 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 02 Nov 2013 01:05:03 -0700 (PDT) From: Trevor Woerner To: yocto@yoctoproject.org Cc: patches@linaro.org, Trevor Woerner Subject: [yocto-docs][PATCH] runtime package management: use oe-core features Date: Sat, 2 Nov 2013 01:04:03 -0700 Message-Id: <1383379443-8088-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.212.49 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 reference 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.