File: post_chroot_unpack_key_setup

package info (click to toggle)
piuparts 0.62
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 1,692 kB
  • sloc: python: 6,823; sh: 2,194; makefile: 126
file content (9 lines) | stat: -rwxr-xr-x 353 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# we rely on wget being available, make sure to use "--include=wget" in your deboostrap cmdline
echo "Setting up https://example.com/internal_key.asc for apt-get usage."
wget -O - 'https://example.com/internal_key.asc' | apt-key add -

echo "Running apt-get update to have a verified and working Debian repository available."
apt-get update