Skip to content

Migration to Pearl version 2

Filippo Squillace edited this page Jan 21, 2020 · 6 revisions

Backup var directory and legacy pearl directory

cp -R ~/.config/pearl/var ~/

Change name of the default repo to local:

mv ~/var/default ~/var/local

Backup pearl directory altogether:

mv ~/.config/pearl/ ~

Remove legacy Pearl

pearl remove

This will prompt some questions. Make sure to remove all packages, all pearl hooks and the $PEARL_HOME directory (~/.config/pearl).

Also, remove the location of the legacy Pearl:

rm -rf ~/.local/share/pearl

Install new Pearl

  • Follow the installation procedure for the new Pearl here.
  • Copy the var directory
cp -R ~/var ~/.local/share/pearl/

Changes to packages

The install.sh file has been renamed to hooks.sh.

You have to change the name of the file in order to be visible to the newer Pearl. You can troubleshoot more by running double verbosity.

pearl -vv emerge mypackage
Clone this wiki locally