Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21219 - Install suggestion: individual packages instead of a tarball
Summary: Install suggestion: individual packages instead of a tarball
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Release Team
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-18 17:12 UTC by t011-gentoo
Modified: 2011-10-30 22:36 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description t011-gentoo 2003-05-18 17:12:39 UTC
I have an idea for a change to the way the base Gentoo system is installed. The
idea is that rather than extracting a tarball with the entire base system,
instead, you would use the portage system to install each of those packages from
prebuilt packages using the -k option. Rather than having to list each and every
package(87 in a stage3 tarball), the command would probably take the form of a
short shell script listing each of the packages in the stage1, stage2, or stage3
tarballs and it would be a command like: emerge stage3.

The benefit of this is that you now have packages(which should be confirmed to
be working) for the base system which you can individually reinstall if you were
to ever damage one of those packages. For example, if you start with a clean
install of Gentoo, emerge sync, and find an updated GCC. You might want to
update GCC before adding any other software to the system. If during the update
of GCC something goes wrong, you can just do an "emerge -k gcc" and the original
GCC that came with the base sytem will be reinstalled. From there, you could try
again to build GCC or just wait for the ebuild to to fixed. Fairly simple.

Additionally, this would save space(~62MB) on the live CD's because rather than
having a different stage1, stage2 and stage3 tarball, you would just have one
instance of each package. Then a script would define which subset of those
packages would actually get installed(similar to the way the kde ebuild is just
a list of the kde base packages). Currently, you have the redundancy of 3 copies
of the stage1 software, 2 of stage2 software, and 1 of stage3 software.

Using individual prebuilt packages rather than 1 large tarball would provide a
safety-net with finer grained control. I make it a habit that whenever I update
software which is part of the base system, I also have a package built. That
way, if in the future I update that package again and it doesn't work, I can
easily revert back to the last working version. 

Thanks
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2003-09-21 10:03:40 UTC
Not really a portage issue
Comment 2 John Davis (zhen) (RETIRED) gentoo-dev 2004-01-20 21:48:19 UTC
this feature will be implemented with 2004.0