Skip to content

Commit 783b721

Browse files
Merge pull request #34 from RandomCoderOrg/add-support-platform-termux
Maintainence + additions
2 parents 0c1437c + dbb9c6e commit 783b721

File tree

13 files changed

+251
-311
lines changed

13 files changed

+251
-311
lines changed

.github/scripts/build-kinetic.sh

Lines changed: 0 additions & 98 deletions
This file was deleted.

.github/workflows/build-udroid.yml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -42,36 +42,3 @@ jobs:
4242
with:
4343
name: jammy-raw-amd64
4444
path: jammy-amd64
45-
BuildKineticRaw:
46-
name: build Kinetc (22.10)
47-
runs-on: ubuntu-latest
48-
steps:
49-
- name: checkout repository
50-
uses: actions/checkout@v3
51-
52-
- name: Docker Setup QEMU
53-
uses: docker/setup-qemu-action@v2
54-
55-
- name: Satify Dependencies
56-
run: sudo apt-get update; sudo apt-get install git build-essential binfmt-support qemu-user-static debootstrap -y
57-
58-
- name: Trigger fs-cook
59-
run: sudo bash .github/scripts/build-kinetic.sh
60-
61-
- name: save arm64 builds
62-
uses: actions/upload-artifact@v2
63-
with:
64-
name: kinetic-raw-arm64
65-
path: kinetic-arm64
66-
67-
- name: save armhf builds
68-
uses: actions/upload-artifact@v2
69-
with:
70-
name: kinetic-raw-armhf
71-
path: kinetic-armhf
72-
73-
- name: save amd64 builds
74-
uses: actions/upload-artifact@v2
75-
with:
76-
name: kinetic-raw-amd64
77-
path: kinetic-amd64

CONTRIBUTING.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ fs-cooks uses debootstrap to pull core Linux packages to build linux traballs, a
88
the 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
@@ -26,8 +25,6 @@ here:
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`
3229
contains 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
5249
source plugins/envsetup
53-
SUITE=impish
50+
SUITE=jammy
5451
do_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

build-jammy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ do_unmount "${frn}-armhf"
7676
do_unmount "${frn}-amd64"
7777

7878
shout "Build Complete.."
79-
ls ${frn}*tar*
79+
ls ${frn}*.*

build-kinetic.sh

Lines changed: 0 additions & 82 deletions
This file was deleted.

cook.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ do_unmount "${frn}-armhf"
7272
do_unmount "${frn}-amd64"
7373

7474
shout "Build Complete.."
75-
ls ${frn}*tar*
75+
ls ${frn}*.*

0 commit comments

Comments
 (0)