From 3b968afff5eb0ff32748793a1c961e59c74a096f Mon Sep 17 00:00:00 2001 From: Celestia Ludenberg Date: Thu, 11 Jun 2026 18:25:36 +0200 Subject: [PATCH] Fix os-release conflict: remove from airootfs, write in run_before_squashfs instead airootfs/usr/lib/os-release conflicts with filesystem package (owns /usr/lib/os-release). Moved os-release creation to run_before_squashfs.sh so it's written after packages install. --- airootfs/usr/lib/os-release | 10 ---------- run_before_squashfs.sh | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 10 deletions(-) delete mode 100644 airootfs/usr/lib/os-release diff --git a/airootfs/usr/lib/os-release b/airootfs/usr/lib/os-release deleted file mode 100644 index 395bab3..0000000 --- a/airootfs/usr/lib/os-release +++ /dev/null @@ -1,10 +0,0 @@ -NAME="Antergos NeXT" -PRETTY_NAME="Antergos NeXT" -ID=antergos -ID_LIKE="arch" -BUILD_ID=rolling -VERSION_ID="rolling" -HOME_URL="https://github.com/Antergos-NeXT" -SUPPORT_URL="https://github.com/Antergos-NeXT" -BUG_REPORT_URL="https://github.com/Antergos-NeXT/issues" -LOGO=antergos-icon diff --git a/run_before_squashfs.sh b/run_before_squashfs.sh index 7f3e216..a072392 100755 --- a/run_before_squashfs.sh +++ b/run_before_squashfs.sh @@ -172,6 +172,20 @@ rm -rf "/var/cache/pacman/pkg/" echo "---> remove ranked mirrorlist, used for fetching offline packages replacing it with original from package --->" mv "/etc/pacman.d/mirrorlist-from-package" "/etc/pacman.d/mirrorlist" +echo "---> Set Antergos NeXT os-release --->" +cat > "/usr/lib/os-release" << 'OSEOF' +NAME="Antergos NeXT" +PRETTY_NAME="Antergos NeXT" +ID=antergos +ID_LIKE="arch" +BUILD_ID=rolling +VERSION_ID="rolling" +HOME_URL="https://github.com/Antergos-NeXT" +SUPPORT_URL="https://github.com/Antergos-NeXT" +BUG_REPORT_URL="https://github.com/Antergos-NeXT/issues" +LOGO=antergos-icon +OSEOF + echo "############################" echo "# end chrooted commandlist #" echo "############################"