24 lines
992 B
Plaintext
24 lines
992 B
Plaintext
1. installed_package_parse.sh
|
|||
|
|
parse the packages depends and packages size in a build image using the informance in depends.dot in buildhistory
|
||
|
|
such as:
|
||
|
|
build-unisoc-wayland/buildhistory/images/uis8520_1h10_nand/glibc/unisoc-wayland-image/depends.dot
|
||
|
|
|
||
|
|
usage:
|
||
|
|
cp package_parse.sh build-unisoc-wayland/buildhistory/images/uis8520_1h10_nand/glibc/unisoc-wayland-image
|
||
|
|
cd build-unisoc-wayland/buildhistory/images/uis8520_1h10_nand/glibc/unisoc-wayland-image
|
||
|
|
./installed_package_parse.ch depends.dot
|
||
|
|
|
||
|
|
can specify other dot file, such as depends-nokernel-nolibc.dot etc
|
||
|
|
|
||
|
|
Out:
|
||
|
|
the results are int out dir
|
||
|
|
packages_depends.csv: contains the info of the packages and their depends
|
||
|
|
packages-depends-size.csv: contains the info the package size and the size of all its depends packages
|
||
|
|
top-packages.csv: contains the packages that build into image dirctly by distro feature/machine feature or IMAGE_INSTALL
|
||
|
|
|
||
|
|
2. cbuild
|
||
|
|
after source setup-xxx, use cbuild cmd can change back to build dir
|
||
|
|
|
||
|
|
usage:
|
||
|
|
. cbuild
|