Skip to content

A script to test ebuilds on Gentoo Linux. Based on the BtrFS subvolume. Use bwrap to do chroot.

Notifications You must be signed in to change notification settings

bekcpear/testEbuilds.sh

Repository files navigation

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

About

A script to test ebuilds on Gentoo Linux. Based on the BtrFS subvolume. Use bwrap to do chroot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published