Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1.25 KB

README.md

File metadata and controls

47 lines (29 loc) · 1.25 KB

testEbuilds.sh

This is a script to test ebuilds on Gentoo Linux.

  • the environment is based on the btrfs subvolume
  • root user needed

Dependencies:

  • BtrFS and its tools
  • bubblewrap
  • standard linux tools

Preparation:

  • create a btrfs subvolume, refer to the btrfs contents of Preparing a chroot environment
  • setup the first few lines in the shell, especially the REPO_gentoo variable.

Run:

./testEbuilds.sh --help #show help message

export FSBASEPATH=/path/to/the/base/subvolume
# parallel mode
./testEbuilds.sh -d /path/to/_test_conf_root -r /path/to/extra/repo fcitx5-rime fcitx5-configtool fcitx5-gtk

# interactive mode
./testEbuilds.sh -d /path/to/_test_conf_root -r /path/to/extra/repo -i

# maintenance mode
./testEbuilds.sh -d /path/to/_test_conf_root -r /path/to/extra/repo -m

Parallel mode

parallel.mode.mp4

Interactive mode

interactive.mode.mp4

Maintenance mode

maintenance.mode.mp4