Skip to content

Commit 1c1081b

Browse files
xfce4
. . [TEMP]
1 parent fb605f0 commit 1c1081b

File tree

2 files changed

+101
-3
lines changed

2 files changed

+101
-3
lines changed

.github/workflows/build-and-release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ jobs:
2121
git submodule update
2222
- name: Build tarballs
2323
run: |
24-
sudo bash build.sh -s impish -v raw -a all
25-
sudo bash build.sh -s jammy -v raw -a all
26-
sudo bash build.sh -s kinetic -v raw -a all
24+
sudo bash build.sh -s impish -v xfce4 -a all
2725
2826
- name: upload artifacts
2927
uses: actions/upload-artifact@v3

suites/impish/xfce4.sh

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
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="impish"
15+
frn="out/$SUITE-raw"
16+
OVERRIDER_COMPRESSION_TYPE="gzip"
17+
ENABLE_EXIT=true
18+
ENABLE_USER_SETUP=false
19+
20+
additional_setup() {
21+
22+
# update sources.list [Only for ubuntu suites]
23+
cat <<-EOF >$chroot_dir/etc/apt/sources.list
24+
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
25+
# newer versions of the distribution.
26+
deb $MIRROR $SUITE main restricted
27+
# deb-src $MIRROR $SUITE main restricted
28+
## Major bug fix updates produced after the final release of the
29+
## distribution.
30+
deb $MIRROR $SUITE-updates main restricted
31+
# deb-src $MIRROR $SUITE-updates main restricted
32+
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
33+
## team. Also, please note that software in universe WILL NOT receive any
34+
## review or updates from the Ubuntu security team.
35+
deb $MIRROR $SUITE universe
36+
# deb-src $MIRROR $SUITE universe
37+
deb $MIRROR $SUITE-updates universe
38+
# deb-src $MIRROR $SUITE-updates universe
39+
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
40+
## team, and may not be under a free licence. Please satisfy yourself as to
41+
## your rights to use the software. Also, please note that software in
42+
## multiverse WILL NOT receive any review or updates from the Ubuntu
43+
## security team.
44+
deb $MIRROR $SUITE multiverse
45+
# deb-src $MIRROR $SUITE multiverse
46+
deb $MIRROR $SUITE-updates multiverse
47+
# deb-src $MIRROR $SUITE-updates multiverse
48+
## N.B. software from this repository may not have been tested as
49+
## extensively as that contained in the main release, although it includes
50+
## newer versions of some applications which may provide useful features.
51+
## Also, please note that software in backports WILL NOT receive any review
52+
## or updates from the Ubuntu security team.
53+
deb $MIRROR $SUITE-backports main restricted universe multiverse
54+
# deb-src $MIRROR $SUITE-backports main restricted universe multiverse
55+
EOF
56+
57+
apt install --no-install-recommends -y \
58+
apt-transport-https \
59+
ca-certificates \
60+
curl \
61+
gnupg-agent \
62+
software-properties-common \
63+
xubuntu-desktop \
64+
git
65+
66+
# clone & install udroid-tools
67+
git clone https://github.com/RandomCoderOrg/udroid-extra-tool-proot
68+
cd udroid-extra-tool-proot || exit 2
69+
./install.sh
70+
71+
# create user
72+
udroid-adduser -u udroid -p secret
73+
74+
# try to install themes
75+
git clone https://github.com/RandomCoderOrg/udroid-xfce4-conf
76+
cd udroid-xfce4-conf || exit 2
77+
bash install.sh
78+
79+
}
80+
81+
# Option to build specific arch
82+
# arch name as $1
83+
84+
case $1 in
85+
arm64 | armhf | amd64) _arch="$1" ;;
86+
all | -a) _arch="armhf arm64 amd64" ;;
87+
*) die "Unknown arch option [ Allowed: arm64, armhf, amd64, all(for all 3) ]" ;;
88+
esac
89+
90+
for arch in ${_arch}; do
91+
shout "Bootstrapping $SUITE [${arch}] ...."
92+
do_build "${frn}-${arch}" "${arch}"
93+
shout "packing up the raw file systems..."
94+
do_compress "${frn}-${arch}"
95+
shout "unmounting the raw file systems from host..."
96+
do_unmount "${frn}-${arch}"
97+
done
98+
99+
shout "Build Complete.."
100+
ls ${frn}*tar*

0 commit comments

Comments
 (0)