Skip to content

Commit a630ef9

Browse files
committed
fixes for trixie and tor
1 parent 98f31d4 commit a630ef9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2713
-1332
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ $(IMAGE_TYPE): results/$(BASENAME).$(IMAGE_TYPE)
162162
squashfs: results/$(BASENAME).squashfs
163163

164164
results/$(BASENAME).$(IMAGE_TYPE) results/$(BASENAME).squashfs: $(IMAGE_RECIPE_SRC) results/$(BASENAME).deb
165-
REQUIRES=debian ./build/os-compat/run-compat.sh ./image-recipe/run-local-build.sh "results/$(BASENAME).deb"
165+
./image-recipe/run-local-build.sh "results/$(BASENAME).deb"
166166

167167
# For creating os images. DO NOT USE
168168
install: $(STARTOS_TARGETS)
@@ -300,8 +300,8 @@ container-runtime/dist/node_modules/.package-lock.json container-runtime/dist/pa
300300
container-runtime/rootfs.$(ARCH).squashfs: container-runtime/debian.$(ARCH).squashfs container-runtime/container-runtime.service container-runtime/update-image.sh container-runtime/deb-install.sh container-runtime/dist/index.js container-runtime/dist/node_modules/.package-lock.json core/target/$(ARCH)-unknown-linux-musl/release/containerbox
301301
ARCH=$(ARCH) REQUIRES=linux ./build/os-compat/run-compat.sh ./container-runtime/update-image.sh
302302

303-
build/lib/depends build/lib/conflicts: $(ENVIRONMENT_FILE) build/dpkg-deps/*
304-
build/dpkg-deps/generate.sh
303+
build/lib/depends build/lib/conflicts: $(ENVIRONMENT_FILE) $(PLATFORM_FILE) $(shell ls build/dpkg-deps/*)
304+
PLATFORM=$(PLATFORM) ARCH=$(ARCH) build/dpkg-deps/generate.sh
305305

306306
$(FIRMWARE_ROMS): build/lib/firmware.json download-firmware.sh $(PLATFORM_FILE)
307307
./download-firmware.sh $(PLATFORM)

build/dpkg-deps/depends

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ ca-certificates
99
cifs-utils
1010
cryptsetup
1111
curl
12-
dnsutils
1312
dmidecode
1413
dnsutils
1514
dosfstools
@@ -19,6 +18,8 @@ exfatprogs
1918
flashrom
2019
fuse3
2120
grub-common
21+
grub-efi
22+
grub2-common
2223
htop
2324
httpdirfs
2425
iotop
@@ -41,7 +42,6 @@ nvme-cli
4142
nyx
4243
openssh-server
4344
podman
44-
postgresql
4545
psmisc
4646
qemu-guest-agent
4747
rfkill

build/dpkg-deps/generate.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ set -e
55
cd "$(dirname "${BASH_SOURCE[0]}")"
66

77
IFS="-" read -ra FEATURES <<< "$ENVIRONMENT"
8+
FEATURES+=("${ARCH}")
9+
if [ "$ARCH" != "$PLATFORM" ]; then
10+
FEATURES+=("${PLATFORM}")
11+
fi
812

913
feature_file_checker='
1014
/^#/ { next }
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
- grub-common
2+
- grub-efi
3+
- grub2-common
4+
+ parted
5+
+ raspberrypi-net-mods
6+
+ raspberrypi-sys-mods
7+
+ raspi-config
8+
+ raspi-firmware
9+
+ raspi-gpio
10+
+ raspi-utils
11+
+ rpi-eeprom
12+
+ rpi-update
13+
+ rpi.gpio-common

build/dpkg-deps/x86_64.depends

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

build/lib/scripts/enable-kiosk

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,11 @@ user_pref("messaging-system.rsexperimentloader.enabled", false);
6464
user_pref("network.allow-experiments", false);
6565
user_pref("network.captive-portal-service.enabled", false);
6666
user_pref("network.connectivity-service.enabled", false);
67-
user_pref("network.proxy.autoconfig_url", "file:///usr/lib/startos/proxy.pac");
67+
user_pref("network.proxy.socks", "10.0.3.1");
68+
user_pref("network.proxy.socks_port", 9050);
69+
user_pref("network.proxy.socks_version", 5);
6870
user_pref("network.proxy.socks_remote_dns", true);
69-
user_pref("network.proxy.type", 2);
71+
user_pref("network.proxy.type", 1);
7072
user_pref("privacy.resistFingerprinting", true);
7173
//Enable letterboxing if we want the window size sent to the server to snap to common resolutions:
7274
//user_pref("privacy.resistFingerprinting.letterboxing", true);

build/lib/scripts/startos-initramfs-module

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ local_mount_root()
8383
if [ -d "$image" ]; then
8484
mount -r --bind $image /lower
8585
elif [ -f "$image" ]; then
86+
modprobe loop
8687
modprobe squashfs
8788
mount -r $image /lower
8889
else

0 commit comments

Comments
 (0)