File: debugging.rst

package info (click to toggle)
pmbootstrap 3.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,852 kB
  • sloc: python: 17,099; sh: 425; makefile: 17
file content (33 lines) | stat: -rw-r--r-- 610 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#########
Debugging
#########

pmbootstrap writes all log output and each shell command it runs to log.txt inside the work dir.
Use the following command to follow the log in a second terminal: 

.. code-block:: shell

  $ pmbootstrap log


Use ``-v`` on any action to get verbose logging:

.. code-block:: shell

  $ pmbootstrap -v build hello-world


Parse a package from an APKINDEX and return it as JSON:

.. code-block:: shell

  $ pmbootstrap apkindex_parse $WORK/cache_apk_x86_64/APKINDEX.8b865e19.tar.gz hello-world


``ccache`` statistics:

.. code-block:: shell

  $ pmbootstrap stats --arch=armhf