1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prezto/modules/cowbuilder/README.md

1.2 KiB

Cowbuilder

Start interactive cowbuilder session for debugging purposes. It allows for easy entering and saving changes in the chroots.

The shell function cb-shell is based on the notes from the Debian packaging symposium.

Cowbuilder is started using sudo with the option to preserve the environment. This allows one to configure cowbuilder and pbuilder using ~/.pbuilderrc.

Aliases

  • cb-shell-save start cb-shell and saves changes on exit.

Functions

  • cb-shell start shell inside cowbuilder chroot.

Examples

Start cowbuilder for distribution jessie. When environment variable DIST is present, the -d argument can be omitted.

$ cb-shell -d jessie
$ DIST=jessie cb-shell

To make changes persistent start the cowbuilder shell with option -s or use the alias cb-shell-save.

$ cb-shell -d jessie -s
$ cb-shell-save -d jessie

Authors

The authors of this module should be contacted via the issue tracker.