Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8767 - portage archive patch
Summary: portage archive patch
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 All
: High enhancement (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 1184
Blocks:
  Show dependency tree
 
Reported: 2002-10-04 19:57 UTC by Joshua Brindle (RETIRED)
Modified: 2011-10-30 22:19 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Adds dyn_archive to ebuild.sh, and adds a check in dyn_install for 'archive' in FEATURES (ebuild-archive.patch,745 bytes, patch)
2002-10-04 19:58 UTC, Joshua Brindle (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Brindle (RETIRED) gentoo-dev 2002-10-04 19:57:34 UTC
This is the first of hopefully many patches to give portage the "self-healing" 
ability of sorceror linux.
It adds an "archive" flag to FEATURES that makes an archive (the same way that 
dyn_package does) but puts it in /db/pkg/.
Comment 1 Joshua Brindle (RETIRED) gentoo-dev 2002-10-04 19:58:51 UTC
Created attachment 4418 [details, diff]
Adds dyn_archive to ebuild.sh, and adds a check in dyn_install for 'archive' in FEATURES
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2002-10-05 18:00:45 UTC
What's the difference between this and 'emerge -b' ?
Comment 3 Joshua Brindle (RETIRED) gentoo-dev 2002-10-05 18:50:40 UTC
This is the first step toward automatically archiving images for use in 
recovery (or self-healing). If the user had to use a flag every time they 
probably wouldn't, this gives the option of automatically archiving based on 
the FEATURE flag. Also, this puts the image in the build-info dir which goes 
to /var/db/pkg.. so that it can be used for repairing rather than -b which is 
used for deploying elsewhere and writes to /usr/portage/packages
(perhaps there should be a common place for both of them), personally i hate 
all the crap portage writes to /usr, /usr is for programs, now thousands of 
tars :)
Comment 4 SpanKY gentoo-dev 2002-10-05 19:55:16 UTC
basically it would be -b but placing the pkg in another place (maybe 
/var/db/pkg/<cat>/<pgk>/file) and then used later if 'self-healing' is wanted 
... 
Comment 5 Nicholas Jones (RETIRED) gentoo-dev 2002-10-05 21:36:49 UTC
PKGDIR=${PORTDIR}/packages

can be changed in make.conf, but I kinda get your point.
A constant feature as opposed to an explicit flag.
Comment 6 Nicholas Jones (RETIRED) gentoo-dev 2002-10-20 03:02:05 UTC
portage-2.0-41

FEATURES="buildpkg"
will cause --buildpkg to be set always.