summaryrefslogtreecommitdiff
path: root/data/live-build-config/hooks/live/07-apt.chroot
diff options
context:
space:
mode:
Diffstat (limited to 'data/live-build-config/hooks/live/07-apt.chroot')
-rwxr-xr-xdata/live-build-config/hooks/live/07-apt.chroot8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/live-build-config/hooks/live/07-apt.chroot b/data/live-build-config/hooks/live/07-apt.chroot
new file mode 100755
index 0000000..8db33a7
--- /dev/null
+++ b/data/live-build-config/hooks/live/07-apt.chroot
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ -e /cdrom/vyatta-pubkey.gpg ] ; then
+ apt-key add /cdrom/vyatta-pubkey.gpg
+elif [ -e /vyatta-pubkey.gpg ] ; then
+ apt-key add /vyatta-pubkey.gpg
+ rm -f /vyatta-pubkey.gpg
+fi