mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
Attempt to prevent apt source list from getting overwritten during ISO image build
This commit is contained in:
@@ -2,9 +2,12 @@
|
|||||||
#
|
#
|
||||||
# Author : Gaston Gonzalez
|
# Author : Gaston Gonzalez
|
||||||
# Date : 16 March 2024
|
# Date : 16 March 2024
|
||||||
|
# Updated : 6 October 2024
|
||||||
# Purpose : Updates the apt repository
|
# Purpose : Updates the apt repository
|
||||||
|
|
||||||
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
|
cp -v ../overlay/etc/apt/sources.list /etc/apt/sources.list
|
||||||
|
sudo chattr +i /etc/apt/sources.list
|
||||||
|
|
||||||
apt update
|
apt update
|
||||||
|
|||||||
Reference in New Issue
Block a user