Fennec OS 0.3.2: one app at a time, Raspberry Pi shell packages
- sf-core: only one app runs. Home, another app or a cast closes the app
on screen (after the switch animation) instead of freezing it in the
background. A frozen app that held a sound stream stalled PipeWire, so
the next app could not play at all ("Failed to connect stream: No such
entity" in Netflex after YouTube was sent home mid-video). The
background limit and the low-memory watcher go with the freezing.
- Raspberry Pi: image/pi (installer on Raspberry Pi OS), aarch64 shell
packages (sf-shell-<v>-aarch64, arch in pkg.toml, sf-update installs only
its own architecture), CI builds the aarch64 shell too.
- sf-compositor: volume OSD, screencopy for remote view, blank cursor.
- SDK v0.1.2.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -42,12 +42,24 @@ jobs:
|
||||
- name: Toolchain
|
||||
run: |
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# arm64 libraries for the Raspberry Pi shell (SF_TARGET=aarch64-...):
|
||||
# Ubuntu serves them from ports.ubuntu.com, the main mirror is amd64 only.
|
||||
. /etc/os-release
|
||||
dpkg --add-architecture arm64
|
||||
if [ -f /etc/apt/sources.list.d/ubuntu.sources ]; then
|
||||
sed -i '/^Architectures:/d; /^Types:/a Architectures: amd64' /etc/apt/sources.list.d/ubuntu.sources
|
||||
fi
|
||||
[ -f /etc/apt/sources.list ] && sed -i 's/^deb \(http\)/deb [arch=amd64] \1/' /etc/apt/sources.list
|
||||
printf 'Types: deb\nURIs: http://ports.ubuntu.com/ubuntu-ports/\nSuites: %s %s-updates %s-security\nComponents: main universe\nArchitectures: arm64\nSigned-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg\n' \
|
||||
"$VERSION_CODENAME" "$VERSION_CODENAME" "$VERSION_CODENAME" >/etc/apt/sources.list.d/arm64-ports.sources
|
||||
apt-get update -qq
|
||||
libs="libfontconfig1-dev libfreetype-dev libxkbcommon-dev libdbus-1-dev libudev-dev
|
||||
libinput-dev libgbm-dev libseat-dev libdrm-dev libegl-dev"
|
||||
apt-get install -y -qq --no-install-recommends build-essential pkg-config zstd \
|
||||
libfontconfig1-dev libfreetype-dev libxkbcommon-dev libdbus-1-dev libudev-dev \
|
||||
libinput-dev libgbm-dev libseat-dev libdrm-dev libegl-dev >/dev/null
|
||||
gcc-aarch64-linux-gnu g++-aarch64-linux-gnu libc6-dev-arm64-cross \
|
||||
$libs $(for l in $libs; do printf '%s:arm64 ' "$l"; done) >/dev/null
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
curl -sSf https://sh.rustup.rs | sh -s -- -y -q --profile minimal --no-modify-path
|
||||
curl -sSf https://sh.rustup.rs | sh -s -- -y -q --profile minimal --no-modify-path --target aarch64-unknown-linux-gnu
|
||||
/tmp/sf-build/cargo/bin/rustc --version
|
||||
|
||||
- name: Build, sign, upload
|
||||
@@ -58,6 +70,8 @@ jobs:
|
||||
export PATH="/tmp/sf-build/cargo/bin:$PATH"
|
||||
cd /tmp/sf-build/src
|
||||
bash tools/pkg/packages.sh --upload
|
||||
# The shell for the Raspberry Pi (sf-shell-<v>-aarch64; apps are the same).
|
||||
SF_TARGET=aarch64-unknown-linux-gnu bash tools/pkg/packages.sh --upload shell
|
||||
|
||||
- name: Clean up
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user