Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintainence + additions #34

Merged
merged 28 commits into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
60df6ef
feat: add initial works for termux support
SaicharanKandukuri Dec 4, 2023
382b647
Fix errors in proot
23xvx Dec 5, 2023
bce7902
Add command to check termux environment
23xvx Dec 5, 2023
30ed0e6
Temporarily fix $include_final error
23xvx Dec 5, 2023
c77c31a
Merge pull request #28 from 23xvx/add-support-platform-termux
SaicharanKandukuri Dec 6, 2023
11ef15a
Fix errors in Termux
23xvx Dec 6, 2023
31c01ba
Disable cross architecture building in Termux
23xvx Dec 6, 2023
e45a567
Disabled cross architecture compression for termux
23xvx Dec 7, 2023
29c0eb0
Fix variable errors
23xvx Dec 7, 2023
5b9b1c3
Variable errors
23xvx Dec 7, 2023
7368679
Improved setup.sh
23xvx Dec 7, 2023
04d800f
Merge pull request #29 from 23xvx/add-support-platform-termux
SaicharanKandukuri Dec 7, 2023
f50c7f9
Improve environment for termux
23xvx Dec 8, 2023
52b2ccc
Initial support for adding a user
23xvx Dec 9, 2023
43a9380
Improve setup-user.sh and packers.sh
23xvx Dec 12, 2023
7ed2441
Merge pull request #30 from 23xvx/add-support-platform-termux
SaicharanKandukuri Dec 22, 2023
f14ae35
Add zst compression type
23xvx Jan 8, 2024
16aaa62
Merge pull request #31 from 23xvx/add-support-platform-termux
SaicharanKandukuri Jan 9, 2024
c738121
Fix typo
23xvx Feb 1, 2024
6c6f7cb
Update docs
23xvx Feb 1, 2024
f94cce8
Update kinetic to mantic
23xvx Feb 2, 2024
138606b
Delete .github/scripts/build-mantic.sh
23xvx Feb 2, 2024
590fba3
Remove kinetic building
23xvx Feb 2, 2024
0116579
Remove outdated kinetic scripts
23xvx Feb 2, 2024
6511d76
Merge pull request #33 from 23xvx/add-support-platform-termux
SaicharanKandukuri Feb 13, 2024
ff3d2bb
Update envsetup
23xvx Feb 27, 2024
90cd71a
Update envsetup
23xvx Mar 13, 2024
dbb9c6e
fix: dont use patterns for dev, sys, proc.
SaicharanKandukuri Mar 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 0 additions & 98 deletions .github/scripts/build-kinetic.sh

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/build-udroid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,36 +42,3 @@ jobs:
with:
name: jammy-raw-amd64
path: jammy-amd64
BuildKineticRaw:
name: build Kinetc (22.10)
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3

- name: Docker Setup QEMU
uses: docker/setup-qemu-action@v2

- name: Satify Dependencies
run: sudo apt-get update; sudo apt-get install git build-essential binfmt-support qemu-user-static debootstrap -y

- name: Trigger fs-cook
run: sudo bash .github/scripts/build-kinetic.sh

- name: save arm64 builds
uses: actions/upload-artifact@v2
with:
name: kinetic-raw-arm64
path: kinetic-arm64

- name: save armhf builds
uses: actions/upload-artifact@v2
with:
name: kinetic-raw-armhf
path: kinetic-armhf

- name: save amd64 builds
uses: actions/upload-artifact@v2
with:
name: kinetic-raw-amd64
path: kinetic-amd64
16 changes: 8 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ fs-cooks uses debootstrap to pull core Linux packages to build linux traballs, a
the top-level contains some example build scripts which are lightweight to build and beginning of directories
```
.
├── build-hirsute-raw.sh -> cook.sh
├── build-impish-raw.sh
├── build-jammy.sh -> cook.sh
├── cook.sh
├── build
├── core
Expand All @@ -26,8 +25,6 @@ here:
<hr>

**important files/folders to notice**
###### `~/core/defaults`
defaults folder contains some heavy templates to build DE ready tarballs like mate,xfce4,kde
###### `~/plugins/envsetup`
contains functions that can be used for cmd line building and integrating in scripts
- useful functions in `envsetup`:
Expand All @@ -50,12 +47,11 @@ do_build "out/udroid-test" "arm64"

```bash
source plugins/envsetup
SUITE=impish
SUITE=jammy
do_build "out/fs" "arm64"
```
### Quick build scripts
- `build-impish-raw.sh`: to build raw ubuntu 21.10 tarballs
- `build-hirsute-raw.sh`: to build raw ubuntu 21.04 tarballs
- `build-jammy.sh`: to build raw ubuntu 22.04 tarballs
> others are experimental ( may break things )

### functions ( <kbd>v1.0</kbd> )
Expand All @@ -74,11 +70,15 @@ do_build "out/fs" "arm64"
- `do_second_stage()`: if foreign arch triggers second stage
- - `do_qemu_user_emulation()` sets up qemu binaries in chroot
- `do_chroot_ae()`: to run command in chroot
- - `run_cmd()`: alternative for `do_chroot_are()`
- - `do_chroot_proot_ae` : use **proot** instead of chroot in termux
- - `run_cmd()`: alternative for `do_chroot_ae()`
- - `run_shell_script()` : to run a specific script, alternative for `do_chroot_ae()`
- - `install_pkg()` : to install a specific package inside chroot, alternative for `do_chroot_ae()`
- `do_compress()`: takes care of compressing tarballs without messy device file
- - `do_tar_gzip()`: to compress in gzip format
- - `do_tar_bzip()`: to compress in bzip format
- - `do_tar_lz4()`: to compress in lzip/lz4 format
- - `do_tar_zstd()` : to compress in zstd format
- `arch_translate()`: takes care of translating arch to find qemu static builds
- `COPY()`: to copy files to target filesystem
- `die()`: to echo an error message & exit if `ENABLE_EXIT` is set to true
Expand Down
2 changes: 1 addition & 1 deletion build-jammy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ do_unmount "${frn}-armhf"
do_unmount "${frn}-amd64"

shout "Build Complete.."
ls ${frn}*tar*
ls ${frn}*.*
82 changes: 0 additions & 82 deletions build-kinetic.sh

This file was deleted.

2 changes: 1 addition & 1 deletion cook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ do_unmount "${frn}-armhf"
do_unmount "${frn}-amd64"

shout "Build Complete.."
ls ${frn}*tar*
ls ${frn}*.*
Loading