Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Add tip for inspecting failed sbuilds.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarley committed May 15, 2013
1 parent 1c5c9b4 commit 74baef6
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions doc/tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,23 @@ Useful if your GPG key email address differs from the changelog entry:
```
DEBUILD_ARGS="-k12345678" ./build_source.py pkg/foo
```

## sbuild

### Inspect a failed build

Instruct `sbuild` to not purge the build directory or chroot session:
```
sbuild --purge never --purge-session never [...]
```

Attach to the session and look in the `/build` directory:
```
vagrant@packager:~/packager$ schroot -r -c
precise-amd64-7c376c42-0b8d-49ac-abb2-0dd659a11551
(precise-amd64)vagrant@packager:~/packager$ ls -al /build
total 12
drwxrws--- 1 sbuild sbuild 4096 May 14 16:09 .
drwxr-xr-x 1 root root 4096 May 14 16:09 ..
drwxr-x--- 4 vagrant sbuild 4096 May 14 16:14 foo-E8JFbs
```

0 comments on commit 74baef6

Please sign in to comment.