Skip to content

Commit 97ce42c

Browse files
update build scripts
1 parent b5d80cb commit 97ce42c

File tree

3 files changed

+32
-13
lines changed

3 files changed

+32
-13
lines changed

build-hirsute-raw.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cook.sh

build-impish-raw.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/env bash
2+
#shellcheck disable=SC1091
3+
4+
# this is an example file to BUILD raw file system
5+
# export variable SUITE to set debootstrap suite name (default: hirsute)
6+
7+
source plugins/envsetup
8+
source plugins/colors
9+
10+
export OVERRIDER_COMPRESSION_TYPE
11+
export SUITE
12+
13+
frn="out/impish-raw"
14+
OVERRIDER_COMPRESSION_TYPE="gzip"
15+
SUITE="impish"
16+
17+
do_debootstrap "${frn}-arm64" arm64
18+
do_compress "${frn}-arm64"
19+
do_debootstrap "${frn}-armhf" armhf
20+
do_compress "${frn}-armhf"
21+
do_debootstrap "${frn}-amd64" amd64
22+
do_compress "${frn}-amd64"

cook.sh

100644100755
Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
11
#!/usr/bin/env bash
22
#shellcheck disable=SC1091
33

4-
export ENABLE_EXIT=true
5-
64
# this is an example file to BUILD raw file system
75
# export variable SUITE to set debootstrap suite name (default: hirsute)
86

97
source plugins/envsetup
108
source plugins/colors
119

12-
#do_debootstrap "out/hirsute-armhf" "armhf"
13-
#do_compress "out/hirsute-armhf"
14-
15-
export SUITE="impish"
16-
17-
do_debootstrap "out/impish-arm64" "arm64"
18-
do_compress "out/impish-arm64"
10+
export OVERRIDER_COMPRESSION_TYPE
1911

20-
do_debootstrap "out/impish-armhf" "armhf"
21-
do_compress "out/impish-armhf"
12+
frn="out/hirsute-raw"
13+
OVERRIDER_COMPRESSION_TYPE="gzip"
2214

23-
do_debootstrap "out/impish-amd64" "amd64"
24-
do_compress "out/impish-amd64"
15+
do_debootstrap "${frn}-arm64" arm64
16+
do_compress "${frn}-arm64"
17+
do_debootstrap "${frn}-armhf" armhf
18+
do_compress "${frn}-armhf"
19+
do_debootstrap "${frn}-amd64" amd64
20+
do_compress "${frn}-amd64"

0 commit comments

Comments
 (0)