[DRE-commits] [pkg-ruby-extras] 01/01: add commands for lxc update
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Mon Nov 28 11:28:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository pkg-ruby-extras.
commit 43e1cffe91969723b7bfa509274120530f768446
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Mon Nov 28 16:58:32 2016 +0530
add commands for lxc update
---
update | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/update b/update
index 6852db3..7a67ca9 100755
--- a/update
+++ b/update
@@ -1,7 +1,14 @@
#!/bin/sh
chrootname=unstable-$(dpkg --print-architecture)-sbuild
chroot=/srv/chroots/$chrootname
+container=adt-sid-$(dpkg --print-architecture)
+
+# Update chroot
sudo chroot $chroot apt-get update
sudo chroot $chroot apt-get dist-upgrade
-#TODO: update lxc container
+# TODO: Update lxc container
+#sudo lxc-start -n $container
+#sudo lxc-attach -n $container apt-get update # This fails
+#sudo lxc-attach -n $container apt-get dist-upgrade
+#sudo lxc-attach -n $container poweroff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/pkg-ruby-extras.git
More information about the Pkg-ruby-extras-commits
mailing list