Skip to content

Commit 8824a60

Browse files
new suite ubuntu 21.10 Jammy
1 parent d65d009 commit 8824a60

File tree

3 files changed

+117
-0
lines changed

3 files changed

+117
-0
lines changed

.github/scripts/build-jammy.sh

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
#!/usr/bin/env bash
2+
3+
source plugins/envsetup
4+
5+
export OVERRIDER_COMPRESSION_TYPE
6+
export ENABLE_EXIT
7+
export ENABLE_USER_SETUP
8+
9+
SUITE="jammy"
10+
frn="out/$SUITE-raw"
11+
OVERRIDER_COMPRESSION_TYPE="gzip"
12+
ENABLE_EXIT=true
13+
ENABLE_USER_SETUP=false
14+
PREFIX="${frn}"
15+
16+
additional_setup() {
17+
cat <<- EOF > $chroot_dir/etc/apt/sources.list
18+
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
19+
# newer versions of the distribution.
20+
deb $MIRROR $SUITE main restricted
21+
# deb-src $MIRROR $SUITE main restricted
22+
23+
## Major bug fix updates produced after the final release of the
24+
## distribution.
25+
deb $MIRROR $SUITE-updates main restricted
26+
# deb-src $MIRROR $SUITE-updates main restricted
27+
28+
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
29+
## team. Also, please note that software in universe WILL NOT receive any
30+
## review or updates from the Ubuntu security team.
31+
deb $MIRROR $SUITE universe
32+
# deb-src $MIRROR $SUITE universe
33+
deb $MIRROR $SUITE-updates universe
34+
# deb-src $MIRROR $SUITE-updates universe
35+
36+
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
37+
## team, and may not be under a free licence. Please satisfy yourself as to
38+
## your rights to use the software. Also, please note that software in
39+
## multiverse WILL NOT receive any review or updates from the Ubuntu
40+
## security team.
41+
deb $MIRROR $SUITE multiverse
42+
# deb-src $MIRROR $SUITE multiverse
43+
deb $MIRROR $SUITE-updates multiverse
44+
# deb-src $MIRROR $SUITE-updates multiverse
45+
46+
## N.B. software from this repository may not have been tested as
47+
## extensively as that contained in the main release, although it includes
48+
## newer versions of some applications which may provide useful features.
49+
## Also, please note that software in backports WILL NOT receive any review
50+
## or updates from the Ubuntu security team.
51+
deb $MIRROR $SUITE-backports main restricted universe multiverse
52+
# deb-src $MIRROR $SUITE-backports main restricted universe multiverse
53+
54+
EOF
55+
}
56+
57+
do_build "$PREFIX-arm64" arm64
58+
do_build "$PREFIX-armhf" armhf
59+
do_build "$PREFIX-amd64" amd64
60+
61+
do_compress "$PREFIX-arm64"
62+
do_compress "$PREFIX-armhf"
63+
do_compress "$PREFIX-amd64"
64+
65+
do_unmount "$PREFIX-arm64"
66+
do_unmount "$PREFIX-armhf"
67+
do_unmount "$PREFIX-amd64"
68+
69+
shout "setting up artifacts for GitHub"
70+
msg "creating $SUITE-{arm64,amd64,armhf} directories"
71+
mkdir -pv $SUITE-{arm64,amd64,armhf}
72+
73+
msg "copying tarballs to directories"
74+
cp -rv $frn-arm64*tar* $SUITE-arm64
75+
cp -rv $frn-armhf*tar* $SUITE-armhf
76+
cp -rv $frn-amd64*tar* $SUITE-amd64
77+
78+
msg "calculating sha256sums"
79+
sha256sum $frn-arm64*tar* > $SUITE-arm64/SHA256SUM
80+
sha256sum $frn-armhf*tar* > $SUITE-armhf/SHA256SUM
81+
sha256sum $frn-amd64*tar* > $SUITE-amd64/SHA256SUM
82+
83+
shout "done"

.github/workflows/build-raw.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,36 @@ jobs:
6868
with:
6969
name: hirsute-raw-amd64
7070
path: hirsute-amd64
71+
BuidJammyRaw:
72+
name: build Jammy
73+
runs-on: ubuntu-latest
74+
steps:
75+
- name: checkout repo
76+
uses: actions/checkout@v2
77+
78+
- name: Docker Setup QEMU
79+
uses: docker/[email protected]
80+
81+
- name: Satify Dependencies
82+
run: sudo apt update; sudo apt install git build-essential binfmt-support qemu-user-static debootstrap -y
83+
84+
- name: Trigger fs-cook
85+
run: bash .github/scripts/build-hirsute.sh
86+
87+
- name: save arm64 builds
88+
uses: actions/upload-artifact@v2
89+
with:
90+
name: jammy-raw-arm64
91+
path: jammy-arm64
92+
93+
- name: save armhf builds
94+
uses: actions/upload-artifact@v2
95+
with:
96+
name: jammy-raw-armhf
97+
path: jammy-armhf
98+
99+
- name: save amd64 builds
100+
uses: actions/upload-artifact@v2
101+
with:
102+
name: jammy-raw-amd64
103+
path: jammy-amd64

core/debootstrap/scripts/jammy

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

0 commit comments

Comments
 (0)