diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-05-23 12:42:16 +0200 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-05-23 12:42:16 +0200 |
commit | ca1a31dec68ea3c79a1024bd176918f4966cc7eb (patch) | |
tree | 8aa8733da744fc96757d13383661d6fb7fe498bf /scripts/build/bootstrap_archives | |
parent | 50794b1de1b0211ee4c040a83bba9a5f3148d066 (diff) | |
download | vyos-live-build-ca1a31dec68ea3c79a1024bd176918f4966cc7eb.tar.gz vyos-live-build-ca1a31dec68ea3c79a1024bd176918f4966cc7eb.zip |
Installing apt and dpkg updates (if any) first in derivatives mode, then doing dist-upgrade.
Diffstat (limited to 'scripts/build/bootstrap_archives')
-rwxr-xr-x | scripts/build/bootstrap_archives | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/build/bootstrap_archives b/scripts/build/bootstrap_archives index 2bc127b35..f7bf7d8c4 100755 --- a/scripts/build/bootstrap_archives +++ b/scripts/build/bootstrap_archives @@ -264,6 +264,12 @@ fi rm -rf chroot/var/cache/apt/*.bin Apt chroot update + +if [ "${LB_DERIVATIVE}" = "true" ] +then + Apt chroot install apt dpkg +fi + Apt chroot "upgrade" Apt chroot "dist-upgrade" |