File tree Expand file tree Collapse file tree 7 files changed +18
-18
lines changed
Expand file tree Collapse file tree 7 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ contains functions that can be used for cmd line building and integrating in scr
3939do_mount " /path/to/fs"
4040```
4141
42- <kbd >do_debootstrap ()</kbd > bootstraps linux to a directories of specified arch
42+ <kbd >do_build ()</kbd > bootstraps linux to a directories of specified arch
4343``` bash
44- do_debootstrap " out/udroid-test" " arm64"
44+ do_build " out/udroid-test" " arm64"
4545```
4646###### TODO ( need to write more )
4747
@@ -51,7 +51,7 @@ do_debootstrap "out/udroid-test" "arm64"
5151``` bash
5252source plugins/envsetup
5353SUITE=impish
54- do_debootstrap " out/fs" " arm64"
54+ do_build " out/fs" " arm64"
5555```
5656### Quick build scripts
5757- ` build-impish-raw.sh ` : to build raw ubuntu 21.10 tarballs
@@ -70,7 +70,7 @@ do_debootstrap "out/fs" "arm64"
7070- ` no_to_directory() ` : exits if directory given is present
7171- ` foreign_arch() ` : checks does target arch matches with host architecture
7272- ` includes_packages() ` : takes care of extrapackges when a variable ` INCLUDE_PACKAGES ` is set with packages
73- - ` do_debootstrap ()` : bootstraps linux to with target arch to target directorie
73+ - ` do_build ()` : bootstraps linux to with target arch to target directorie
7474- ` do_second_stage() ` : if foreign arch triggers second stage
7575- - ` do_qemu_user_emulation() ` sets up qemu binaries in chroot
7676- ` do_chroot_ae() ` : to run command in chroot
Original file line number Diff line number Diff line change @@ -32,11 +32,11 @@ additional_setup() {
3232 install_pkg " lz4 bzip2 gzip bc pv"
3333}
3434
35- do_debootstrap " ${frn} -arm64" arm64
35+ do_build " ${frn} -arm64" arm64
3636do_compress " ${frn} -arm64"
37- do_debootstrap " ${frn} -armhf" armhf
37+ do_build " ${frn} -armhf" armhf
3838do_compress " ${frn} -armhf"
39- do_debootstrap " ${frn} -amd64" amd64
39+ do_build " ${frn} -amd64" amd64
4040do_compress " ${frn} -amd64"
4141
4242do_unmount " ${frn} -arm64"
Original file line number Diff line number Diff line change @@ -35,11 +35,11 @@ ENABLE_USER_SETUP=false
3535
3636warn " for best results use kali-linux host for building"
3737
38- do_debootstrap " ${frn} -arm64" arm64
38+ do_build " ${frn} -arm64" arm64
3939do_compress " ${frn} -arm64"
40- do_debootstrap " ${frn} -armhf" armhf
40+ do_build " ${frn} -armhf" armhf
4141do_compress " ${frn} -armhf"
42- do_debootstrap " ${frn} -amd64" amd64
42+ do_build " ${frn} -amd64" amd64
4343do_compress " ${frn} -amd64"
4444
4545do_unmount " ${frn} -arm64"
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ function stage_one() {
4848 for _arch in ${BUILD_ARCH} ; do
4949 export _arch
5050 msg " + building ${_arch} "
51- do_debootstrap " ${OUT_DIR} -${_arch} " " $_arch " || exit 1
51+ do_build " ${OUT_DIR} -${_arch} " " $_arch " || exit 1
5252 second_stage
5353 done
5454}
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ frn="out/hirsute-raw"
1616OVERRIDER_COMPRESSION_TYPE=" gzip"
1717ENABLE_EXIT=true
1818
19- do_debootstrap " ${frn} -arm64" arm64
19+ do_build " ${frn} -arm64" arm64
2020do_compress " ${frn} -arm64"
21- do_debootstrap " ${frn} -armhf" armhf
21+ do_build " ${frn} -armhf" armhf
2222do_compress " ${frn} -armhf"
23- do_debootstrap " ${frn} -amd64" amd64
23+ do_build " ${frn} -amd64" amd64
2424do_compress " ${frn} -amd64"
Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ OVERRIDER_COMPRESSION_TYPE="gzip"
1818ENABLE_EXIT=true
1919ENABLE_USER_SETUP=false
2020
21- do_debootstrap " ${frn} -arm64" arm64
21+ do_build " ${frn} -arm64" arm64
2222do_compress " ${frn} -arm64"
23- do_debootstrap " ${frn} -armhf" armhf
23+ do_build " ${frn} -armhf" armhf
2424do_compress " ${frn} -armhf"
25- do_debootstrap " ${frn} -amd64" amd64
25+ do_build " ${frn} -amd64" amd64
2626do_compress " ${frn} -amd64"
2727
2828do_unmount " ${frn} -arm64"
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ includes_packages() {
226226 shout " $x includes processed "
227227}
228228
229- do_debootstrap () {
229+ do_build () {
230230 export target_dir=" $1 "
231231 export arch=" $2 "
232232
You can’t perform that action at this time.
0 commit comments