Elminate redundant update in make-root-fs-readonly

This commit is contained in:
cimryan
2018-11-03 18:38:58 -07:00
parent 06687c3549
commit 7b31410802

View File

@@ -7,8 +7,6 @@ function append_cmdline_txt_param() {
sed -i "s/\'/ ${toAppend}/g" /boot/cmdline.txt >/dev/null
}
echo "Updating package index files..."
apt-get update
echo "Removing unwanted packages..."
apt-get remove -y --force-yes --purge triggerhappy logrotate dphys-swapfile
apt-get -y --force-yes autoremove --purge