Getting tox key
This commit is contained in:
parent
eb7b01f450
commit
5b839528c2
|
@ -688,9 +688,14 @@ function enable_tox_repo {
|
||||||
echo 'deb http://download.opensuse.org/repositories/home:/antonbatenev:/tox/Debian_8.0/ /' > $rootdir/etc/apt/sources.list.d/tox.list
|
echo 'deb http://download.opensuse.org/repositories/home:/antonbatenev:/tox/Debian_8.0/ /' > $rootdir/etc/apt/sources.list.d/tox.list
|
||||||
|
|
||||||
|
|
||||||
chroot "$rootdir" /usr/bin/wget -q http://download.opensuse.org/repositories/home:antonbatenev:tox/Debian_8.0/Release.key -O- > /root/tox.key
|
cat >> $rootdir/root/gettoxkey.sh <<EOF
|
||||||
chroot "$rootdir" apt-key add /root/tox.key
|
#!/bin/bash
|
||||||
chroot "$rootdir" rm /root/tox.key
|
wget -q http://download.opensuse.org/repositories/home:antonbatenev:tox/Debian_8.0/Release.key -O- > /root/tox.key
|
||||||
|
apt-key add /root/tox.key
|
||||||
|
rm /root/tox.key
|
||||||
|
EOF
|
||||||
|
chroot "$rootdir" chmod +x /root/gettoxkey.sh
|
||||||
|
chroot "$rootdir" /root/gettoxkey.sh
|
||||||
chroot "$rootdir" apt-get update
|
chroot "$rootdir" apt-get update
|
||||||
echo "Tox Repository Installed."
|
echo "Tox Repository Installed."
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue