Skip to content

Commit

Permalink
Improve apt update example per #4
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcclain committed Oct 16, 2020
1 parent 748b839 commit da63cfe
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions examples/apt_packages/firstboot.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#!/bin/bash

# update apt cache
apt-get update
# update apt cache, ingore "Release file... is not valid yet." error
apt-get update -o Acquire::Check-Valid-Until=false -o Acquire::Check-Date=false

# install git client and streamer, a camera capture tool
apt-get install -y git streamer



0 comments on commit da63cfe

Please sign in to comment.