mirror of
https://github.com/femtofox/femtofox.git
synced 2026-11-26 09:56:32 -05:00
Optimize APT for performance
This has a very noticeable performance boost on the Building dependency tree portion of APT
This commit is contained in:
parent
8e4cb6e0a3
commit
34817394df
1 changed files with 6 additions and 0 deletions
|
|
@ -85,6 +85,12 @@ systemctl disable sound.target
|
|||
systemctl disable veritysetup.target
|
||||
systemctl disable systemd-pstore.service
|
||||
|
||||
echo "Optimzing APT..."
|
||||
echo 'APT::Cache-Start 25165824;' | sudo tee /etc/apt/apt.conf.d/99lowmem
|
||||
echo 'Acquire::Languages "none";' | sudo tee /etc/apt/apt.conf.d/99disable-translations
|
||||
echo 'APT::Install-Recommends "false"; APT::Install-Suggests "false";' | sudo tee /etc/apt/apt.conf.d/99norecommends
|
||||
sudo dpkg --clear-avail
|
||||
|
||||
echo "Adding femto and pico users/groups..."
|
||||
groupmod -n femto pico
|
||||
usermod -l femto pico
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue