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.
This commit is contained in:
@@ -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 "############################"
|
||||
|
||||
Reference in New Issue
Block a user