From 50ac1049d39be4a1b696e595f049347be8816c58 Mon Sep 17 00:00:00 2001 From: zador-blood-stained Date: Sat, 19 Mar 2016 17:38:45 +0300 Subject: [PATCH] Update documentation and launcher script --- compile.sh | 5 +++-- documentation/geek-faq.md | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/compile.sh b/compile.sh index 7183f9dbd..8d86c5ae8 100755 --- a/compile.sh +++ b/compile.sh @@ -18,7 +18,8 @@ KERNEL_ONLY="no" # build only kernel KERNEL_CONFIGURE="no" # want to change my default configuration CLEAN_LEVEL="make,debs" # comma-separated list of clean targets: "make" = make clean for selected kernel and u-boot, - # "images" = delete "./output/images", "debs" = delete "./output/debs", + # "debs" = delete pckages in "./output/debs" for current branch and family, + # "alldebs" - delete all packages in "./output/debs", "images" = delete "./output/images", # "cache" = delete "./output/cache", "sources" = delete "./sources" # user DEST_LANG="en_US.UTF-8" # sl_SI.UTF-8, en_US.UTF-8 @@ -93,4 +94,4 @@ fi # If you are committing new version of this file, increment VERSION # Only integers are supported -# VERSION=11 +# VERSION=12 diff --git a/documentation/geek-faq.md b/documentation/geek-faq.md index e0efe2a73..7d750c7c8 100644 --- a/documentation/geek-faq.md +++ b/documentation/geek-faq.md @@ -33,7 +33,8 @@ Run the script - **CLEAN_LEVEL** (comma-separated list): defines what should be cleaned. Default value is `"make,debs"` - clean sources and remove all packages. Changing this option can be useful when rebuilding images or building more than one image - "make" = execute `make clean` for selected kernel and u-boot sources, - "images" = delete `output/images` (complete OS images), - - "debs" = delete "`output/debs` (kernel, u-boot and other packages), + - "debs" = delete packages in `output/debs` for current branch and device family, + - "alldebs" = delete all packages in `output/debs`, - "cache" = delete `output/cache` (rootfs cache), - "sources" = delete `sources` (all downloaded sources) - **KERNEL\_KEEP\_CONFIG** (yes|no): @@ -98,6 +99,8 @@ You can run additional commands to customize created image. Edit file: and place your code here. You may test values of variables noted in the file to use different commands for different configurations. Those commands will be executed in a process of building just before closing image. +To add files to image easily, put them in `userpatches/overlay` and access them in `/tmp/overlay` from `customize-image.sh` + # What is behind the build process? Build process summary: