Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
image-builder
Commits
d6af67a6
Commit
d6af67a6
authored
Feb 12, 2021
by
Guido Gunther
Browse files
root.sh: Run `clean` before `dist-upgrade`
This makes sure we don't need even more space for downloaded packages.
parent
ecb4bbc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
root.sh
View file @
d6af67a6
...
...
@@ -318,6 +318,7 @@ function install_pkgs()
# shellcheck disable=SC2086
chroot
"
${
basedir
}
"
apt
-y
-o
Debug::pkgProblemResolver
=
yes install
-y
--simulate
${
packages
}
fi
chroot
"
${
basedir
}
"
apt-get clean
# Get the updates from additional repositories
chroot
"
${
basedir
}
"
apt-get
-y
dist-upgrade
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment