mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Elminate redundant update in make-root-fs-readonly
This commit is contained in:
@@ -7,8 +7,6 @@ function append_cmdline_txt_param() {
|
|||||||
sed -i "s/\'/ ${toAppend}/g" /boot/cmdline.txt >/dev/null
|
sed -i "s/\'/ ${toAppend}/g" /boot/cmdline.txt >/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "Updating package index files..."
|
|
||||||
apt-get update
|
|
||||||
echo "Removing unwanted packages..."
|
echo "Removing unwanted packages..."
|
||||||
apt-get remove -y --force-yes --purge triggerhappy logrotate dphys-swapfile
|
apt-get remove -y --force-yes --purge triggerhappy logrotate dphys-swapfile
|
||||||
apt-get -y --force-yes autoremove --purge
|
apt-get -y --force-yes autoremove --purge
|
||||||
|
|||||||
Reference in New Issue
Block a user