[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master f79cec2 3/3: Enable and apply stable and secu
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master f79cec2 3/3: Enable and apply stable and security upgrades in chroot |
Date: |
Fri, 6 Oct 2017 13:33:25 -0400 (EDT) |
branch: master
commit f79cec2b455693b9ccf81ce4a0116e88f7d6bf64
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Enable and apply stable and security upgrades in chroot
---
README.schroot | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/README.schroot b/README.schroot
index 476db4d..14a846d 100644
--- a/README.schroot
+++ b/README.schroot
@@ -245,6 +245,20 @@ set history=1000
set virtualedit=all
EOF
+# Enable stable and security upgrades:
+
+cat >/etc/apt/sources.list <<\EOF
+deb http://deb.debian.org/debian/ stretch main
+deb http://deb.debian.org/debian/ stretch-updates main
+deb http://security.debian.org/ stretch/updates main
+EOF
+
+# Apply any available upgrades:
+
+apt-get update
+apt-get upgrade
+apt-get dist-upgrade
+
# Exit from the root shell in the chroot.
exit