Paludis: Difference between revisions
mNo edit summary |
No edit summary |
||
| Line 117: | Line 117: | ||
Now that we have played around a little with Paludis we really don't need Portage compatibility anymore, so lets adjust our configuration to speed up Paludis. | Now that we have played around a little with Paludis we really don't need Portage compatibility anymore, so lets adjust our configuration to speed up Paludis. | ||
{{Root|mkdir -p /var/cache/distfiles}} | {{Root|mkdir -p /var/cache/paludis/distfiles}} | ||
{{Root|mkdir -p /var/cache/paludis/ | {{Root|mkdir -p /var/cache/paludis/metadata}} | ||
{{Root|mkdir -p /var/cache/paludis | {{Root|mkdir -p /var/cache/paludis/names}} | ||
{{Root|mkdir -p /var/cache/paludis/ | {{Root|mkdir -p /var/cache/paludis/provides}} | ||
{{Root|chown -R paludisbuild:paludisbuild /var/cache/paludis}} | {{Root|chown -R paludisbuild:paludisbuild /var/cache/paludis}} | ||
{{Root|chown -R paludisbuild:paludisbuild /var/tmp/paludis}} | {{Root|chown -R paludisbuild:paludisbuild /var/tmp/paludis}} | ||
{{Root|chmod g+w /var/cache/distfiles}} | {{Root|chmod g+w /var/cache/paludis/distfiles}} | ||
{{Root|chmod g+w /var/tmp/paludis}} | {{Root|chmod g+w /var/tmp/paludis}} | ||
{{File|//etc/paludis/repository_defaults.conf| | |||
<pre> | |||
provides_cache = ${root}/var/cache/paludis/provides | |||
names_cache = ${root}/var/cache/paludis/names | |||
write_cache = ${root}/var/cache/paludis/metadata | |||
distdir = ${root}/var/cache/paludis/distfiles | |||
</pre> | |||
}} | |||
{{File|/etc/paludis/repositories/gentoo.conf| | {{File|/etc/paludis/repositories/gentoo.conf| | ||
<pre> | <pre> | ||
location = /usr/portage | location = ${root}/usr/portage | ||
sync = rsync://rsync.europe.gentoo.org/gentoo-portage/ | sync = rsync://rsync.europe.gentoo.org/gentoo-portage/ | ||
profiles = ${location}/profiles/default/linux/amd64/10.0/desktop | profiles = ${location}/profiles/default/linux/amd64/10.0/desktop | ||
format = e | format = e | ||
</pre> | </pre> | ||
}} | }} | ||
Revision as of 16:55, 26 May 2011
Paludis on Exherbo (User configuration)
names_cache = ${root}/var/cache/paludis/names
write_cache = ${root}/var/cache/paludis/metadata
Typical Paludis configuration
Automatic repository configuration
format = repository
config_filename = /etc/paludis/repositories/%{repository_template_name}.conf
config_template = /etc/paludis/repository.template
format = %{repository_template_format}
location = ${ROOT}/var/db/paludis/repositories/%{repository_template_name}
sync = %{repository_template_sync}
Paludis on Exherbo (Developer configuration)
Typical Paludis configuration
Paludis on Gentoo
Installation
Configuration (Portage compatible - Gentoo offical tree)
With this configuration you are able to still use portage, although paludis will be sloooow.
*/* amd64 ~amd64
*/* *
*/* BUILD_OPTIONS: -recomended_tests -optional_tests -split strip */* -gtk -arts -gnome -ldap -kerberos -acl -esd kde alsa xcb */* LINGUAS: de */* INPUT_DEVICES: -* evdev */* VIDEO_CARDS: -* nvidia sys-apps/paludis visibility xml dev-util/git -perl
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j5"
world = /var/lib/portage/world
location = /var/db/pkg/ format = vdb names_cache = /var/empty provides_cache = /var/empty
location = /usr/portage
sync = rsync://rsync.europe.gentoo.org/gentoo-portage/
profiles = ${location}/profiles/default/linux/amd64/10.0/desktop
format = e
names_cache = /var/empty
distdir = /usr/portage/distfiles
Configuration (Portage incompatible - Gentoo offical tree)
Now that we have played around a little with Paludis we really don't need Portage compatibility anymore, so lets adjust our configuration to speed up Paludis.
provides_cache = ${root}/var/cache/paludis/provides
names_cache = ${root}/var/cache/paludis/names
write_cache = ${root}/var/cache/paludis/metadata
distdir = ${root}/var/cache/paludis/distfiles
location = ${root}/usr/portage
sync = rsync://rsync.europe.gentoo.org/gentoo-portage/
profiles = ${location}/profiles/default/linux/amd64/10.0/desktop
format = e
Configuration (Portage incompatible - Automatic repository/overlay configuration)
format = unavailable name = layman location = /var/db/paludis/repositories/layman sync = tar+http://git.exherbo.org/layman_repositories.tar.bz2 importance = -100
format = repository
config_filename = /etc/paludis/repositories/%{repository_template_name}.conf
config_template = /etc/paludis/repository.template
format = %{repository_template_format}
location = /var/db/paludis/repositories/%{repository_template_name}
sync = %{repository_template_sync}
master_repository = gentoo
Portage vs. Paludis cave commands
Sync all repositories
Portage short:
Portage long:
Paludis cave short:
Paludis cave long:
Sync specific repository/overlay
Portage short:
Portage long:
Paludis cave short:
Paludis cave long:
World update
Portage short:
Portage long:
Paludis cave short:
Paludis cave long:
Install package
Portage short:
Portage long:
Paludis cave short:
Paludis cave long:
Install package without adding it to the world file
Portage short:
Portage long:
Paludis cave short:
Paludis cave long:
Update scm packages (daily)
Portage short:
Portage long:
Paludis cave short:
Paludis cave long:
Which package ownes <file>
Portage short:
Portage long:
Paludis cave short:
Paludis cave long:
Search for broken packages and rebuild them
Portage short:
Portage long:
Paludis cave short:
Paludis cave long:
Remove unnecessary/leftover packages
Portage short:
Portage long:
Paludis cave short:
Paludis cave long: