Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »nougad« (21.03.2010, 15:34)
Reicht es nicht, die Pakete, die Du nicht haben möchstest in die /etc/portage/profile/package.provided einzutragen?
Es könnte jedoch zu Problemmen kommen, falls die Pakete doch mal benötigt werden.
Zitat
/etc/make.profile/
This is usually just a symlink to the correct profile in /usr/portage/profiles/. Since it is part of the portage tree, it may easily be updated/regenerated by running `emerge --sync`. It defines what a profile is (usually arch specific stuff). If you need a custom profile, then you should make your own /etc/make.profile/ directory and populate it. However, if you just wish to override some settings, use /etc/portage/profile/ (it supports all of the same file types that /etc/make.profile/ does, except parent). Do NOT edit the settings in /etc/make.profile/ because they WILL be lost with the next `emerge --sync`.
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 |
ENVIRONMENT OPTIONS ROOT = [path] Use ROOT to specify the target root filesystem to be used for merging packages or ebuilds. This variable can be set via the --root option or in make.conf(5) (the command line overrides other settings). Defaults to /. PORTAGE_CONFIGROOT = [path] Use PORTAGE_CONFIGROOT to specify the location for various portage configuration files (see FILES for a detailed list of con‐ figuration files). This variable can be set via the --config-root option. Defaults to /. |
Quellcode |
|
1 2 3 4 5 |
# cat chrt_emerge.sh #!/bin/bash export PORTAGE_CONFIGROOT=/usr/local/32bit_conf export ROOT=/usr/local/32bit emerge $@ |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# ./chrt_emerge.sh -va1 mysql * IMPORTANT: 3 news items need reading for repository 'gentoo'. * Use eselect news to read news items. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-db/mysql-init-scripts-1.2 to /usr/local/32bit/ 0 kB [ebuild N ] dev-perl/Net-Daemon-0.43 to /usr/local/32bit/ 0 kB [ebuild N ] perl-core/Storable-2.20 to /usr/local/32bit/ 0 kB [ebuild N ] perl-core/Sys-Syslog-0.27 to /usr/local/32bit/ 0 kB [ebuild N ] virtual/perl-Storable-2.20 to /usr/local/32bit/ 0 kB [ebuild N ] perl-core/File-Spec-3.30 to /usr/local/32bit/ 0 kB [ebuild N ] virtual/perl-Sys-Syslog-0.27 to /usr/local/32bit/ 0 kB [ebuild N ] dev-perl/PlRPC-0.2020-r1 to /usr/local/32bit/ 0 kB [ebuild N ] virtual/perl-File-Spec-3.30 to /usr/local/32bit/ 0 kB [ebuild N ] dev-perl/DBI-1.609 to /usr/local/32bit/ 0 kB [ebuild N ] dev-db/mysql-5.0.90-r2 to /usr/local/32bit/ USE="berkdb community perl ssl -big-tables -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal -profiling (-selinux) -static -test" 22,692 kB [ebuild N ] virtual/mysql-5.0 to /usr/local/32bit/ 0 kB [ebuild N ] dev-perl/DBD-mysql-4.00.5 to /usr/local/32bit/ 0 kB Total: 13 packages (13 new), Size of downloads: 22,692 kB Would you like to merge these packages? [Yes/No] |
Quellcode |
|
1 2 |
$ ls -lsh /var/portage/portage-current.sqfs 46M -rwx------ 1 root root 46M 22. Mär 19:33 /var/portage/portage-current.sqfs |
Quellcode |
|
1 2 |
export PYTHONPATH="/checkouts/portage/trunk/pym:${PYTHONPATH}" export PATH="/checkouts/portage/trunk/bin:${PATH}" |
Zitat
USE="-pam -cracklib -nls -ssl -perl -acl -crypt -python minimal -gpm -fortran"
FEATURES="nodoc noinfo noman parallel-fetch"
Zitat
-*net-misc/openssh
-*sys-apps/man
-*sys-apps/man-pages
-*sys-apps/module-init-tools
-*sys-apps/net-tools
-*sys-apps/shadow
-*sys-devel/autoconf
-*sys-devel/automake
-*sys-devel/bison
-*sys-devel/flex
-*sys-devel/gnuconfig
-*sys-devel/libtool
-*sys-devel/m4
-*sys-devel/make
-*sys-fs/e2fsprogs
-*sys-fs/udev
-*virtual/ssh
-*virtual/dev-manager
-*virtual/man
-*virtual/modutils
-*virtual/os-headers
-*sys-apps/baselayout
-*sys-apps/busybox
-*sys-apps/util-linux
-*virtual/portage
-*sys-apps/texinfo
-*net-misc/rsync
-*sys-process/psmisc
-*net-misc/iputils
-*sys-libs/readline
-*sys-apps/kbd
Zitat
app-admin/eselect
app-admin/eselect-python
app-admin/eselect-vi
app-arch/bzip2
app-arch/cpio
app-arch/gzip
app-arch/tar
app-editors/vim
app-portage/eix
app-shells/bash
dev-libs/gmp
dev-libs/libpcre
dev-libs/mpfr
net-misc/wget
sys-apps/coreutils
sys-apps/diffutils
sys-apps/file
sys-apps/findutils
sys-apps/gawk
sys-apps/grep
sys-apps/sed
sys-apps/which
sys-devel/binutils
sys-devel/binutils-config
sys-devel/gcc
sys-devel/gcc-config
sys-devel/patch
sys-libs/glibc
sys-libs/ncurses
sys-libs/timezone-data
sys-libs/zlib
sys-process/procps
virtual/editor
virtual/libiconv
virtual/pager