Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 4a5f423

Browse files
committed
Revert image slimming
1 parent cd1d3e8 commit 4a5f423

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

stage2/01-sys-tweaks/00-packages

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ file
3535
kms++-utils
3636
ntp
3737
pigpiod pigpio
38-
openjdk-11-jre
38+
default-jdk
3939
vim
4040
libtbb2
4141
git

stage2/04-update-firmware/00-run.sh

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,7 @@
33
echo "Updating firmware to cb852c1fa666"
44

55
on_chroot << EOF
6-
SKIP_WARNING=1 PRUNE_MODULES=1 rpi-update cb852c1fa666
7-
8-
apt purge -y 'x11-*'
9-
rm /boot/start_db.elf /boot/start4db.elf /boot/start4x.elf /boot/start4cd.elf /boot/start_cd.elf
10-
rm /boot/kernel7.img /boot/kernel7l.img /boot/kernel.img
11-
rm -rf /opt/vc
12-
rm -rf /boot.bak
13-
14-
apt-get purge -y python3 gdb gcc g++ default-jdk
15-
apt-get autoremove -y
16-
apt-get install -y openjdk-11-jre
6+
SKIP_WARNING=1 rpi-update cb852c1fa666
177
188
rm -rf /var/lib/apt/lists/*
19-
apt-get clean
20-
rm -rf /usr/share/doc
21-
rm -rf /usr/share/locale/
22-
239
EOF

0 commit comments

Comments
 (0)