Merge branch 'buildfix/KASM-5044-fix-tracelabs-build' into 'release/1.14.0'

KASM-5044 port tracelabs build fix from develop

See merge request kasm-technologies/internal/workspaces-images!146
This commit is contained in:
Richard Koliser 2024-11-08 23:01:03 +00:00
commit 12d609163e

View File

@ -16,6 +16,8 @@ apt-get install -y \
legion \
ophcrack \
ophcrack-cli \
python3-greenlet \
python3-zope.event \
sqlitebrowser
cd /tmp/
@ -33,14 +35,13 @@ mv /etc/skel/Desktop/*.pdf $HOME/Desktop/
#### Install all tracelabs image packages ####
# rm lines with # | Delete Empty lines |
cat kali-config/variant-tracelabs/package-lists/kali.list.chroot | sed '/^#/d' | sed '/^$/d' | xargs --no-run-if-empty apt-get install -y
sed -i '/m4ll0k/,+3d' kali-config/common/hooks/normal/osint-packages.chroot
sh kali-config/common/hooks/normal/osint-packages.chroot
chown -R 1000:1000 \
/usr/share/phoneinfoga \
/usr/share/Spiderpig \
/usr/share/DumpsterDiver \
/usr/share/Infoga \
/usr/share/LittleBrother \
/usr/share/sn0int \
/usr/share/buster \
@ -53,8 +54,6 @@ chown -R 1000:1000 \
apt-get install -y python3-pip
pip3 install --break-system-packages --force-reinstall zope.event
sed -i 's/sudo //g' /usr/share/applications/tl*.desktop
### Remove stuff we install later properly