Lines Matching +full:python3 +full:- +full:pip
3 set -ex
6 ARCH_PACKAGES="firmware-qcom-media
7 firmware-linux-nonfree
10 libglu1-mesa
11 libvulkan-dev
15 apt-get -y install --no-install-recommends wget gnupg2 software-properties-common
16 apt-key add /llvm-snapshot.gpg.key
17 add-apt-repository "deb https://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-13 main"
19 ARCH_PACKAGES="firmware-amd-graphics
20 inetutils-syslogd
27 libglu1-mesa
31 libva-drm2
32 libvulkan-dev
34 spirv-tools
35 sysvinit-core
40 python3-dev
41 python3-pip
42 python3-setuptools
43 python3-wheel
46 apt-get update
47 apt-get -y install --no-install-recommends \
52 ca-certificates \
53 firmware-realtek \
54 initramfs-tools \
57 libpng16-16 \
61 libwaffle-1-0 \
62 libx11-6 \
63 libx11-xcb1 \
64 libxcb-dri2-0 \
65 libxcb-dri3-0 \
66 libxcb-glx0 \
67 libxcb-present0 \
68 libxcb-randr0 \
69 libxcb-shm0 \
70 libxcb-sync1 \
71 libxcb-xfixes0 \
79 netcat-openbsd \
80 python3 \
81 python3-lxml \
82 python3-mako \
83 python3-numpy \
84 python3-packaging \
85 python3-pil \
86 python3-renderdoc \
87 python3-requests \
88 python3-simplejson \
89 python3-yaml \
92 waffle-utils \
95 xserver-xorg-core
97 # Needed for ci-fairy, this revision is able to upload files to
99 pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@ffe4d1b10aab7534489f0c4bbc4…
101 apt-get purge -y \
104 passwd root -d
105 chsh -s /bin/sh
109 export PS1=lava-shell:
119 rm -rf /etc/localtime
132 if ! apt-get remove --purge --yes "${PACKAGE}"
138 apt-get autoremove --yes || true
141 rm -rf /var/log/*
144 rm -rf /usr/share/doc/*
145 rm -rf /usr/share/locale/*
146 rm -rf /usr/share/X11/locale/*
147 rm -rf /usr/share/man
148 rm -rf /usr/share/i18n/*
149 rm -rf /usr/share/info/*
150 rm -rf /usr/share/lintian/*
151 rm -rf /usr/share/common-licenses/*
152 rm -rf /usr/share/mime/*
155 rm -rf /usr/share/bug
158 rm -rf /lib/udev/hwdb.bin /lib/udev/hwdb.d/*
161 rm -rf usr/bin/iconv
162 rm -rf usr/sbin/iconvconfig
163 rm -rf usr/lib/*/gconv/
166 rm -rf usr/sbin/update-usbids
167 rm -rf var/lib/usbutils/usb.ids
168 rm -rf usr/share/misc/usb.ids
170 rm -rf /root/.pip
178 UNNEEDED_PACKAGES="apt libapt-pkg6.0 "\
179 "ncurses-bin ncurses-base libncursesw6 libncurses6 "\
180 "perl-base "\
185 "init-system-helpers "\
188 "libsemanage1 libsemanage-common "\
193 "debian-archive-keyring "\
194 "libegl1-mesa-dev "\
195 "libegl-mesa0 "\
196 "libgl1-mesa-dev "\
197 "libgl1-mesa-dri "\
198 "libglapi-mesa "\
199 "libgles2-mesa-dev "\
200 "libglx-mesa0 "\
201 "mesa-common-dev "\
203 "software-properties-common " \
209 if ! dpkg --purge --force-remove-essential --force-depends "${PACKAGE}"
215 # Show what's left package-wise before dropping dpkg itself
216 COLUMNS=300 dpkg-query -W --showformat='${Installed-Size;10}\t${Package}\n' | sort -k1,1n
219 dpkg --purge --force-remove-essential --force-depends dpkg
222 rm -rf etc/apt
223 rm -rf etc/dpkg
228 rm -rf var/* opt srv share
230 # ca-certificates are in /etc drop the source
231 rm -rf usr/share/ca-certificates
234 rm -rf usr/share/bash-completion
237 rm -rf usr/share/zsh/vendor-completions
240 rm -rf usr/share/gcc
243 rm -rf etc/init.d
244 rm -rf etc/rc[0-6S].d
247 rm -rf etc/init
250 rm -rf usr/lib/xtables
254 rm -rf usr/lib/locale/*
257 rm -rf usr/sbin/*fdisk
260 rm -rf usr/bin/localedef
263 find usr etc -name '*systemd-resolve*' -prune -exec rm -r {} \;
266 find usr etc -name '*networkd*' -prune -exec rm -r {} \;
269 find usr etc -name '*timesyncd*' -prune -exec rm -r {} \;
272 find usr etc -name '*systemd-hwdb*' -prune -exec rm -r {} \;
275 find usr etc -name '*fuse*' -prune -exec rm -r {} \;
278 rm -rf usr/lib/lsb
281 rm -rf usr/sbin/ldconfig*
287 # plus libdb-5.3.so that is only used by this pam module
288 rm -rf usr/lib/*/security/pam_userdb.so
289 rm -rf usr/lib/*/libdb-5.3.so
292 rm -rf usr/lib/*/libnss_hesiod*
293 rm -rf usr/lib/*/libnss_nis*