Files
orangepi-5-plus-kernel/external/packages/raspi/export-image/02-set-sources/01-run.sh

10 lines
195 B
Bash
Raw Normal View History

2026-02-07 20:22:48 +08:00
#!/bin/bash -e
rm -f "${ROOTFS_DIR}/etc/apt/apt.conf.d/51cache"
find "${ROOTFS_DIR}/var/lib/apt/lists/" -type f -delete
on_chroot << EOF
apt-get update
apt-get -y dist-upgrade
apt-get clean
EOF