Restored custom apt sources after image build

This commit is contained in:
Gaston Gonzalez
2024-10-06 17:55:47 -07:00
parent 917e1c466a
commit cfef10f362
2 changed files with 29 additions and 4 deletions
+4 -4
View File
@@ -3,11 +3,11 @@
# Author : Gaston Gonzalez
# Date : 16 March 2024
# Updated : 6 October 2024
# Purpose : Updates the apt repository
# Purpose : Updates the apt repository to use the old-releases
et-log "Updating apt to use the old repository"
et-log "Updating apt to use the old repository..."
cp -v ../overlay/etc/apt/sources.list /etc/apt/sources.list
sudo chattr +i /etc/apt/sources.list
cp -v ../overlay/etc/apt/sources.list /etc/apt/
cp -v ../overlay/etc/crontab /etc/
apt update