Attempt to prevent apt source list from getting overwritten during ISO image build

This commit is contained in:
Gaston Gonzalez
2024-10-06 08:48:53 -07:00
parent a22f8f843d
commit 39762a5080
+3
View File
@@ -2,9 +2,12 @@
#
# Author : Gaston Gonzalez
# Date : 16 March 2024
# Updated : 6 October 2024
# Purpose : Updates the apt 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
apt update