Skip to content

Commit

Permalink
Remove old python and perl, glob for deb
Browse files Browse the repository at this point in the history
  • Loading branch information
ClashTheBunny committed Apr 14, 2024
1 parent 36a283b commit f11c978
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jetson-nano_funcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ function finalize_image_jetson-nano() {
$SUDO rm "${MOUNTPOINT}/libjpeg-turbo-dummy_1.0_all.deb"
$SUDO chroot "${MOUNTPOINT}" apt -f install -y

$SUDO chroot "${MOUNTPOINT}" apt install libwayland-egl1 libxkbcommon0 libasound2 libgstreamer1.0-0 libdw1 libunwind8 libasound2-data libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libpangocairo-1.0-0 liborc-0.4-0 python2.7 python2.7-minimal libpython2.7-minimal libpython2.7-stdlib mime-support mailcap perl libperl5.32 perl-modules-5.32 libgdbm-compat4 libffi-dev -y || true
$SUDO chroot "${MOUNTPOINT}" apt install libwayland-egl1 libxkbcommon0 libasound2 libgstreamer1.0-0 libdw1 libunwind8 libasound2-data libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libpangocairo-1.0-0 liborc-0.4-0 mime-support mailcap perl libgdbm-compat4 libffi-dev -y || true

(
cd "${TEMPDIR}/jetson_driver_package/Linux_for_Tegra" || exit

sudo cp "nv_tegra/l4t_deb_packages/nvidia-l4t-init_*.deb" "${MOUNTPOINT}"
sudo cp nv_tegra/l4t_deb_packages/nvidia-l4t-init_*.deb "${MOUNTPOINT}"
$SUDO chroot "${MOUNTPOINT}" dpkg -i --force-confnew --force-depends --force-overwrite /nvidia-l4t-init_*.deb
$SUDO rm "${MOUNTPOINT}/nvidia-l4t-init_*.deb"
$SUDO rm ${MOUNTPOINT}/nvidia-l4t-init_*.deb

# $SUDO chroot "${MOUNTPOINT}" groupdel trusty
# $SUDO chroot "${MOUNTPOINT}" groupdel crypto
Expand Down

0 comments on commit f11c978

Please sign in to comment.