From 39762a508008e1b9c6fe3f9ae3100f7fe076eb0e Mon Sep 17 00:00:00 2001 From: Gaston Gonzalez Date: Sun, 6 Oct 2024 08:48:53 -0700 Subject: [PATCH] Attempt to prevent apt source list from getting overwritten during ISO image build --- scripts/update-apt.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/update-apt.sh b/scripts/update-apt.sh index 606178e..679c41f 100755 --- a/scripts/update-apt.sh +++ b/scripts/update-apt.sh @@ -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