Skip to content

Commit a5b1b3e

Browse files
Merge pull request #19 from RandomCoderOrg/fix-workflows
Fix workflows
2 parents 7bd5515 + d0def53 commit a5b1b3e

File tree

8 files changed

+60
-157
lines changed

8 files changed

+60
-157
lines changed

.github/scripts/build-kali.sh

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

.github/workflows/build-udroid.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: build-udroid
22
on:
33
push:
44
paths:
5-
- '**.sh'
6-
- '**.yml'
5+
- "**.sh"
6+
- "**.yml"
77
jobs:
88
BuildImpishRaw:
99
name: build impish
@@ -14,25 +14,25 @@ jobs:
1414

1515
- name: Docker Setup QEMU
1616
uses: docker/[email protected]
17-
17+
1818
- name: Satify Dependencies
1919
run: sudo apt update; sudo apt install git build-essential binfmt-support qemu-user-static debootstrap -y
20-
20+
2121
- name: Trigger fs-cook
22-
run: bash .github/scripts/build-impish.sh
23-
22+
run: sudo bash .github/scripts/build-impish.sh
23+
2424
- name: save arm64 builds
2525
uses: actions/upload-artifact@v2
2626
with:
2727
name: impish-raw-arm64
2828
path: impish-arm64
29-
29+
3030
- name: save armhf builds
3131
uses: actions/upload-artifact@v2
3232
with:
3333
name: impish-raw-armhf
3434
path: impish-armhf
35-
35+
3636
- name: save amd64 builds
3737
uses: actions/upload-artifact@v2
3838
with:
@@ -45,28 +45,28 @@ jobs:
4545
steps:
4646
- name: checkout repo
4747
uses: actions/checkout@v2
48-
48+
4949
- name: Docker Setup QEMU
5050
uses: docker/[email protected]
51-
51+
5252
- name: Satify Dependencies
5353
run: sudo apt update; sudo apt install git build-essential binfmt-support qemu-user-static debootstrap -y
54-
54+
5555
- name: Trigger fs-cook
56-
run: bash .github/scripts/build-hirsute.sh
57-
56+
run: sudo bash .github/scripts/build-hirsute.sh
57+
5858
- name: save arm64 builds
5959
uses: actions/upload-artifact@v2
6060
with:
6161
name: hirsute-raw-arm64
6262
path: hirsute-arm64
63-
63+
6464
- name: save armhf builds
6565
uses: actions/upload-artifact@v2
6666
with:
6767
name: hirsute-raw-armhf
6868
path: hirsute-armhf
69-
69+
7070
- name: save amd64 builds
7171
uses: actions/upload-artifact@v2
7272
with:
@@ -78,28 +78,28 @@ jobs:
7878
steps:
7979
- name: checkout repo
8080
uses: actions/checkout@v2
81-
81+
8282
- name: Docker Setup QEMU
8383
uses: docker/[email protected]
84-
84+
8585
- name: Satify Dependencies
8686
run: sudo apt update; sudo apt install git build-essential binfmt-support qemu-user-static debootstrap -y
87-
87+
8888
- name: Trigger fs-cook
89-
run: bash .github/scripts/build-jammy.sh
90-
89+
run: sudo bash .github/scripts/build-jammy.sh
90+
9191
- name: save arm64 builds
9292
uses: actions/upload-artifact@v2
9393
with:
9494
name: jammy-raw-arm64
9595
path: jammy-arm64
96-
96+
9797
- name: save armhf builds
9898
uses: actions/upload-artifact@v2
9999
with:
100100
name: jammy-raw-armhf
101101
path: jammy-armhf
102-
102+
103103
- name: save amd64 builds
104104
uses: actions/upload-artifact@v2
105105
with:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ A project written in bash to make linux tarball building process easier
44
| | badges |
55
|--|-- |
66
|build tests ( `impish`, `hirsute`, `jammy` ) | [![build-udroid](https://github.com/RandomCoderOrg/fs-cook/actions/workflows/build-udroid.yml/badge.svg)](https://github.com/RandomCoderOrg/fs-cook/actions/workflows/build-udroid.yml) |
7-
| FOSS LICENSE | [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FRandomCoderOrg%2Ffs-cook.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FRandomCoderOrg%2Ffs-cook?ref=badge_shield)
8-
|
7+
| FOSS LICENSE | [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FRandomCoderOrg%2Ffs-cook.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FRandomCoderOrg%2Ffs-cook?ref=badge_shield) |
8+
|Codefactor grade| [![CodeFactor](https://www.codefactor.io/repository/github/randomcoderorg/fs-cook/badge)](https://www.codefactor.io/repository/github/randomcoderorg/fs-cook) |
99

1010
[DEV] Linux tarball building
1111
> ⚠️ warning this code is heavily experimental & work in progress!

build-impish-raw.sh

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,20 @@ EOF
5959

6060
}
6161

62-
do_build "${frn}-arm64" arm64
62+
shout "Bootstrapping $SUITE...."
63+
do_build "${frn}-arm64" arm64
64+
do_build "${frn}-armhf" armhf
65+
do_build "${frn}-amd64" amd64
66+
67+
shout "packing up the raw file systems..."
6368
do_compress "${frn}-arm64"
64-
do_build "${frn}-armhf" armhf
6569
do_compress "${frn}-armhf"
66-
do_build "${frn}-amd64" amd64
67-
do_compress "${frn}-amd64"
70+
do_compress "${frn}-amd64"
6871

69-
do_unmount "${frn}-arm64"
70-
do_unmount "${frn}-armhf"
71-
do_unmount "${frn}-amd64"
72+
shout "unmounting the raw file systems from host..."
73+
do_unmount "${frn}-arm64"
74+
do_unmount "${frn}-armhf"
75+
do_unmount "${frn}-amd64"
7276

73-
shout "Build complete"
77+
shout "Build Complete.."
7478
ls ${frn}*tar*
75-

build-jammy.sh

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,20 @@ EOF
5454

5555
}
5656

57-
do_build "${frn}-arm64" arm64
58-
do_compress "${frn}-arm64"
59-
do_build "${frn}-armhf" armhf
60-
do_compress "${frn}-armhf"
61-
do_build "${frn}-amd64" amd64
62-
do_compress "${frn}-amd64"
57+
shout "Bootstrapping $SUITE...."
58+
do_build "${frn}-arm64" arm64
59+
do_build "${frn}-armhf" armhf
60+
do_build "${frn}-amd64" amd64
6361

64-
do_unmount "${frn}-arm64"
65-
do_unmount "${frn}-armhf"
66-
do_unmount "${frn}-amd64"
62+
shout "packing up the raw file systems..."
63+
do_compress "${frn}-arm64"
64+
do_compress "${frn}-armhf"
65+
do_compress "${frn}-amd64"
6766

68-
shout "Build complete..."
69-
ls $frn*tar*
67+
shout "unmounting the raw file systems from host..."
68+
do_unmount "${frn}-arm64"
69+
do_unmount "${frn}-armhf"
70+
do_unmount "${frn}-amd64"
7071

72+
shout "Build Complete.."
73+
ls ${frn}*tar*

build/kali/raw/Dockerfile

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

build/kali/raw/README.md

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

cook.sh

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,20 @@ deb $MIRROR $SUITE-backports main restricted universe multiverse
5656
EOF
5757
}
5858

59-
do_build "${frn}-arm64" arm64
59+
shout "Bootstrapping $SUITE...."
60+
do_build "${frn}-arm64" arm64
61+
do_build "${frn}-armhf" armhf
62+
do_build "${frn}-amd64" amd64
63+
64+
shout "packing up the raw file systems..."
6065
do_compress "${frn}-arm64"
61-
do_build "${frn}-armhf" armhf
6266
do_compress "${frn}-armhf"
63-
do_build "${frn}-amd64" amd64
6467
do_compress "${frn}-amd64"
6568

66-
do_unmount "${frn}-arm64"
67-
do_unmount "${frn}-armhf"
68-
do_unmount "${frn}-amd64"
69+
shout "unmounting the raw file systems from host..."
70+
do_unmount "${frn}-arm64"
71+
do_unmount "${frn}-armhf"
72+
do_unmount "${frn}-amd64"
6973

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

0 commit comments

Comments
 (0)