View previous topic :: View next topic |
Author |
Message |
Species n00b

Joined: 16 Jan 2004 Posts: 21 Location: Germany
|
Posted: Tue Dec 13, 2005 5:47 am Post subject: Benutzung eigener Profiles im Portage-Overlay |
|
|
Hallo,
ich betreue einige Clients mit gleichen Architekturen. Damit ich nicht immer auf jedem einzelnen Client die make.conf anpassen muss, habe ich mir ein portage-overlay zusammengebastelt, bei dem unter anderem auch das Profil für diese Clients enthalten ist.
Nun mein Problem: Da ich kein komplettes, eigenes Profil erstellen möchte, sondern auf Basis des default-linux/x86 aus dem gentoo-portage, müsste ich in der Datei "parent" das Verzeichnis des zugrunde liegenden Profils angeben - aber das klappt nicht so recht. Gentoo übernimmt zwar alle Einstellungen aus dem neuen Profil, beachtet aber die darüberliegenden nicht.
Code: | sonne ~ # ls -l /usr/portage-overlay/profiles/default-linux/x86/pentium4-client/
total 8
-rw-r--r-- 1 root root 1763 Dec 13 06:21 make.defaults
-rw-r--r-- 1 root root 335 Dec 13 06:27 parent
sonne ~ # cat /usr/portage-overlay/profiles/default-linux/x86/pentium4-client/parent
# This file describes the parent profile to this. In most cases this will
# just be the name of the parent directory
..
sonne ~ # emerge --info
Portage 2.0.51.22-r3 (!/usr/portage-overlay/profiles/default-linux/x86/pentium4-client, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python: 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS=""
AUTOCLEAN="yes"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks sandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror"
LINGUAS="en de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage-overlay"
SYNC="rsync://10.223.7.1/gentoo-portage"
USE="3dnow 3dnowex 3dnowext 7zip X a52 aalib acl aim alsa apache2 apm arts artworkextra audiofile avi berkdb bitmap-fonts bzip2 cairo cdparanoia cdr chroot cls cpudetection crypt css cups directfb dts dvd dvdr dvdread eds emboss encode esd extensions fbcon ffmpeg flac flash foomaticdb fpx fuse gd gdbm gg gif gimp gimpprint gnome gphoto2 graphviz gstreamer gtk gtk2 guile hal hardenedphp howl icq imap imlib ipv6 irc ithreads jabber java jbig jpeg jpeg2k kde kdeenablefinal kernel_linux lcms libclamav libg++ libwww lm_sensors logitech-mouse lzo mad md5sum memlimit mikmod mmx mmx2 mmxext mng motif mozcalendar mozdevelop mozilla moznomail mozsvg mp3 mpeg msn mysql ncurses network nls nptl nptlonly nsplugin nvidia oav offensive ogg oggvorbis opengl oss pam pdflib perl png ppds pwdb python qt quicktime rdesktop readline real rss rtc samba scanner screen sdl server shaper slang slp snmp spell sse sse2 ssl stream svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vcd vlm vorbis wifi win32codecs wmf wxwindows xanim xchatdccserver xchattext xine xml xml2 xmms xosd xprint xscreensaver xv xvid xvmc yahoo zlib"
Unset: ASFLAGS, CBUILD, CFLAGS, CHOST, CTARGET, CXXFLAGS, LANG, LC_ALL, LDFLAGS, MAKEOPTS
|
Ich habe es bereits mit ".." und "/usr/portage/profiles/default-linux/x86" probiert. Was mich stört ist vor allem die letzte Zeile.
Hat jemand einen Tipp für mich?
Enrico _________________ Gentoo Linux running on my
2x Server: Pentium 4 3Ghz, 1024MB RAM
Notebook: Asus Pentium-M 1.7Ghz, 1024MB RAM
multiple Workstations |
|
Back to top |
|
 |
Genone Retired Dev


Joined: 14 Mar 2003 Posts: 9631 Location: beyond the rim
|
Posted: Tue Dec 13, 2005 9:51 am Post subject: |
|
|
Naja, warum ".." nicht geht sollte wohl klar sein.
Die Lösung ist den relativen Pfad uz dem gesuchten Profil einzutragen, wenn ich deine Angaben richtig verstehe wäre das bei dir
Code: | ../../../../portage/profiles/default-linux/x86 |
|
|
Back to top |
|
 |
Species n00b

Joined: 16 Jan 2004 Posts: 21 Location: Germany
|
Posted: Tue Dec 13, 2005 1:53 pm Post subject: |
|
|
Genone wrote: | Naja, warum ".." nicht geht sollte wohl klar sein.
Die Lösung ist den relativen Pfad uz dem gesuchten Profil einzutragen, wenn ich deine Angaben richtig verstehe wäre das bei dir
Code: | ../../../../portage/profiles/default-linux/x86 |
|
Naja, ich hatte mir das fast gedacht und mal probeweise mit /usr/portage/... versucht, was nicht ging. Ich versuch das mal mit dem relativen Pfad. Danke dir! _________________ Gentoo Linux running on my
2x Server: Pentium 4 3Ghz, 1024MB RAM
Notebook: Asus Pentium-M 1.7Ghz, 1024MB RAM
multiple Workstations |
|
Back to top |
|
 |
Species n00b

Joined: 16 Jan 2004 Posts: 21 Location: Germany
|
Posted: Wed Dec 14, 2005 6:02 am Post subject: |
|
|
habs jetzt mal ausprobiert, geht leider auch nicht. Sofern das parent profil im portage-overlay drin liegt, geht es, aber nicht wenn's außerhalb des overlay liegt...
Grüße
Enrico _________________ Gentoo Linux running on my
2x Server: Pentium 4 3Ghz, 1024MB RAM
Notebook: Asus Pentium-M 1.7Ghz, 1024MB RAM
multiple Workstations |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|