@@ -8,8 +8,7 @@ fs-cooks uses debootstrap to pull core Linux packages to build linux traballs, a
88the top-level contains some example build scripts which are lightweight to build and beginning of directories
99```
1010.
11- ├── build-hirsute-raw.sh -> cook.sh
12- ├── build-impish-raw.sh
11+ ├── build-jammy.sh -> cook.sh
1312├── cook.sh
1413├── build
1514├── core
2625<hr >
2726
2827** important files/folders to notice**
29- ###### ` ~/core/defaults `
30- defaults folder contains some heavy templates to build DE ready tarballs like mate,xfce4,kde
3128###### ` ~/plugins/envsetup `
3229contains functions that can be used for cmd line building and integrating in scripts
3330- useful functions in ` envsetup ` :
@@ -50,12 +47,11 @@ do_build "out/udroid-test" "arm64"
5047
5148``` bash
5249source plugins/envsetup
53- SUITE=impish
50+ SUITE=jammy
5451do_build " out/fs" " arm64"
5552```
5653### Quick build scripts
57- - ` build-impish-raw.sh ` : to build raw ubuntu 21.10 tarballs
58- - ` build-hirsute-raw.sh ` : to build raw ubuntu 21.04 tarballs
54+ - ` build-jammy.sh ` : to build raw ubuntu 22.04 tarballs
5955> others are experimental ( may break things )
6056
6157### functions ( <kbd >v1.0</kbd > )
@@ -74,11 +70,15 @@ do_build "out/fs" "arm64"
7470- ` do_second_stage() ` : if foreign arch triggers second stage
7571- - ` do_qemu_user_emulation() ` sets up qemu binaries in chroot
7672- ` do_chroot_ae() ` : to run command in chroot
77- - - ` run_cmd() ` : alternative for ` do_chroot_are() `
73+ - - ` do_chroot_proot_ae ` : use ** proot** instead of chroot in termux
74+ - - ` run_cmd() ` : alternative for ` do_chroot_ae() `
75+ - - ` run_shell_script() ` : to run a specific script, alternative for ` do_chroot_ae() `
76+ - - ` install_pkg() ` : to install a specific package inside chroot, alternative for ` do_chroot_ae() `
7877- ` do_compress() ` : takes care of compressing tarballs without messy device file
7978- - ` do_tar_gzip() ` : to compress in gzip format
8079- - ` do_tar_bzip() ` : to compress in bzip format
8180- - ` do_tar_lz4() ` : to compress in lzip/lz4 format
81+ - - ` do_tar_zstd() ` : to compress in zstd format
8282- ` arch_translate() ` : takes care of translating arch to find qemu static builds
8383- ` COPY() ` : to copy files to target filesystem
8484- ` die() ` : to echo an error message & exit if ` ENABLE_EXIT ` is set to true
0 commit comments