Skip to content

Commit bbad05c

Browse files
committed
add ubuntu 22.10
this commit adds support script to build ubuntu 22.10 kinetic its still so early so expect for crashed and bugs https://discourse.ubuntu.com/t/kinetic-kudu-release-notes/27976
1 parent 99ba613 commit bbad05c

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed

build-kinetic.sh

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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+
9+
export OVERRIDER_COMPRESSION_TYPE
10+
export SUITE
11+
export ENABLE_EXIT
12+
export ENABLE_USER_SETUP
13+
14+
SUITE="kinetic"
15+
frn="out/$SUITE-raw"
16+
OVERRIDER_COMPRESSION_TYPE="gzip"
17+
ENABLE_EXIT=true
18+
ENABLE_USER_SETUP=false
19+
20+
additional_setup() {
21+
cat <<- EOF > $chroot_dir/etc/apt/sources.list
22+
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
23+
# newer versions of the distribution.
24+
deb $MIRROR $SUITE main restricted
25+
# deb-src $MIRROR $SUITE main restricted
26+
## Major bug fix updates produced after the final release of the
27+
## distribution.
28+
deb $MIRROR $SUITE-updates main restricted
29+
# deb-src $MIRROR $SUITE-updates main restricted
30+
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
31+
## team. Also, please note that software in universe WILL NOT receive any
32+
## review or updates from the Ubuntu security team.
33+
deb $MIRROR $SUITE universe
34+
# deb-src $MIRROR $SUITE universe
35+
deb $MIRROR $SUITE-updates universe
36+
# deb-src $MIRROR $SUITE-updates universe
37+
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
38+
## team, and may not be under a free licence. Please satisfy yourself as to
39+
## your rights to use the software. Also, please note that software in
40+
## multiverse WILL NOT receive any review or updates from the Ubuntu
41+
## security team.
42+
deb $MIRROR $SUITE multiverse
43+
# deb-src $MIRROR $SUITE multiverse
44+
deb $MIRROR $SUITE-updates multiverse
45+
# deb-src $MIRROR $SUITE-updates multiverse
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+
EOF
54+
55+
}
56+
57+
shout "Bootstrapping $SUITE...."
58+
do_build "${frn}-arm64" arm64
59+
do_build "${frn}-armhf" armhf
60+
do_build "${frn}-amd64" amd64
61+
62+
shout "packing up the raw file systems..."
63+
do_compress "${frn}-arm64"
64+
do_compress "${frn}-armhf"
65+
do_compress "${frn}-amd64"
66+
67+
shout "unmounting the raw file systems from host..."
68+
do_unmount "${frn}-arm64"
69+
do_unmount "${frn}-armhf"
70+
do_unmount "${frn}-amd64"
71+
72+
shout "Build Complete.."
73+
ls ${frn}*tar*

0 commit comments

Comments
 (0)