diff options
author | Eitan Mosenkis <eitan@mosenkis.net> | 2009-06-15 12:26:09 -0400 |
---|---|---|
committer | Eitan Mosenkis <eitan@mosenkis.net> | 2009-06-15 12:26:09 -0400 |
commit | 0f66b07a224b3898570466e15c9f2216e718ef87 (patch) | |
tree | 8b2dfa8e29604df0da57290579825470a42e82bf /steps | |
download | ingenue-0f66b07a224b3898570466e15c9f2216e718ef87.tar.gz ingenue-0f66b07a224b3898570466e15c9f2216e718ef87.tar.bz2 ingenue-0f66b07a224b3898570466e15c9f2216e718ef87.zip |
Add some basic working docs
Diffstat (limited to 'steps')
-rw-r--r-- | steps | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -0,0 +1,23 @@ +alias tmerge=PORTAGE_CONFIGROOT=CONF_ROOT ROOT=/root/target/image emerge -K (don't actually alias, just set env vars and use EMERGE_DEFAULT_OPTS=-K in make.conf) + + +generate a fake CONF_ROOT with /etc/make.profile (linked based on target arch) and /etc/make.conf (generated) + make.conf: + PKGDIR=... + CFLAGS=? + CXXFLAGS=? + CHOST=... + MAKEOPTS=? + PORT_LOGDIR=... + FEATURES=ccache? +tmerge -p system (check that it doesn't mention unavailable packages) # Possibly merge with +tmerge system +ln -s /usr/portage/profiles/x /etc/make.profile +tar -zxvf portage-snapshot (or is this just a cp of /usr/portage or something?) +generate a new make.conf without PORT_LOGDIR, PKGDIR, etc. +Install user-selected packages +ln -s /usr/share/zoneinfo/x /etc/localtime (optional) +uninstall toolchain and portage (other unwanted stuff too) + TIP: To unmerge portage, use equery files portage and delete all files and non-empty directories (will have to emerge gentoolkit, then unmerge it once we have the uninstall list for portage) +Package everything - tar/gz or tar/bz2 or one of those and then throw it on an ISO image +Notify the user their build is ready |