Skip to content

Commit c5a281b

Browse files
committed
Mount /tmp folder to tmpfs.
Upgrade Alpine version to 3.23.2. Set image version to 5. Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
1 parent 2df2cd4 commit c5a281b

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# This file is part of BOINC.
44
# https://boinc.berkeley.edu
5-
# Copyright (C) 2025 University of California
5+
# Copyright (C) 2026 University of California
66
#
77
# BOINC is free software; you can redistribute it and/or modify it
88
# under the terms of the GNU Lesser General Public License
@@ -21,7 +21,7 @@ set -e
2121

2222
arch=$1
2323

24-
url="https://dl-cdn.alpinelinux.org/alpine/v3.22/releases/${arch}/alpine-minirootfs-3.22.1-${arch}.tar.gz"
24+
url="https://dl-cdn.alpinelinux.org/alpine/v3.23/releases/${arch}/alpine-minirootfs-3.23.2-${arch}.tar.gz"
2525

2626
curl -L $url -o alpine.tar.gz
2727
mkdir -p alpine
@@ -34,6 +34,7 @@ cp ./wsl.conf ./alpine/etc/
3434
mkdir -p ./alpine/usr/lib/wsl
3535
cp ./boinc.ico ./alpine/usr/lib/wsl/
3636
cp ./terminal-profile.json ./alpine/usr/lib/wsl/
37+
echo "tmpfs /tmp tmpfs defaults,noatime,mode=1777,size=50% 0 0" >> ./alpine/etc/fstab
3738

3839
cd alpine
3940
tar --numeric-owner --absolute-names -c * | gzip --best > ../install.tar.gz

oobe.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# This file is part of BOINC.
44
# https://boinc.berkeley.edu
5-
# Copyright (C) 2025 University of California
5+
# Copyright (C) 2026 University of California
66
#
77
# BOINC is free software; you can redistribute it and/or modify it
88
# under the terms of the GNU Lesser General Public License
@@ -50,7 +50,7 @@ chmod 1777 /var/tmp
5050
echo "Permissions fixed"
5151

5252
echo "Setting version..."
53-
echo "version: 4" > /home/$DEFAULT_USER/version.txt
53+
echo "version: 5" > /home/$DEFAULT_USER/version.txt
5454
chown $DEFAULT_USER:$DEFAULT_USER /home/$DEFAULT_USER/version.txt
5555
echo "Version set"
5656

0 commit comments

Comments
 (0)