You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

10 lines
195 B

  1. #!/bin/bash -e
  2. rm -f "${ROOTFS_DIR}/etc/apt/apt.conf.d/51cache"
  3. find "${ROOTFS_DIR}/var/lib/apt/lists/" -type f -delete
  4. on_chroot << EOF
  5. apt-get update
  6. apt-get -y dist-upgrade
  7. apt-get clean
  8. EOF